Function at 0x412a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xc4]
mov edi, dword [esp + 0xd0]
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb8]
lea edx, [ebp + ebp*2]
mov dword [esp + 0x34], edi
lea ebx, [edx + 1]
lea edi, [edx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x68], edx
mov edx, ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc0]
shl edx, 4
mov dword [esp + 0x74], edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x7c], eax
imul eax, ebp, 0x1c
mov edi, dword [esp + 0x7c]
lea ecx, [esi + eax]
lea eax, [ebp*8]
mov dword [esp + 0x40], ecx
sub ecx, edx
mov edx, ebp
sub eax, ebp
shl edx, 5
mov dword [esp + 0x4c], ecx
add edx, ecx
mov ecx, ebp
mov dword [esp + 0x84], eax
shl ecx, 4
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], ecx
test edi, edi
jne 0x413798
lea eax, [ebp*4]
lea ecx, [ebp + ebp]
mov dword [esp + 0xc], 0x1c
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
add eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov dword [esp], eax
call fcn.00419080
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov edi, eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], edx
call fcn.00404250
mov ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x74]
add eax, edi
sub dword [ecx], eax
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x58], edx
shr eax, 4
sub dword [edx], eax
jae 0x412bc1
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x412bb8
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0x1c
lea ecx, [eax - 1]
lea eax, [esi + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 0x5c], ecx
call fcn.00419080
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call fcn.00404250
imul edx, ebp, 0x38
add eax, edi
lea edx, [esi + edx - 4]
sub dword [edx], eax
jae 0x412c27
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x412c1e
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00404250
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 0x2c], edi
call fcn.004041a0
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], 0xe
mov dword [esp + 4], esi
lea eax, [edi + ebp]
mov dword [esp], ecx
lea edx, [esi + eax*4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
mov dword [esp + 8], eax
call fcn.00419080
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edx
mov dword [esp + 0xc], eax
call fcn.00404250
mov ecx, dword [esp + 0x58]
mov edx, ebp
sub edx, dword [esp + 0x38]
add eax, edi
lea edx, [ecx + edx*8]
sub dword [edx], eax
mov eax, dword [esi]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0x30]
shr eax, 2
mov dword [esp + 0x70], edx
sub dword [edx], eax
jae 0x412ce6
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x412cdd
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], 0x1e
mov eax, dword [esp + 0x78]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00419080
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
mov edi, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp], ecx
call fcn.00404250
mov ecx, dword [esp + 0x74]
add eax, edi
lea edx, [ecx - 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], edx
add ecx, edx
sub dword [ecx], eax
jae 0x412d4f
sub dword [ecx + 4], 1
lea ecx, [ecx + 4]
jb 0x412d46
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call fcn.004041a0
mov eax, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
call fcn.00404250
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], 0xa
mov eax, dword [esp + 0x30]
mov dword [esp + 4], esi
lea ecx, [edi + edx + 4]
mov edi, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 0x64], ecx
call fcn.00419080
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00404250
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
shr eax, 6
sub dword [ecx], eax
jae 0x412df1
sub dword [ecx + 4], 1
lea ecx, [ecx + 4]
jb 0x412de8
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x1a
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.00419080
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.00404250
mov edx, dword [esp + 0x5c]
add edx, eax
mov ecx, edx
mov edx, dword [esp + 0x8c]
add edx, dword [esp + 0x44]
mov eax, dword [edx]
mov edi, eax
sub edi, ecx
mov dword [edx], edi
cmp ecx, eax
jbe 0x412e58
sub dword [edx + 4], 1
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00404250
mov eax, dword [esp + 0x44]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.004041a0
lea eax, [ebp*8]
mov dword [esp + 8], esi
mov edi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
add eax, edi
mov edi, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 0x78], eax
call fcn.00404250
mov edi, dword [esp + 0x4c]
mov edx, eax
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x68]
sub dword [esi + eax*4], edx
mov esi, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], 0x404
mov dword [esp + 8], ebx
call fcn.00418ec7
mov eax, dword [esp + 0x30]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x514
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.00418ec7
mov dword [esp + 4], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0x101010
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00418ec7
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xfbc333a5
mov dword [esp + 0xc], 0xb3c7c2d
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00416670
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x1010101
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.004172b0
mov dword [esp], esi
mov dword [esp + 0xc], 0xbfc403
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
call fcn.00418ec7
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 0x14], 6
mov dword [esp + 0x10], 0x53e3771b
mov dword [esp + 0xc], 0xb13
mov dword [esp + 8], ebx
call fcn.00416670
mov eax, dword [esp + 0x74]
add eax, esi
mov dword [esp + 0x48], eax
mov esi, eax
mov eax, dword [eax]
test eax, 0xfe000000
je 0x412fcb
or eax, 0xfc000000
mov dword [esi], eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 0xfff
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00418ec7
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], 0xf0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00418d07
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0xfefefeff
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00416670
mov edi, dword [esp + 0x54]
mov eax, dword [edi]
test eax, 0xe0000000
je 0x413043
or eax, 0xc0000000
mov dword [edi], eax
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 7
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00419080
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00404250
mov eax, dword [esp + 0x40]
mov dword [esp], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xd
mov dword [esp + 4], eax
call fcn.00419080
mov dword [esp + 0x50], edi
mov dword [esp + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00404250
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], 0x190
mov dword [esp + 0x2c], esi
call fcn.00418ec7
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x13
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00419080
mov dword [esp + 8], esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00404250
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], 0x594
call fcn.00418ec7
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1b900
mov dword [esp + 4], eax
call fcn.00418ec7
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x550659db
mov dword [esp + 0xc], 0xae3fa53
call fcn.00416670
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x1010101
call fcn.004172b0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], 0xe7a671
call fcn.00418ec7
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x9f314c35
mov dword [esp + 0xc], 0xa61d
mov dword [esp + 0x3c], edi
call fcn.00416670
mov edi, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], 0xf81
call fcn.00418ec7
mov ecx, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0x384
call fcn.00418ec7
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x38e38e39
mov dword [esp + 0xc], 9
mov dword [esp + 0x2c], edi
call fcn.00416670
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00404250
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x40], edi
call fcn.00404250
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], edx
call fcn.00404250
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], edx
mov dword [esp + 0x3c], edi
mov edi, edx
call fcn.004041a0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0xc], 1
call fcn.00404300
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], ecx
call fcn.00404250
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00404250
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0xc], 1
call fcn.00404300
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00404250
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edi
call fcn.004041a0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 0xc], 1
call fcn.00404300
mov dword [esp + 0xc], ebx
mov ebx, edi
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00404250
mov edi, dword [esp + 0x78]
mov eax, ebp
mov dword [esp + 0xc], ebp
lea edx, [ebp*8]
mov dword [esp + 8], ebx
sub eax, edx
lea esi, [edi + eax*4]
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.004041a0
mov edi, dword [esp + 0x70]
add esi, dword [esp + 0x38]
add eax, dword [edi]
mov dword [esi], eax
jae 0x4133c8
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x30]
mov eax, 1
jmp 0x4133b4
mov ebx, dword [ecx + eax*4]
lea edx, [ebx + 1]
mov dword [esi + eax*4], edx
add eax, 1
test edx, edx
jne 0x413b10
cmp ebp, eax
jg 0x4133a0
mov dword [esp + 0x30], edi
mov eax, 1
jmp 0x4133fd
mov edi, dword [esp + 0x70]
cmp edi, esi
je 0x4133fb
cmp ebp, 1
jle 0x4133fb
lea eax, [edi + 4]
add edi, dword [esp + 0x38]
lea edx, [esi + 4]
mov ecx, edi
mov edi, dword [esp + 0x30]
lea esi, [esi]
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp ecx, eax
jne 0x4133e8
mov dword [esp + 0x30], edi
xor eax, eax
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + edi*4]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, ecx
mov dword [esp + 0xc], ebp
add eax, edi
add esi, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00404247
mov edx, esi
add eax, ebx
add dword [edx], eax
jae 0x41343f
add dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x413436
mov edi, dword [esp + 0x34]
add esi, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.004041a0
mov ebx, dword [esp + 0x54]
add edi, dword [esp + 0x38]
mov edx, edi
add eax, dword [ebx]
mov dword [ebx], eax
add eax, dword [edi]
mov dword [ebx], eax
jae 0x4134a0
mov ebx, dword [esp + 0x54]
mov eax, 1
jmp 0x413494
mov edi, dword [edx + eax*4]
lea ecx, [edi + 1]
mov dword [ebx + eax*4], ecx
add eax, 1
test ecx, ecx
jne 0x413ba0
cmp ebp, eax
jg 0x413480
mov eax, 1
jmp 0x4134d1
mov edi, dword [esp + 0x54]
cmp edi, edx
je 0x4134cf
cmp ebp, 1
jle 0x4134cf
add edi, 4
lea eax, [edx + 4]
add edx, dword [esp + 0x38]
mov ecx, edi
lea esi, [esi]
mov ebx, dword [eax]
add eax, 4
add ecx, 4
mov dword [ecx - 4], ebx
cmp edx, eax
jne 0x4134c0
xor eax, eax
mov edi, dword [esp + 0x48]
mov ebx, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00404247
add ebx, eax
mov eax, dword [esp + 0x78]
add dword [eax], ebx
jae 0x41350e
add dword [eax + 4], 1
lea eax, [eax + 4]
jb 0x413505
mov eax, dword [esp + 0x2c]
add esi, dword [esp + 0x80]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.004041a0
add esi, dword [esp + 0x38]
mov edi, dword [esp + 0x6c]
add eax, dword [esi]
mov dword [esi], eax
add eax, dword [edi]
mov dword [esi], eax
jae 0x413570
mov ecx, dword [esp + 0x6c]
mov eax, 1
jmp 0x413564
mov edi, dword [ecx + eax*4]
lea edx, [edi + 1]
mov dword [esi + eax*4], edx
add eax, 1
test edx, edx
jne 0x413b60
cmp ebp, eax
jg 0x413550
mov eax, 1
jmp 0x4135a1
mov edi, dword [esp + 0x6c]
cmp edi, esi
je 0x41359f
cmp ebp, 1
jle 0x41359f
lea eax, [edi + 4]
add edi, dword [esp + 0x38]
lea edx, [esi + 4]
mov ecx, edi
lea esi, [esi]
mov ebx, dword [eax]
add eax, 4
add edx, 4
mov dword [edx - 4], ebx
cmp eax, ecx
jne 0x413590
xor eax, eax
mov edi, dword [esp + 0x88]
mov ebx, dword [edi]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
add edi, dword [esp + 0x5c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00404247
add ebx, eax
mov eax, dword [esp + 0x58]
add dword [eax], ebx
jae 0x4135e1
add dword [eax + 4], 1
lea eax, [eax + 4]
jb 0x4135d8
lea eax, [ebp + ebp*2]
mov dword [esp + 0xc], ebp
lea ebx, [esi + eax*4]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.004041a0
add ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
add eax, dword [ebx]
mov dword [ebx], eax
test edx, edx
je 0x4136a0
mov edi, dword [esp + 0x64]
add eax, dword [edi]
mov dword [ebx], eax
jae 0x413720
mov ecx, dword [esp + 0x64]
mov edx, 1
jmp 0x413644
mov eax, dword [ecx + edx*4]
add eax, 1
mov dword [ebx + edx*4], eax
add edx, 1
test eax, eax
jne 0x413c18
cmp ebp, edx
jg 0x413630
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov edx, 1
add ebx, dword [esp + 0x38]
add eax, edi
cmp ebp, dword [esp + 0x60]
jge 0x41375f
mov esi, dword [eax + ebp*4]
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
call fcn.00404247
add ebx, dword [esp + 0x38]
add esi, eax
add dword [ebx], esi
jae 0x413693
add dword [ebx + 4], 1
lea ebx, [ebx + 4]
jb 0x41368a
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x64]
add eax, dword [edi]
mov dword [ebx], eax
jae 0x4136e0
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov eax, 1
jmp 0x4136d4
mov edi, dword [esi + eax*4]
lea edx, [edi + 1]
mov dword [ebx + eax*4], edx
add eax, 1
test edx, edx
jne 0x413bd8
cmp ecx, eax
jg 0x4136c0
jmp 0x413693
mov edi, dword [esp + 0x64]
cmp edi, ebx
je 0x413693
mov esi, dword [esp + 0x60]
cmp esi, 1
jle 0x413693
lea eax, [edi + 4]
add ebx, 4
lea ecx, [edi + esi*4]
lea esi, [esi]
mov edx, dword [eax]
add eax, 4
add ebx, 4
mov dword [ebx - 4], edx
cmp eax, ecx
jne 0x413700
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
add eax, edi
cmp edi, ebx
je 0x41374f
cmp ebp, 1
jle 0x41374f
mov edx, edi
lea ecx, [ebx + 4]
add edx, 4
lea esi, [esi]
nop
mov esi, dword [edx]
add edx, 4
add ecx, 4
mov dword [ecx - 4], esi
cmp eax, edx
jne 0x413740
xor edx, edx
add ebx, dword [esp + 0x38]
cmp ebp, dword [esp + 0x60]
jl 0x413665
mov edi, dword [esp + 0x60]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb8], eax
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00404247
mov eax, edx
mov edi, dword [esp + 0x40]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], edi
mov dword [esp + 0xc], ecx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x38], eax
call fcn.00404250
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
mov edx, eax
add ecx, edi
mov dword [esp + 0x64], ecx
lea eax, [esi + ecx*4]
sub dword [eax], edx
jae 0x4137df
sub dword [eax + 4], 1
lea eax, [eax + 4]
jb 0x4137d6
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0xe
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00419080
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov dword [esp + 0x54], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edx
call fcn.00404250
mov edx, dword [esp + 0x30]
mov ecx, edi
add eax, dword [esp + 0x54]
lea edi, [edi*4]
mov dword [esp + 0x48], edi
add edx, edi
sub dword [edx], eax
jae 0x413843
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x41383a
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov eax, edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x4c]
shr eax, 2
sub dword [edx], eax
jae 0x413863
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x41385a
imul eax, ebp, 0x3c
lea edi, [ecx - 1]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], 0x1e
mov dword [esp], ecx
lea eax, [esi + eax + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
call fcn.00419080
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edx
call fcn.00404250
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
add eax, dword [esp + 0x5c]
lea edx, [ecx + edx + 0x3fffffff]
lea edx, [esi + edx*4]
sub dword [edx], eax
jae 0x4138d8
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x4138cf
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0x1c
call fcn.00419080
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00404250
mov ecx, dword [esp + 0x64]
add eax, dword [esp + 0x5c]
lea edx, [ecx + ebp*4]
lea edx, [esi + edx*4]
sub dword [edx], eax
jae 0x41393b
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x413932
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov eax, edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
shr eax, 4
sub dword [edx], eax
jae 0x41395b
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x413952
mov eax, dword [esp + 0x58]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x1c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00419080
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00404250
mov ecx, dword [esp + 0x48]
add eax, dword [esp + 0x64]
lea edx, [ecx - 4]
add edi, edx
mov dword [esp + 0x5c], edx
mov edx, edi
sub dword [edx], eax
jae 0x4139bb
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x4139b2
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], 0xa
mov eax, dword [esp + 0x34]
lea edx, [edi + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00419080
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], edx
call fcn.00404250
mov edx, edi
mov edi, dword [esp + 0x48]
add eax, dword [esp + 0x64]
lea ecx, [edx + edi + 4]
mov edx, dword [ecx]
mov edi, edx
sub edi, eax
mov dword [ecx], edi
cmp edx, eax
jae 0x413a70
mov eax, ebx
sub eax, dword [esp + 0x60]
mov dword [esp + 0x64], esi
lea edi, [eax - 1]
mov dword [esp + 0x48], ebx
mov eax, 1
mov esi, edi
mov edi, dword [esp + 0x30]
jmp 0x413a60
mov edx, dword [ecx + eax*4]
lea ebx, [edx - 1]
mov dword [ecx + eax*4], ebx
add eax, 1
test edx, edx
jne 0x413a64
cmp esi, eax
jg 0x413a50
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x50]
lea eax, [edi + ebx*4]
mov edx, edi
mov ecx, dword [eax]
mov dword [esp + 0x48], eax
mov dword [eax], pe_nt_image_headers32
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
shr eax, 6
sub dword [edx], eax
jae 0x413a9f
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x413a96
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], 0x1a
mov dword [esp + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov dword [esp], edx
call fcn.00419080
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov dword [esp], edi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], eax
call fcn.00404250
mov edx, dword [esp + 0x5c]
add eax, dword [esp + 0x38]
add edx, edi
sub dword [edx], eax
jae 0x413afa
sub dword [edx + 4], 1
lea edx, [edx + 4]
jb 0x413af1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
jmp 0x412b33
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], edi
cmp ebx, esi
je 0x4133fb
cmp ebp, eax
jle 0x4133fb
shl eax, 2
lea edx, [ebx + eax]
add ebx, dword [esp + 0x38]
add eax, esi
mov ecx, ebx
lea esi, [esi]
lea esi, [esi]
mov ebx, dword [edx]
add edx, 4
add eax, 4
mov dword [eax - 4], ebx
cmp ecx, edx
jne 0x413b40
mov dword [esp + 0x30], edi
jmp 0x4133fb
mov ebx, dword [esp + 0x6c]
cmp ebx, esi
je 0x41359f
cmp ebp, eax
jle 0x41359f
shl eax, 2
lea edx, [ebx + eax]
add ebx, dword [esp + 0x38]
add eax, esi
mov ecx, ebx
lea esi, [esi]
mov ebx, dword [edx]
add edx, 4
add eax, 4
mov dword [eax - 4], ebx
cmp ecx, edx
jne 0x413b88
jmp 0x41359f
mov ebx, dword [esp + 0x54]
cmp ebx, edx
je 0x4134cf
cmp ebp, eax
jle 0x4134cf
shl eax, 2
lea ecx, [edx + eax]
add eax, ebx
add edx, dword [esp + 0x38]
mov ebx, dword [ecx]
add ecx, 4
add eax, 4
mov dword [eax - 4], ebx
cmp edx, ecx
jne 0x413bc0
jmp 0x4134cf
mov edi, dword [esp + 0x64]
cmp edi, ebx
je 0x413693
mov esi, dword [esp + 0x60]
cmp esi, eax
jle 0x413693
shl eax, 2
lea ecx, [edi + esi*4]
lea edx, [edi + eax]
add ebx, eax
lea esi, [esi]
nop
mov eax, dword [edx]
add edx, 4
add ebx, 4
mov dword [ebx - 4], eax
cmp ecx, edx
jne 0x413c00
jmp 0x413693
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
add eax, edi
cmp edi, ebx
je 0x41374f
cmp ebp, edx
jle 0x41374f
shl edx, 2
add edi, edx
add edx, ebx
mov ecx, edi
lea esi, [esi]
nop
mov esi, dword [ecx]
add ecx, 4
add edx, 4
mov dword [edx - 4], esi
cmp eax, ecx
jne 0x413c40
jmp 0x41374f