Function at 0x4dadd0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb4
push esi
push edi
xor edi, edi
push str.PaintRows
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x1c], edi
call fcn.004e4630
mov esi, dword [esp + 0xc4]
mov eax, dword [esi + 0x490]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x4b48]
add esp, 4
cmp eax, 2
mov dword [esp + 0xb0], eax
jne 0x4dae54
cmp dword [esi + 0x587c], edi
je 0x4dae54
mov ecx, dword [esi + 0x4b3c]
cmp ecx, dword [esi + 0x4b40]
jne 0x4dae54
mov edx, dword [esi + 0x4b50]
sub edx, 1
cmp dword [esi + 0x4b4c], edx
jne 0x4dae54
mov dword [esi + 0x4b48], edi
cmp dword [esp + 0xc8], edi
jge 0x4dae64
mov dword [esp + 0xc8], edi
mov eax, dword [esi + 0x708]
mov ecx, dword [esi + 0x704]
imul eax, eax, 0xb4
add eax, ecx
push ebx
mov ebx, dword [eax + 0x20]
push ebp
mov ebp, dword [eax + 0x1c]
mov dword [esi + 0xac8], ebx
mov ecx, dword [eax + 0x34]
add ecx, ebp
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x38]
add ecx, ebx
mov dword [esp + 0x6c], ecx
mov edi, dword [eax + 8]
cmp edi, dword [esi + 0x5e4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0xa0], edi
jge 0x4daee0
push 0x20
push edi
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x4daee0
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
imul edx, edx, 0xb4
cmp edi, dword [edx + eax + 4]
jle 0x4daee0
sub edi, 1
mov dword [esp + 0xa0], edi
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x70]
mov dword [esi + 0xac0], ecx
mov edx, dword [eax + 0x6c]
mov dword [esi + 0xac4], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0xacc], ecx
xor ecx, ecx
mov dword [esi + 0x5a4], ecx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 0x8c]
and edx, 0x10
cmp dword [esi + 0xa154], ecx
mov dword [esp + 0x70], ebp
mov dword [esi + 0x578], edx
je 0x4daf4a
mov dword [esi + 0x578], 1
test byte [esi + 0xa160], 0x20
je 0x4daf5d
mov dword [esi + 0x578], 1
cmp dword [esi + 0x498], 2
mov dword [esi + 0x4b60], ecx
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x5c], eax
je 0x4daf92
mov edx, dword [esi + 0x748]
mov dword [edx + eax*4], ebx
cmp dword [esi + 0x1c], ecx
jne 0x4daf92
mov edx, dword [esi + 0x748]
lea eax, [edx + eax*4]
mov edx, dword [esi + 0x544]
sub dword [eax], edx
mov eax, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul eax, eax, 0xb4
add eax, edx
cmp dword [eax + 0x34], ecx
je 0x4dafb0
cmp dword [eax + 0x38], ecx
jne 0x4daff0
cmp dword [eax + 4], edi
jne 0x4dccf4
cmp edi, ecx
jl 0x4dccf4
cmp edi, dword [esi + 0x5e4]
jge 0x4dccf4
mov eax, dword [esi + 0x138]
mov edx, dword [eax + edi*4]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x2b38]
imul eax, eax, 0x58
test dword [eax + edx + 0x18], 0x3000
je 0x4dccf4
cmp dword [esi + 0x4b48], ecx
je 0x4db0fe
mov ecx, dword [esi + 0x4b40]
mov eax, dword [esi + 0x4b3c]
mov edx, dword [esi + 0x4b4c]
push 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4b50]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x5c]
push ecx
push esi
call fcn.00516240
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp dword [esi + 0x4b48], 2
jne 0x4db092
cmp ecx, eax
jle 0x4db078
mov edi, dword [esp + 0x48]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edx
jmp 0x4db080
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
cmp ecx, eax
jne 0x4db0b8
cmp edx, edi
jle 0x4db0b8
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], edi
jmp 0x4db0b8
cmp ecx, eax
jle 0x4db0a4
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
cmp edi, edx
jle 0x4db0b8
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edx
push eax
push ecx
push esi
call fcn.00513300
mov edx, dword [esp + 0x58]
push edx
mov edi, eax
push edi
push esi
call fcn.00513250
mov ebx, eax
mov eax, dword [esp + 0x6c]
push eax
push edi
push esi
call fcn.00513250
push esi
mov edi, eax
call fcn.00514b20
add esp, 0x28
cmp ebx, edi
mov dword [esp + 0x8c], eax
jne 0x4db0fe
test ebx, ebx
jle 0x4db0fe
mov dword [esp + 0x7c], 1
mov eax, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
mov ecx, eax
imul ecx, ecx, 0xb4
add ecx, edx
cmp dword [ecx], 0
mov edi, 1
jne 0x4db122
mov edi, dword [esp + 0x20]
cmp dword [esi + 0x498], 4
jl 0x4db141
cmp dword [ecx + 0x70], 0
jle 0x4db141
neg eax
push eax
push esi
call fcn.004ac160
add esp, 8
test eax, eax
jne 0x4db149
test edi, edi
je 0x4db2f8
mov ecx, dword [esi + 0x708]
mov eax, dword [esi + 0xad4]
imul ecx, ecx, 0xb4
mov edx, dword [esi + 0x704]
mov ebx, dword [ecx + edx + 0x70]
mov dword [esp + 0x20], eax
lea eax, [ecx + edx]
mov ecx, dword [esi + 0x588c]
mov edi, ebx
imul edi, edi, 0x84
mov ecx, dword [edi + ecx + 0x34]
xor ebp, ebp
test dword [eax + 0x8c], 0x1e0
je 0x4db1a2
cmp dword [esi + 0xa154], ebp
je 0x4db19d
test byte [esi + 0xa160], 0x10
jne 0x4db1a2
mov ebp, 1
test ebx, ebx
jle 0x4db1e7
test byte [eax + 0x90], 1
je 0x4db1e7
cmp dword [esi + 0x4b48], 0
je 0x4db1e7
cmp dword [esp + 0x7c], 0
jne 0x4db1e7
cmp ecx, dword [esi + 0x4b3c]
jl 0x4db1e7
cmp ecx, dword [esi + 0x4b40]
jg 0x4db1e7
push ecx
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4db1e7
mov dword [esi + 0x4b60], 1
test ebp, ebp
je 0x4db1f9
mov edx, dword [esi + 0x4b18]
mov dword [esi + 0xad4], edx
jmp 0x4db20e
mov eax, dword [esp + 0xcc]
push 0
push 0x54
push eax
push esi
call fcn.00501b50
add esp, 0x10
test byte [esi + 0xa160], 0x20
je 0x4db23a
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
test dword [ecx + edx + 0x8c], 0x1e0
je 0x4db2c4
test ebx, ebx
jle 0x4db288
mov eax, dword [esi + 0x588c]
cmp dword [edi + eax + 0x6c], 0
jle 0x4db288
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x14]
xor edx, edx
cmp dword [esi + 0x578], edx
sete dl
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0xe0]
push ecx
jmp 0x4db2bb
mov edx, dword [esi + 0x748]
mov eax, dword [esp + 0x5c]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [esi + 0x578], ecx
sete cl
sub edx, eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [esp + 0xdc]
push edx
push eax
push esi
call fcn.00502770
add esp, 0x1c
test ebp, ebp
je 0x4db2d2
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xad4], ecx
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
imul edx, edx, 0xb4
mov dword [esi + 0x4b60], 0
cmp dword [edx + eax], 0
jne 0x4dccf4
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
mov ecx, edx
imul ecx, ecx, 0xb4
add ecx, eax
mov eax, dword [ecx + 0x88]
test eax, eax
jle 0x4db330
mov ecx, dword [esi + 0x72c]
imul eax, eax, 0x98
mov eax, dword [eax + ecx + 0x54]
mov dword [esi + 0x5a4], eax
jmp 0x4db34d
mov ecx, dword [ecx + 0x70]
test ecx, ecx
jle 0x4db34d
mov eax, dword [esi + 0x588c]
imul ecx, ecx, 0x84
mov ecx, dword [ecx + eax + 0x6c]
mov dword [esi + 0x5a4], ecx
cmp dword [esi + 0x5a4], 0
jle 0x4db383
cmp dword [0x621ab8], 0
je 0x4db371
push edx
mov edx, dword [esp + 0xd0]
push edx
push esi
call fcn.004fca90
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004e0910
add esp, 8
mov eax, dword [esp + 0xd0]
cmp eax, dword [esp + 0xd4]
mov dword [esp + 0x44], eax
jg 0x4dcbde
jmp 0x4db3a0
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
imul edx, edx, 0xb4
mov edi, dword [edx + eax + 0xc]
mov ebx, dword [esp + 0x44]
add edi, ebx
xor ebp, ebp
cmp dword [esi + 0x1c], ebp
mov dword [esp + 0x10], edi
je 0x4db41f
cmp edi, dword [esi + 0x5e4]
jge 0x4db41f
push edi
push esi
call fcn.005132c0
add esp, 8
cmp eax, dword [esp + 0xb4]
je 0x4db41f
mov edi, dword [esp + 0x5c]
lea eax, [ebx + edi + 1]
cmp eax, dword [esi + 0x5c8]
jl 0x4db3fc
push eax
push esi
call fcn.004e2c20
add esp, 8
mov ecx, dword [esi + 0x748]
lea eax, [ebx + edi]
add eax, eax
add eax, eax
mov edx, dword [ecx + eax]
add ecx, eax
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x74c]
mov dword [eax + ecx], ebp
jmp 0x4dca86
cmp edi, ebp
mov dword [esp + 0x3c], ebp
mov dword [esi + 0xaac], ebp
mov dword [esi + 0x2bfc], ebp
mov dword [esi + 0x2bf8], ebp
mov dword [esi + 0xaa8], ebp
mov dword [esi + 0x4b24], 0x10101
mov dword [esi + 0x57c], ebp
mov dword [esi + 0x3424], ebp
mov dword [esi + 0x3420], ebp
mov dword [esi + 0x342c], ebp
mov dword [esi + 0x3428], ebp
mov dword [esi + 0xabc], ebp
mov dword [esi + 0xab8], ebp
mov dword [esi + 0xa148], ebp
mov dword [esi + 0xa144], ebp
mov dword [esi + 0xa140], ebp
mov dword [esi + 0xa14c], ebp
jl 0x4db4a9
cmp edi, dword [esi + 0x5e4]
jge 0x4db4a9
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
test byte [eax + 0x3c], 0x20
je 0x4db4a9
mov eax, 1
jmp 0x4db4ab
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x6a8], eax
mov dword [esi + 0x6fc], ebp
mov dword [esi + 0x6f8], ebp
jne 0x4db4cd
cmp dword [esi + 0x5a4], ebp
mov dword [esp + 0x74], ebp
jle 0x4db4d5
mov dword [esp + 0x74], 1
mov ecx, dword [esi + 0x5e4]
cmp edi, ecx
jge 0x4db4f3
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
mov edx, dword [eax + 0x14]
mov dword [esi + 0x2b44], edx
jmp 0x4db4f9
mov dword [esi + 0x2b44], ebp
cmp edi, dword [esp + 0xa0]
mov eax, 0xffffff
mov byte [esi + 0xad0], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x34], eax
mov dword [esi + 0xad8], eax
mov dword [esi + 0xadc], 0x14
jg 0x4dcb46
cmp edi, ecx
jge 0x4dcb46
cmp dword [esi + 0x18], ebp
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x58], edx
jne 0x4db56d
push 0x1000
push edi
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x4db56d
push ebp
push edi
push esi
call fcn.00536860
add esp, 0xc
cmp edi, dword [esi + 0x5e4]
jge 0x4db57f
push edi
push esi
call fcn.004abca0
add esp, 8
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
lea eax, [eax + ebx + 1]
cmp eax, dword [esi + 0x5c8]
jl 0x4db59d
push eax
push esi
call fcn.004e2c20
add esp, 8
mov ecx, dword [esp + 0x44]
push ebp
add ebx, ecx
lea edx, [esp + 0x7c]
push edx
add ebx, ebx
push edi
add ebx, ebx
push esi
mov dword [esp + 0x2c], ebx
call fcn.004f7af0
mov ecx, dword [esi + 0x74c]
add esp, 0x10
mov dword [ebx + ecx], eax
cmp dword [esi + 0x1c], ebp
je 0x4db5e0
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x18], ebp
jne 0x4db5e0
mov ecx, dword [esi + 0x74c]
mov dword [ebx + ecx], ebp
cmp dword [esi + 0x14], ebp
mov edx, dword [esi + 0x74c]
mov eax, dword [ebx + edx]
mov dword [esi + 0x584], eax
je 0x4db954
mov ecx, dword [esi + 0x708]
mov ebp, dword [esp + 0x58]
imul ecx, ecx, 0xb4
mov edx, dword [esi + 0x704]
imul ebp, ebp, 0x58
mov eax, dword [ecx + edx + 0x7c]
mov ecx, dword [esi + 0x2b38]
add eax, dword [ecx + ebp]
mov edx, dword [esi + 0x754]
mov dword [ebx + edx], eax
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + edi*4]
test byte [edx + 0x38], 4
mov dword [esp + 0x70], eax
je 0x4db663
mov eax, dword [esi + 0x754]
push 1
add ebx, eax
lea eax, [esi + 0xa148]
push eax
lea ecx, [esp + 0xa0]
push ecx
push edi
push esi
call fcn.004c2000
add esp, 0x14
add dword [ebx], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esi + 0x2b38]
lea ecx, [edx + ebp]
mov edx, dword [ecx + 8]
test edx, edx
jge 0x4db675
add eax, edx
add eax, dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
test ecx, 0x100f0
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], ecx
je 0x4db6a5
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
cmp dword [ecx + 0x30], 0
jne 0x4db6a5
push edi
push esi
call fcn.004f7600
add esp, 8
mov eax, dword [esi + 0x500]
mov edx, dword [esi + 0x2b38]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x5a0
push eax
push 0x32
lea edi, [edx + ebp]
call ebx
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
mov ecx, dword [ecx + edx + 0x7c]
add ecx, dword [edi]
add ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esi + 0x2bf8], ecx
mov edi, dword [edi + 8]
test edi, edi
jge 0x4db6f7
add ecx, edi
mov dword [esi + 0x2bf8], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2b38]
push 0xffffffffffffffff
push ecx
push esi
lea edi, [eax + ebp]
call fcn.004f8120
mov edx, dword [esi + 0x500]
add esp, 0xc
push 0x5a0
push edx
push 0x32
mov dword [esp + 0x2c], eax
call ebx
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
mov ecx, dword [ecx + edx + 0x7c]
add eax, dword [esp + 0x28]
sub ecx, dword [edi + 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
add eax, edx
mov edx, dword [esi + 0x138]
add ecx, eax
lea eax, [edx + ebx*4]
mov dword [esi + 0x2bfc], ecx
mov ecx, dword [eax]
test dword [ecx + 0x38], 0x400000
mov edx, 1
je 0x4db772
mov dword [esi + 0xab8], edx
mov ecx, dword [eax]
test dword [ecx + 0x38], 0x800000
je 0x4db783
mov dword [esi + 0xabc], edx
cmp dword [esi + 0x1c], 0
mov ecx, dword [edi + 0x48]
mov dword [esi + 0xadc], ecx
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x4b24], ecx
jne 0x4db7b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4db7b0
test byte [ecx], 0x10
je 0x4db7b0
or dword [esi + 0xaa8], 2
mov ecx, dword [edi + 0x28]
test ecx, ecx
mov edi, dword [edi + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edi
ja 0x4db7d2
cmp edi, 0xffffff
mov dword [esp + 0x64], 0
je 0x4db7d6
mov dword [esp + 0x64], edx
xor ecx, ecx
cmp dword [esi + 0x6a8], ecx
je 0x4db80a
mov eax, dword [eax]
test dword [eax + 0x3c], 0x100
je 0x4db80a
mov eax, dword [esp + 0x14]
test eax, 0x802
mov ecx, edx
je 0x4db7fa
xor ecx, ecx
test dword [esi + 0xa170], 0x40000000
je 0x4db814
xor ecx, ecx
jmp 0x4db814
mov eax, dword [esp + 0x14]
test al, 2
je 0x4db814
mov ecx, edx
test al, 1
jne 0x4db820
test ecx, ecx
je 0x4db902
push 0x400
push ebx
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
jne 0x4db84c
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
test dword [edx + 0x38], 0x20000000
jne 0x4db84c
mov eax, 1
jmp 0x4db84e
xor eax, eax
test eax, eax
mov dword [esp + 0x14], 0
jne 0x4db87f
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4db902
cmp dword [eax + 0x6c], 0
jne 0x4db902
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
push 1
push 0
push eax
push esi
call fcn.004f9940
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
mov edi, dword [ecx + edx + 0x7c]
mov ecx, dword [esi + 0x754]
mov ebx, dword [esp + 0x2c]
sub edi, dword [ebx + ecx]
mov edx, dword [esi + 0x2b38]
sub edi, dword [edx + ebp + 4]
push 0xffffffffffffffff
sub edi, dword [esp + 0x28]
sub edi, eax
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.004f8120
add eax, edi
add esp, 0x1c
test eax, eax
jle 0x4db906
mov ecx, dword [esi + 0x2b38]
test byte [ecx + ebp + 0x18], 1
je 0x4db8f6
mov edx, dword [esi + 0x754]
lea ecx, [ebx + edx]
cdq
sub eax, edx
sar eax, 1
add dword [ecx], eax
jmp 0x4db906
mov ecx, dword [esi + 0x754]
add ecx, ebx
add dword [ecx], eax
jmp 0x4db906
mov ebx, dword [esp + 0x1c]
cmp dword [esi + 0x1c], 0
je 0x4db95d
mov edx, dword [esi + 0x138]
mov eax, dword [esp + 0x10]
mov eax, dword [edx + eax*4]
test dword [eax + 0x38], 0x20000000
je 0x4db95d
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4db95d
cmp dword [eax + 4], 0
jle 0x4db95d
mov ecx, dword [esi + 0x754]
mov edx, dword [esi + 0x510]
push edx
mov edx, dword [eax + 8]
lea edi, [ebx + ecx]
mov ecx, dword [esi + 0x500]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [edi], eax
jmp 0x4db95d
mov eax, dword [esi + 0x754]
mov dword [ebx + eax], ebp
mov ecx, dword [esp + 0x10]
push 1
push ecx
push esi
call fcn.004b0d80
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x4db9e0
mov edx, dword [esp + 0xcc]
mov ebp, dword [esi + 0xaa8]
push 0
push 0x54
push edx
push esi
mov dword [esi + 0xaa8], 0
call fcn.00501b50
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x748]
xor eax, eax
cmp dword [esi + 0x578], eax
sete al
push eax
mov eax, dword [ebx + edx]
mov edx, dword [esp + 0xe0]
push edi
push ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
push edx
push esi
call fcn.00502770
add esp, 0x2c
cmp dword [esi + 0x498], 2
je 0x4db9da
mov eax, dword [esi + 0x748]
add eax, ebx
add dword [eax], edi
mov dword [esi + 0xaa8], ebp
mov ecx, dword [esi + 0x74c]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + ecx]
push 1
lea eax, [esi + 0x342c]
push eax
lea eax, [esi + 0x3428]
push eax
mov eax, dword [esp + 0x1c]
lea ebx, [esi + 0x3424]
push ebx
lea ebp, [esi + 0x3420]
push ebp
push edx
push eax
push esi
call fcn.004f98b0
mov ecx, dword [esi + 0x748]
mov edx, dword [esi + 0x74c]
lea eax, [edi + ecx]
mov ecx, dword [edi + edx]
add ecx, dword [eax]
add esp, 0x20
mov dword [eax + 4], ecx
mov ecx, dword [ebx]
mov edx, dword [esi + 0x748]
add ecx, dword [ebp]
lea eax, [edi + edx + 4]
add dword [eax], ecx
cmp dword [esi + 0x1c], 0
je 0x4dbad3
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
push esi
call fcn.004faa60
push 1
mov edi, eax
mov eax, dword [esp + 0x24]
push 0
push eax
push esi
call fcn.004faa60
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x750]
sub eax, edi
mov dword [edx + ecx], eax
mov eax, dword [esi + 0x748]
mov ecx, dword [eax + edx]
add eax, edx
add ecx, edi
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x748]
mov ebp, dword [ebp]
mov edi, dword [ebx]
lea ecx, [edx + eax]
mov eax, dword [esi + 0x74c]
add edx, eax
mov eax, dword [ecx + 4]
sub eax, dword [edx]
add esp, 0x20
sub eax, dword [ecx]
sub eax, ebp
sub eax, edi
cmp eax, 0xffffffff
mov dword [esi + 0x57c], eax
jge 0x4dbac4
mov dword [esi + 0x57c], 0xffffffff
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sub eax, ebp
sub eax, edi
mov edi, dword [esp + 0x1c]
mov dword [edx], eax
mov ecx, dword [esi + 0x748]
mov edx, dword [esi + 0x4b8]
add edx, dword [esi + 0x4c0]
mov ebp, dword [esp + 0x6c]
lea eax, [edi + ecx]
mov ecx, dword [eax + 4]
cmp ecx, edx
mov dword [esp + 0x20], eax
jle 0x4dbb3f
cmp dword [esp + 0x44], 0
je 0x4dbb3f
cmp dword [esi + 0x5a4], 0
jne 0x4dbb3f
mov edi, ebp
sub edi, dword [eax]
mov eax, dword [esi + 0x504]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp edi, eax
jle 0x4dcaa3
cmp dword [esp + 0x90], 0
jne 0x4dcaa3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], 1
cmp dword [esi + 0x1c], 0
je 0x4dbb7b
mov edx, dword [esi + 0x708]
mov edi, dword [esi + 0x704]
imul edx, edx, 0xb4
cmp dword [edx + edi + 0x2c], 0xffffffff
je 0x4dbb7b
mov edx, ecx
sub edx, dword [ebx]
cmp edx, ebp
jle 0x4dbb7b
cmp dword [esi + 0x5a4], 0
jne 0x4dbb7b
mov edx, dword [esp + 0x44]
test edx, edx
jg 0x4dcb35
test byte [esi + 0xa160], 0x20
mov ebx, dword [esp + 0x10]
je 0x4dbbb4
cmp dword [esi + 0x498], 4
je 0x4dbbb4
mov eax, dword [eax]
mov edx, dword [esp + 0x28]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0xdc]
push edx
push eax
push esi
call fcn.00502770
add esp, 0x1c
mov ecx, dword [esi + 0x748]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x498]
cmp eax, 2
mov ecx, dword [edx + ecx]
mov dword [esp + 0x50], ecx
je 0x4dbbeb
cmp eax, 3
je 0x4dbbeb
mov eax, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul eax, eax, 0xb4
mov dword [eax + edx + 0x10], ebx
cmp dword [esi + 0x5d8], ebx
jne 0x4dbbff
sub ecx, dword [esi + 0x4c0]
mov dword [esi + 0x518], ecx
cmp dword [esi + 0x14], 0
je 0x4dbc63
cmp dword [esi + 0x18], 0
je 0x4dbc63
cmp dword [esi + 0x1c], 0
jne 0x4dbc63
mov edx, dword [esi + 0x39e8]
xor ecx, ecx
test edx, edx
jle 0x4dbc40
mov eax, dword [esi + 0x3a10]
mov edi, dword [eax]
sub edi, 1
cmp edi, ebx
jne 0x4dbc32
test byte [eax + 0x28], 1
je 0x4dbc40
add ecx, 1
add eax, 0x48
cmp ecx, dword [esi + 0x39e8]
jl 0x4dbc23
cmp ecx, edx
jge 0x4dbc63
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4dbc59
test byte [eax], 6
jne 0x4dbc63
mov dword [esi + 0xaa8], 2
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4dbc9d
test dword [eax], 0x1000
je 0x4dbc9d
mov ecx, dword [esi + 0x708]
cmp ecx, dword [esi + 0x52c]
mov eax, dword [esi + 0x530]
jl 0x4dbc92
add eax, 1
push eax
push ebx
push esi
call fcn.00536860
add esp, 0xc
push esi
call fcn.0053b270
add esp, 4
test eax, eax
je 0x4dbcc3
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
test byte [eax + 0x3c], 1
jne 0x4dbcc3
push ebx
push esi
call fcn.0053bd30
add esp, 8
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + ebx*4]
mov ebp, dword [esi + 0x14]
test ebp, ebp
mov edx, dword [eax]
mov edi, dword [eax + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], edi
je 0x4dbd08
test edi, edi
jle 0x4dbd5a
cmp dword [esi + 0x9998], 0
je 0x4dbd08
test dword [eax + 0x38], 0x800
je 0x4dbd08
mov al, byte [edi + edx - 1]
sub edi, 1
mov dword [esp + 0x24], edi
mov byte [esp + 0x1b], al
test edi, edi
jle 0x4dbd5a
mov eax, dword [esi + 0x9998]
test eax, eax
je 0x4dbd2c
mov edx, dword [ecx]
xor ebx, ebx
cmp dword [edx + 0x38], ebx
sete bl
test ebx, 0x800
mov ebx, dword [esp + 0x10]
je 0x4dbd56
cmp dword [esi + 0x6a8], 0
jne 0x4dbd56
test eax, eax
jne 0x4dbd44
mov edx, dword [esp + 0x38]
cmp byte [edi + edx - 1], 0x15
je 0x4dbd4f
mov edx, dword [esp + 0x38]
cmp byte [edi + edx - 1], 0x20
jne 0x4dbd56
sub edi, 1
test edi, edi
jg 0x4dbd12
mov dword [esp + 0x24], edi
test ebp, ebp
mov ebp, 0xffff
jne 0x4dbd90
mov eax, dword [ecx]
cmp word [eax + 8], bp
jne 0x4dbd90
xor eax, eax
test edi, edi
jle 0x4dbd82
mov ecx, dword [esp + 0x38]
cmp byte [eax + ecx], 9
je 0x4dbd82
add eax, 1
cmp eax, edi
jl 0x4dbd75
cmp eax, edi
je 0x4dbd90
push ebx
push esi
call fcn.004abdc0
add esp, 8
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + ebx*4]
cmp word [eax + 8], bp
lea ecx, [ecx + ebx*4]
je 0x4dbdab
mov edx, dword [eax + 8]
mov dword [esi + 0xbdc], edx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dbdd4
test edi, edi
jle 0x4dbdd4
cmp dword [esi + 0x9998], 0
jne 0x4dbdd4
mov edx, dword [ecx]
test dword [edx + 0x38], 0x20000881
je 0x4dbdd4
mov dword [esi + 0xa14c], 1
test dword [esi + 0xa160], 0xc00000
jne 0x4dbdf3
cmp dword [esi + 0x6a4], 0
jne 0x4dbdf3
mov dword [esp + 0x14], 0
jmp 0x4dbe63
test eax, eax
mov dword [esp + 0x14], 1
je 0x4dbe63
test edi, edi
jle 0x4dbe63
cmp dword [esi + 0x9998], 0
je 0x4dbe63
mov eax, dword [ecx]
test dword [eax + 0x38], 0x881
je 0x4dbe63
cmp word [eax + 8], bp
je 0x4dbe59
xor eax, eax
test edi, edi
jle 0x4dbe4d
lea ecx, [esi + 0xbe4]
lea esp, [esp]
mov edx, dword [esi + 0x138]
mov edx, dword [edx + ebx*4]
mov edx, dword [edx + 8]
mov dx, word [edx + eax*2]
mov word [ecx], dx
add eax, 1
add ecx, 2
cmp eax, edi
jl 0x4dbe30
lea eax, [esi + 0xbe4]
mov dword [esi + 0xbdc], eax
mov dword [esi + 0xa14c], 1
cmp dword [esi + 0x6a8], 0
je 0x4dbe76
mov dword [esi + 0xa14c], 1
cmp dword [esi + 0xa14c], 0
je 0x4dbecd
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
cmp word [edx + 8], bp
jne 0x4dbec4
test edi, edi
jle 0x4dbeb8
lea eax, [esi + 0xbe4]
mov ecx, edi
lea ebx, [ebx]
mov edx, dword [esi + 0x138]
mov edx, dword [edx + ebx*4]
mov dx, word [edx + 0xa]
mov word [eax], dx
add eax, 2
sub ecx, 1
jne 0x4dbea0
lea eax, [esi + 0xbe4]
mov dword [esi + 0xbdc], eax
cmp dword [esi + 0xa14c], 0
jne 0x4dbee0
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
cmp word [edx + 8], bp
je 0x4dc063
test edi, edi
jle 0x4dbf53
mov ebx, dword [esp + 0x38]
mov edx, 0xffffe47a
lea eax, [esi + 0x1b86]
sub edx, esi
mov cl, byte [ebx]
cmp cl, 0x17
jne 0x4dbf01
mov byte [eax], 0x2d
jmp 0x4dbf46
cmp cl, 0xe
jne 0x4dbf0b
mov byte [eax], 0x20
jmp 0x4dbf46
cmp cl, 6
jne 0x4dbf31
cmp dword [esi + 0x9998], 0
je 0x4dbf1e
mov byte [eax], 0xac
jmp 0x4dbf46
add edi, 0xffffffff
lea ebp, [edx + eax]
cmp ebp, edi
mov edi, dword [esp + 0x24]
jne 0x4dbf44
mov byte [eax], 0x2d
jmp 0x4dbf46
cmp cl, 0x1c
jne 0x4dbf44
cmp dword [esi + 0x9998], 0
je 0x4dbf44
mov byte [eax], 0x95
jmp 0x4dbf46
mov byte [eax], cl
add eax, 1
lea ecx, [edx + eax]
add ebx, 1
cmp ecx, edi
jl 0x4dbef5
cmp dword [esp + 0x14], 0
lea eax, [esi + 0x1b86]
mov dword [esp + 0x38], eax
je 0x4dc063
cmp dword [esi + 0x9998], 0
je 0x4dc063
test edi, edi
jle 0x4dc063
mov cl, byte [edi + eax - 1]
cmp cl, byte [esi + 0xb50]
je 0x4dbf9a
cmp cl, byte [esi + 0x58b4]
je 0x4dbf9a
cmp cl, 0xf
jne 0x4dc063
mov edx, dword [esi + 0xbdc]
mov eax, dword [esp + 0x24]
movzx ebp, word [edx + eax*2 - 2]
mov eax, dword [esi + 0x3434]
mov edx, ebp
imul edx, edx, 0x170
lea edi, [eax + edx]
mov edx, dword [edi + 0x2c]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp cl, byte [esi + 0xb50]
mov ebx, str.Arial
jne 0x4dbfec
test dword [esi + 0xa160], 0x400000
je 0x4dbfec
mov ebx, str.Symbol
cmp cl, 0xf
jne 0x4dc00a
test dword [esi + 0xa160], 0x800000
je 0x4dc00a
cmp eax, 3
mov ebx, str.Symbol
jle 0x4dc00a
sub eax, 3
mov ecx, dword [edi + 0x58]
push ecx
push 0
push 1
push 0
push 0
mov edx, dword [edi + 0x38]
push 0
mov ecx, dword [edi + 0x34]
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push edx
mov edx, dword [edi + 0x30]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
lea eax, [eax + eax*4]
push 0
add eax, eax
add eax, eax
push eax
push ebx
push ebp
push ecx
push esi
call fcn.004a9100
mov edx, dword [esi + 0xbdc]
mov ecx, dword [esp + 0x80]
add esp, 0x5c
mov word [edx + ecx*2 - 2], ax
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esi + 0x6a4], ebx
je 0x4dc0ae
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
cmp dword [eax + 4], ebx
je 0x4dc0ae
mov eax, dword [eax + 0xc]
cmp eax, ebx
jle 0x4dc0ae
push eax
call fcn.004e2930
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x6e8], eax
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx + 0xc]
push edx
push eax
mov eax, dword [ecx + 4]
push eax
call fcn.004e29c0
add esp, 0x10
jmp 0x4dc0b4
mov dword [esi + 0x6e8], ebx
mov eax, dword [esi + 0xbe0]
cmp eax, ebx
je 0x4dc0c7
push eax
call fcn.004e2910
add esp, 4
push edi
push esi
call fcn.004f8b90
mov dword [esi + 0xbe0], eax
mov eax, dword [esi + 0x6f4]
add esp, 8
cmp eax, ebx
je 0x4dc0ea
push eax
call fcn.004e2910
add esp, 4
cmp dword [esi + 0x6a8], ebx
mov dword [esi + 0x6f4], ebx
je 0x4dc116
mov ecx, dword [esi + 0xbe0]
lea eax, [esi + 0x6f8]
push eax
push ecx
push edi
push esi
call fcn.004fa580
add esp, 0x10
mov dword [esi + 0x6f4], eax
or edi, 0xffffffff
cmp dword [esi + 0x4b48], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x4b60], 0
je 0x4dc214
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x4c]
jl 0x4dc214
cmp ebx, dword [esp + 0x54]
jg 0x4dc214
push ebx
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4dc214
mov eax, dword [esi + 0x4b48]
cmp eax, 1
jne 0x4dc180
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], 0x270f
jmp 0x4dc214
cmp eax, 2
jne 0x4dc214
mov eax, dword [esp + 0x4c]
cmp ebx, eax
mov ecx, dword [esp + 0x54]
jle 0x4dc1a1
cmp ebx, ecx
jge 0x4dc19f
mov edx, dword [esp + 0x24]
jmp 0x4dc1bf
cmp ebx, eax
jne 0x4dc1bb
cmp ebx, ecx
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], edi
jne 0x4dc1b5
mov edx, dword [esp + 0x40]
jmp 0x4dc1c5
mov edx, dword [esp + 0x24]
jmp 0x4dc1c5
mov edx, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x138]
mov ebp, dword [eax + ebx*4]
cmp dword [ebp + 0x2c], 0
lea eax, [eax + ebx*4]
mov dword [esp + 0x2c], edx
jle 0x4dc1ef
cmp dword [esp + 0x8c], 0
je 0x4dc1ef
mov dword [esi + 0x4b60], 1
cmp ebx, ecx
jg 0x4dc20c
mov ecx, dword [eax]
cmp dword [ecx + 0x2c], 0
jle 0x4dc20c
cmp dword [esp + 0x7c], 0
jne 0x4dc20c
mov dword [esi + 0x4b60], 1
cmp edx, edi
jge 0x4dc214
mov dword [esp + 0x2c], edi
mov edx, dword [esi + 0x754]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x64]
lea eax, [ebx + edx]
mov edx, dword [eax]
add edx, ecx
mov dword [esi + 0x4c4], edx
cmp dword [eax], 0
jle 0x4dc351
test ebp, ebp
mov eax, dword [esi + 0x748]
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebx + eax]
mov dword [esp + 0xa8], ecx
je 0x4dc27a
mov edx, dword [esi + 0x500]
push 0x5a0
push edx
push 0x32
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x70]
sub ecx, eax
mov dword [esp + 0xac], ecx
jmp 0x4dc287
mov edx, dword [esi + 0x4c4]
mov dword [esp + 0xac], edx
cmp dword [esi + 0x4b48], 1
mov eax, dword [esi + 0x748]
mov ecx, dword [ebx + eax + 4]
mov dword [esp + 0xb0], ecx
jne 0x4dc2ad
test edi, edi
mov byte [esp + 0x94], 0x48
jge 0x4dc2b5
mov byte [esp + 0x94], 0x54
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0xcc]
push 0
push ebx
push edx
push esi
call fcn.00501b50
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0xb4]
push eax
push ecx
push esi
mov dword [esi + 0x2b28], 0
call fcn.004fd9f0
add esp, 0x1c
test ebp, ebp
je 0x4dc351
mov eax, dword [esi + 0x4c4]
mov ecx, dword [esp + 0xac]
cmp eax, ecx
jle 0x4dc351
mov edx, dword [esp + 0x3c]
push 0
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0xd0]
push ebx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x3c]
push ecx
push esi
mov dword [esi + 0xaac], edx
mov dword [esi + 0xad8], eax
call fcn.00501b50
mov eax, dword [esp + 0xdc]
lea edx, [esp + 0xb4]
push edx
push eax
push esi
call fcn.004fd9f0
add esp, 0x1c
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4dc382
test dword [eax], 0x400
je 0x4dc382
cmp dword [eax + 0x6c], 0
jne 0x4dc382
cmp dword [eax + 0x70], 0
jne 0x4dc382
mov ecx, dword [eax + 0x74]
add dword [esi + 0x4c4], ecx
or dword [esi + 0xa17c], 0x100
cmp dword [esi + 0xa148], 0
je 0x4dc3e8
mov edx, dword [esp + 0x38]
cmp byte [edx], 0x12
mov eax, dword [esp + 0x98]
jne 0x4dc3af
mov ecx, dword [esi + 0x4c4]
sub ecx, eax
jne 0x4dc3e8
mov edx, dword [esp + 0x78]
mov ecx, dword [esi + 0x3420]
add ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xcc]
push 1
push edx
mov edx, dword [esi + 0x4c4]
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x64]
push edx
push eax
push ecx
push ebx
push ebx
push esi
call fcn.00507ff0
add esp, 0x24
jmp 0x4dc3ef
mov ebx, dword [esp + 0xcc]
and dword [esi + 0xa17c], 0xfffffeff
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp dword [esi + 0x39e4], eax
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4cc], eax
mov dword [esi + 0xaac], edx
mov dword [esi + 0xad8], ecx
jl 0x4dc462
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
imul edx, edx, 0xb4
mov ecx, dword [esp + 0x78]
add eax, edx
mov edx, dword [esi + 0x3420]
add edx, dword [esp + 0x50]
push ecx
mov ecx, dword [eax + 0x7c]
add ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
sub edx, dword [eax + 4]
push ecx
push edx
push ebx
push ebx
push esi
call fcn.00505670
add esp, 0x1c
mov eax, dword [esi + 0x750]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx]
add eax, ecx
cmp dword [esp + 0x44], 0
mov dword [esi + 0x5cc], edx
jne 0x4dc482
xor eax, eax
jmp 0x4dc485
mov eax, dword [eax - 4]
cmp byte [esp + 0x1b], 0
mov dword [esi + 0x5d0], eax
jne 0x4dc49b
test ebp, ebp
jne 0x4dc49b
lea eax, [ebp + 1]
jmp 0x4dc49d
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
push 0x54
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x74c]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edx + ecx]
push eax
push ebp
push 0
push ebx
push esi
call fcn.004d9740
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x3c]
xor eax, eax
mov dword [esi + 0x5cc], eax
mov dword [esi + 0x5d0], eax
mov eax, dword [ecx + edx*4]
add esp, 0x2c
test byte [eax + 0x3c], 0xc0
je 0x4dc52c
mov ecx, dword [esi + 0x74c]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ecx]
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
push eax
mov eax, dword [ecx + edx + 0x7c]
add eax, dword [esp + 0x2c]
push ebp
push eax
push ebx
push ebx
push esi
call fcn.005097d0
add esp, 0x18
test edi, edi
jl 0x4dc699
cmp dword [esp + 0x2c], 0
jle 0x4dc699
cmp dword [esi + 0x4b60], 0
jne 0x4dc699
cmp dword [esi + 0x6a8], 0
mov ecx, dword [esi + 0x6fc]
mov dword [esp + 0x20], ecx
je 0x4dc570
cmp dword [esi + 0x6f4], 0
je 0x4dc570
mov ebx, dword [esi + 0x6f8]
jmp 0x4dc575
mov ebx, 1
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], edx
jle 0x4dc68f
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
nop
cmp dword [esi + 0x6a8], 0
je 0x4dc5e6
mov eax, dword [esi + 0x6f4]
test eax, eax
je 0x4dc5e6
cmp ebx, 1
jle 0x4dc5e6
mov ecx, dword [edx + eax + 4]
add ecx, dword [edx + eax]
cmp edi, ecx
jge 0x4dc675
mov ecx, dword [edx + eax]
cmp ebp, ecx
jle 0x4dc675
cmp edi, ecx
jle 0x4dc5c8
mov ecx, edi
mov edi, dword [edx + eax + 4]
add edi, dword [edx + eax]
cmp ebp, edi
jl 0x4dc5df
mov edi, dword [edx + eax + 4]
add edi, dword [edx + eax]
sub edi, 1
jmp 0x4dc5eb
mov edi, ebp
sub edi, 1
jmp 0x4dc5eb
mov ecx, edi
lea edi, [ebp - 1]
mov ebx, dword [esp + 0x10]
push 0
push ebx
push ecx
push esi
call fcn.004fa200
push 2
push ebx
push edi
push esi
mov ebp, eax
call fcn.004fa200
add esp, 0x20
cmp dword [esi + 0x6a8], 0
je 0x4dc624
cmp dword [esi + 0x6f4], 0
je 0x4dc624
mov edx, dword [esp + 0x34]
mov dword [esi + 0x6fc], edx
mov edx, dword [esi + 0x74c]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + edx]
add edx, dword [esi + 0x3424]
mov ecx, dword [esp + 0xcc]
add edx, dword [esi + 0x3420]
push 0x550009
push 0
push 0
push ecx
push edx
sub eax, ebp
push eax
mov eax, dword [esp + 0x68]
push eax
push ebp
push ecx
push esi
call fcn.005042d0
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x54]
add esp, 0x28
mov eax, dword [esp + 0x34]
add eax, 1
add edx, 0x30
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
jl 0x4dc590
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x6fc], ecx
cmp dword [esi + 0xb7f4], 0
je 0x4dc8e9
cmp dword [esi + 0x44], 0
jne 0x4dc8e9
mov edi, dword [esp + 0x10]
lea ebp, [esi + 0xbe38]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], ebp
jmp 0x4dc6d0
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x4dc8e9
push 1
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0xc4]
push ecx
push eax
push esi
call fcn.004f6f40
mov ecx, dword [ebp + 0x190]
push 1
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0xdc]
push eax
push ecx
push esi
call fcn.004f6f40
mov eax, dword [esp + 0xe4]
add esp, 0x28
cmp eax, 0xffffffff
je 0x4dc8e9
cmp eax, edi
jg 0x4dc8e9
mov ecx, dword [esp + 0xc0]
cmp ecx, edi
jl 0x4dc8ce
cmp eax, edi
jne 0x4dc768
cmp ecx, edi
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x34], ebx
jne 0x4dc75e
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], edx
jmp 0x4dc779
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x4dc779
mov ecx, dword [esp + 0x9c]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x6a8], 0
mov edx, dword [esi + 0x6fc]
mov dword [esp + 0x80], edx
je 0x4dc7a0
cmp dword [esi + 0x6f4], 0
je 0x4dc7a0
mov edi, dword [esi + 0x6f8]
jmp 0x4dc7a5
mov edi, 1
test edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], 0
jle 0x4dc8bd
xor edx, edx
mov dword [esp + 0x38], edx
nop
cmp dword [esi + 0x6a8], 0
je 0x4dc815
mov eax, dword [esi + 0x6f4]
test eax, eax
je 0x4dc815
cmp edi, 1
jle 0x4dc815
mov ebp, dword [edx + eax]
add ebp, dword [edx + eax + 4]
lea ecx, [edx + eax + 4]
cmp ebx, ebp
jge 0x4dc89f
mov ebp, dword [edx + eax]
cmp dword [esp + 0x14], ebp
jle 0x4dc89f
cmp ebx, ebp
jle 0x4dc7fe
mov ebp, ebx
mov ebx, dword [edx + eax]
add ebx, dword [ecx]
mov edi, dword [esp + 0x14]
cmp edi, ebx
jl 0x4dc810
mov edi, dword [edx + eax]
add edi, dword [ecx]
sub edi, 1
jmp 0x4dc81e
mov edi, dword [esp + 0x14]
mov ebp, ebx
add edi, 0xffffffff
push 0
push 1
push str.Misspelling_Found
push 0
push esi
call fcn.004d59e0
mov ebx, dword [esp + 0x24]
push 0
push ebx
push ebp
push esi
call fcn.004fa200
push 2
push ebx
push edi
push esi
mov ebp, eax
call fcn.004fa200
add esp, 0x34
cmp dword [esi + 0x6a8], 0
je 0x4dc868
cmp dword [esi + 0x6f4], 0
je 0x4dc868
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x6fc], ecx
mov edx, dword [esi + 0x74c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + edx]
add edx, dword [esi + 0x3420]
add edx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0xd4]
push ebp
push eax
push esi
call fcn.004d7740
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x48]
add esp, 0x14
mov eax, dword [esp + 0x3c]
add eax, 1
add edx, 0x30
cmp eax, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
jl 0x4dc7c0
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x10]
mov dword [esi + 0x6fc], ecx
mov eax, dword [esp + 0x2c]
add eax, 1
add ebp, 4
cmp eax, 0x64
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebp
jl 0x4dc6d0
mov ebx, dword [esi + 0x4c4]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jl 0x4dc902
cmp dword [esp + 0x74], 0
je 0x4dc9c7
cmp dword [esp + 0x64], 0
je 0x4dc9c7
cmp ebx, dword [esi + 0x2bfc]
mov edi, dword [esp + 0xcc]
jge 0x4dc96c
push 0
push 0x54
push edi
push esi
call fcn.00501b50
mov edx, dword [esi + 0x74c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + edx]
add ecx, dword [esi + 0x3424]
mov edx, dword [esi + 0x2bfc]
add ecx, dword [esi + 0x3420]
mov eax, dword [esp + 0x60]
push 0
push ecx
mov ecx, dword [esi + 0x4c4]
push edx
push eax
push ecx
push edi
push esi
call fcn.00502770
mov edx, dword [esi + 0x2bfc]
add esp, 0x2c
mov dword [esi + 0x4c4], edx
push 0
push 0x54
push edi
push esi
mov dword [esi + 0xaac], 0
mov dword [esi + 0xad8], 0xffffff
call fcn.00501b50
mov eax, dword [esi + 0x74c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + eax]
add edx, dword [esi + 0x3424]
mov eax, dword [esp + 0x40]
add edx, dword [esi + 0x3420]
mov ecx, dword [esp + 0x60]
push 0
push edx
mov edx, dword [esi + 0x4c4]
push eax
push ecx
push edx
push edi
push esi
call fcn.00502770
add esp, 0x2c
jmp 0x4dca69
cmp ebx, ebp
jl 0x4dc9d6
cmp dword [esp + 0x74], 0
je 0x4dca69
cmp byte [esp + 0x1b], 0
jbe 0x4dca69
mov eax, dword [esi + 0x74c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + eax]
add edx, dword [esi + 0x3424]
mov eax, dword [esi + 0x3420]
lea ecx, [edx + eax]
mov eax, ecx
push 0
cdq
push ecx
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x58]
push ebp
push eax
push ebx
mov ebx, dword [esp + 0xe0]
push ebx
sar edi, 1
push esi
add edi, eax
call fcn.00502770
add esp, 0x1c
cmp byte [esp + 0x1b], 0x14
jne 0x4dca5f
cmp dword [esi + 0x1c], 0
mov ecx, dword [esi + 0x4c4]
mov eax, dword [esp + 0x30]
jne 0x4dca40
mov eax, dword [esi + 0x4b4]
push 0
sub eax, ecx
push eax
push edi
push ecx
push 0x84e
call fcn.00494c70
add esp, 4
push eax
push ebx
push esi
call fcn.00505ca0
add esp, 0x1c
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x4c4], ecx
mov eax, dword [esi + 0x6e8]
test eax, eax
je 0x4dca86
push eax
call fcn.004e2910
add esp, 4
mov dword [esi + 0x6e8], 0
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, dword [esp + 0xd4]
mov dword [esp + 0x44], eax
jle 0x4db3a0
jmp 0x4dcbde
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
lea ecx, [edx + eax]
mov eax, dword [esi + 0x748]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
add ecx, 1
cmp ecx, dword [esi + 0x608]
jle 0x4dcacb
mov dword [esi + 0x608], ecx
cmp dword [esi + 0x1c], 0
jne 0x4dcada
add edx, 1
mov dword [esi + 0x490], edx
cmp dword [esi + 0x608], 0
jne 0x4dcbde
cmp dword [eax], ebp
jge 0x4dcbde
xor ecx, ecx
xor edx, edx
cmp dword [esi + 0x578], ecx
mov dword [esi + 0x3424], ecx
sete dl
mov dword [esi + 0x3420], ecx
mov dword [esi + 0xaa8], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
sub ebp, eax
push edx
mov edx, dword [esp + 0x2c]
push ebp
push ecx
push eax
mov eax, dword [esp + 0xdc]
push edx
push eax
push esi
call fcn.00502770
add esp, 0x1c
jmp 0x4dcbde
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0x748]
add edx, ecx
lea eax, [eax + edx*4]
jmp 0x4dcae7
cmp dword [esi + 0x1c], ebp
jne 0x4dcb51
mov dword [esi + 0x490], ebx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x748]
mov edi, dword [esp + 0x6c]
add ebx, ecx
cmp dword [edx + ebx*4], edi
lea ecx, [edx + ebx*4]
jge 0x4dcbde
cmp dword [esi + 0x5a4], 0
jne 0x4dcbde
mov edx, dword [esi + 0x4c0]
add edx, dword [esi + 0x4b8]
xor eax, eax
cmp edi, edx
jne 0x4dcb89
mov eax, 1
test byte [esi + 0xa160], 0x20
jne 0x4dcbc1
mov ecx, dword [ecx]
xor edx, edx
cmp dword [esi + 0x578], edx
sete dl
sub eax, ecx
add eax, edi
push edx
mov edx, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push esi
call fcn.00502770
add esp, 0x1c
cmp dword [esi + 0x1c], 0
jne 0x4dcbde
mov eax, dword [esp + 0x88]
cmp dword [esi + 0x490], eax
jge 0x4dcbde
mov ecx, eax
mov dword [esi + 0x490], ecx
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x5e4]
jge 0x4dccc7
mov ebx, 0x80
jmp 0x4dcc00
mov edx, dword [esi + 0x138]
mov ecx, dword [edx + edi*4]
cmp word [ecx + 8], 0xffff
lea eax, [edx + edi*4]
jne 0x4dcc53
mov edx, ecx
movzx eax, word [edx + 0xa]
mov ecx, dword [esi + 0x3434]
imul eax, eax, 0x170
add eax, ecx
cmp dword [eax + 0x134], ebx
jne 0x4dccb8
cmp dword [eax + 0x88], 0xc
jne 0x4dccb8
mov eax, dword [eax + 0xa4]
cmp byte [eax + 0x10], 0
je 0x4dccb8
mov byte [eax + 0x11], 1
mov byte [eax + 0x10], 0
jmp 0x4dccb8
push edi
push esi
call fcn.004ad140
mov ecx, dword [esi + 0x138]
mov ecx, dword [ecx + edi*4]
xor edx, edx
add esp, 8
cmp dword [ecx + 0xc], edx
jle 0x4dccb8
lea ecx, [ecx]
movzx ecx, word [eax + edx*2]
mov ebp, dword [esi + 0x3434]
imul ecx, ecx, 0x170
add ecx, ebp
cmp dword [ecx + 0x134], ebx
jne 0x4dcca7
cmp dword [ecx + 0x88], 0xc
jne 0x4dcca7
mov ecx, dword [ecx + 0xa4]
cmp byte [ecx + 0x10], 0
je 0x4dcca7
mov byte [ecx + 0x11], 1
mov byte [ecx + 0x10], 0
mov ecx, dword [esi + 0x138]
mov ecx, dword [ecx + edi*4]
add edx, 1
cmp edx, dword [ecx + 0xc]
jl 0x4dcc70
add edi, 1
cmp edi, dword [esi + 0x5e4]
jl 0x4dcc00
cmp dword [esi + 0x5a4], 0
jle 0x4dccea
cmp dword [0x621ab8], 0
je 0x4dccea
mov edx, dword [esp + 0xcc]
push edx
push esi
call fcn.004fcd00
add esp, 8
mov dword [esi + 0x5a4], 0
mov eax, dword [esi + 0x708]
mov ecx, dword [esi + 0x704]
imul eax, eax, 0xb4
add eax, ecx
test byte [eax + 0x44], 0xf
je 0x4dceab
test byte [eax + 0x8c], 8
jne 0x4dceab
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x24]
add ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x68], ecx
mov edi, dword [eax + 0x28]
add edi, dword [eax + 0x18]
cmp dword [esi + 0x648], 0
je 0x4dcd9b
mov edx, dword [eax + 0x70]
test edx, edx
mov dword [esp + 0x80], edx
jle 0x4dcd9b
test byte [esi + 0xa164], 8
jne 0x4dcd9b
mov ebx, dword [esi + 0x588c]
imul edx, edx, 0x84
test dword [edx + ebx + 0x40], 0x20000
je 0x4dcd9b
mov edx, dword [esp + 0xcc]
push 1
add eax, 0x48
push eax
mov eax, dword [esp + 0x68]
push edi
push ecx
mov ecx, dword [esp + 0x90]
push ebp
push eax
push ecx
push edx
push esi
call fcn.0050cac0
add esp, 0x24
jmp 0x4dceab
cmp dword [eax + 0x70], 0
jle 0x4dcfc9
test dword [eax + 0x8c], 0x20000
je 0x4dcfc9
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x64]
push ecx
mov ebx, 1
call fcn.004e0910
mov ecx, dword [esp + 0x70]
add esp, 8
mov edx, dword [esi + 0x708]
mov eax, dword [esi + 0x704]
imul edx, edx, 0xb4
mov edx, dword [edx + eax + 0x48]
mov eax, dword [esp + 0x60]
push 1
push edx
push ebp
push ecx
mov ecx, dword [esp + 0xdc]
push ebp
push eax
push ecx
push esi
call fcn.0050b690
mov edx, dword [esi + 0x708]
mov ecx, dword [esi + 0x704]
imul edx, edx, 0xb4
mov edx, dword [edx + ecx + 0x4c]
mov ecx, dword [esp + 0x88]
push 2
push edx
mov edx, dword [esp + 0x88]
lea eax, [edi - 1]
push eax
push ecx
push eax
mov eax, dword [esp + 0x100]
push edx
push eax
push esi
call fcn.0050b690
mov ecx, dword [esi + 0x708]
mov edx, dword [esi + 0x704]
imul ecx, ecx, 0xb4
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [esp + 0x10c]
add esp, 0x40
push 4
push eax
mov eax, dword [esp + 0x68]
push edi
push eax
push ebp
push eax
push ecx
push esi
call fcn.0050b690
mov ecx, dword [esi + 0x708]
mov eax, dword [esp + 0x88]
xor edx, edx
test ebx, ebx
sete dl
imul ecx, ecx, 0xb4
sub eax, edx
mov edx, dword [esi + 0x704]
mov ecx, dword [ecx + edx + 0x54]
mov edx, dword [esp + 0xec]
push 8
push ecx
push edi
push eax
push ebp
push eax
push edx
push esi
call fcn.0050b690
add esp, 0x40
mov eax, dword [esp + 0xb8]
xor edi, edi
mov dword [esi + 0x4b48], eax
mov eax, 0xffffff
mov dword [esi + 0xad8], eax
mov dword [esi + 0xad4], eax
mov dword [esi + 0xaac], edi
mov dword [esi + 0x4b30], edi
mov dword [esi + 0xacc], edi
mov dword [esi + 0xac4], edi
mov dword [esi + 0xac0], edi
mov dword [esi + 0x2bfc], edi
mov dword [esi + 0x2bf8], edi
mov dword [esi + 0xaa8], edi
mov dword [esi + 0x4b24], 0x10101
mov dword [esi + 0x57c], edi
mov dword [esi + 0xac8], edi
mov dword [esi + 0x3424], edi
mov dword [esi + 0x3420], edi
mov dword [esi + 0xabc], edi
mov dword [esi + 0xab8], edi
mov dword [esi + 0x574], edi
mov dword [esi + 0x578], edi
mov dword [esi + 0x4b60], edi
mov dword [esi + 0xa148], edi
mov dword [esi + 0xa144], edi
mov dword [esi + 0xa140], edi
mov dword [esi + 0x2b44], edi
mov byte [esi + 0xad0], 0
mov dword [esi + 0xadc], 0x14
mov dword [esi + 0xab0], edi
mov eax, dword [esi + 0xbe0]
cmp eax, edi
pop ebp
mov dword [esi + 0xa14c], edi
mov dword [esi + 0x6a8], edi
pop ebx
je 0x4dcf8b
push eax
call fcn.004e2910
add esp, 4
mov eax, dword [esi + 0x6f4]
cmp eax, edi
mov dword [esi + 0xbe0], edi
je 0x4dcfa4
push eax
call fcn.004e2910
add esp, 4
mov dword [esi + 0x6f4], edi
mov dword [esi + 0x6fc], edi
mov dword [esi + 0x6f8], edi
pop edi
mov dword [esi + 0x39e4], 0xffffffff
pop esi
add esp, 0xb4
ret
xor ebx, ebx
jmp 0x4dcdd0