Function at 0x415770
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov eax, 0x189c
push esi
push ebx
call fcn.0041a3d0
sub esp, eax
mov eax, dword [esp + 0x18b0]
cmp dword [eax], 0x50646948
je 0x41579f
add esp, 0x189c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [eax + 4], 0x52444b20
jne 0x41578f
mov eax, dword [esp + 0x18b4]
mov edi, dword [esp + 0x18b0]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18b8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18b0]
movzx eax, word [eax + 0x28]
lea eax, [edi + eax + 0x2c]
mov dword [esp + 0x2c], eax
movzx eax, word [edi + 0x2a]
mov edi, eax
mov word [esp + 0x38], ax
mov dword [esp + 0x4c], eax
shl eax, 2
mov dword [esp], eax
mov dword [esp + 0x48], eax
call fcn.0041a464
test di, di
mov ebp, eax
je 0x4158a1
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x38]
mov dword [esp + 0x34], ebp
sub eax, 1
movzx eax, ax
lea eax, [ebp + eax*4 + 4]
mov dword [esp + 0x30], eax
mov dword [esp], 0x400
call fcn.0041a464
mov edi, dword [esp + 0x28]
mov esi, eax
mov dword [edi], eax
lea edi, [eax + 0x400]
mov esi, esi
lea edi, [edi]
mov dword [esp], 0xc
xor ebx, ebx
call fcn.0041a464
mov ebp, eax
mov dword [esi], eax
mov dword [esp], 8
call fcn.0041a464
mov dword [ebp + ebx*4], eax
add ebx, 1
mov dword [eax], 0xffffffff
cmp ebx, 3
mov dword [eax + 4], 0xffffffff
jne 0x415862
add esi, 4
cmp edi, esi
jne 0x415850
add dword [esp + 0x28], 4
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x30], eax
jne 0x41582d
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x18b0]
xor edi, edi
add eax, 0x96
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18b0]
movzx ebx, word [eax + edi*2 + 0x10]
movzx edx, word [eax + edi*2 + 0x14]
cmp bx, dx
jae 0x415939
sub edx, 1
movzx ecx, bx
mov esi, dword [esp + 0x18b0]
sub edx, ebx
movzx edx, dx
add edx, ecx
imul eax, ecx, 0x68
imul edx, edx, 0x68
add edx, dword [esp + 0x30]
lea eax, [esi + eax + 0x2e]
mov dword [esp + 0x28], edx
movzx edx, byte [eax + 1]
movzx ecx, word [eax + 6]
movzx ebx, word [eax + 4]
movzx esi, byte [eax]
lea ecx, [edx + ecx*8 - 8]
movzx edx, word [eax + 2]
imul edx, ebx
lea ebx, [ecx + edx - 1]
movzx edx, word [eax + 0x10]
mov edx, dword [ebp + edx*4]
mov edx, dword [edx + esi*4]
mov edx, dword [edx + edi]
mov esi, dword [edx]
cmp esi, 0xffffffff
je 0x415926
cmp esi, ecx
jle 0x415928
mov dword [edx], ecx
cmp dword [edx + 4], ebx
jge 0x415930
mov dword [edx + 4], ebx
add eax, 0x68
cmp dword [esp + 0x28], eax
jne 0x4158ef
add edi, 4
cmp edi, 0xc
jne 0x4158b3
mov edi, dword [esp + 0x48]
mov dword [esp], edi
call fcn.0041a464
mov dword [esp], edi
mov dword [esp + 0x58], eax
call fcn.0041a464
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x38]
test ax, ax
je 0x415997
sub eax, 1
movzx eax, ax
lea edx, [eax*4 + 4]
xor eax, eax
mov edi, dword [esp + 0x58]
mov dword [edi + eax], 0xffffffff
mov edi, dword [esp + 0x3c]
mov dword [edi + eax], 0
add eax, 4
cmp edx, eax
jne 0x41597a
xor ebx, ebx
xor esi, esi
xor eax, eax
mov edi, dword [esp + 0x58]
lea ecx, [eax*4]
shl eax, 4
lea edx, [edi + ecx]
mov dword [esp + 0x28], edx
mov dword [edx], ebx
mov edx, dword [esp + 0x2c]
add edx, eax
cmp word [edx + 6], 0
je 0x4159cb
movzx eax, word [edx + 0xa]
cmp dword [edi + eax*4], 0xffffffff
je 0x4159f0
movzx eax, word [edx + 8]
test ax, ax
je 0x4159e2
movzx edx, word [edx + 4]
mov edi, dword [esp + 0x3c]
add dword [edi + edx*4], 1
jmp 0x41599d
sub ebx, 1
cmp ebx, 0xffffffff
je 0x415a08
movzx eax, word [edx + 4]
jmp 0x41599d
mov edi, dword [esp + 0x28]
add ebx, 1
cmp esi, ebx
cmovl esi, ebx
mov dword [edi], ebx
mov edi, dword [esp + 0x3c]
add dword [edi + ecx], 1
jmp 0x41599d
lea eax, [esi - 1]
cmp eax, 0xffffffff
mov dword [esp + 0x40], eax
je 0x415aff
movzx eax, word [esp + 0x38]
sub eax, 1
movzx eax, ax
lea eax, [eax*4 + 4]
mov dword [esp + 0x44], eax
cmp word [esp + 0x38], 0
mov dword [esp + 0x34], 0
jne 0x415a56
jmp 0x415aed
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x44], eax
je 0x415aed
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
cmp dword [eax + edi], esi
jne 0x415a43
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + edi*4 + 0xa]
test ax, ax
je 0x415a43
mov edi, dword [ebp + edi]
mov dword [esp + 0x30], edi
xor edi, edi
nop
mov esi, dword [esp + 0x30]
mov edx, dword [esi + edi]
mov dword [esp + 0x28], edx
xor edx, edx
mov ecx, dword [ebp + eax*4]
mov ecx, dword [ecx + edi]
mov ebx, dword [ecx + edx]
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx]
mov ecx, dword [ecx + edx]
cmp esi, 0xffffffff
je 0x415aab
cmp esi, dword [ecx]
jge 0x415aab
mov dword [ecx], esi
mov ebx, dword [ebx + 4]
cmp dword [ecx + 4], ebx
jge 0x415ab6
mov dword [ecx + 4], ebx
mov esi, dword [esp + 0x2c]
add edx, 4
shl eax, 4
cmp edx, 0xc
movzx eax, word [esi + eax + 8]
jne 0x415a8d
add edi, 4
cmp edi, 0x400
jne 0x415a80
test ax, ax
jne 0x415a7d
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x44], eax
jne 0x415a56
sub dword [esp + 0x40], 1
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
jne 0x415a2e
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0041a464
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0041a464
movzx esi, word [esp + 0x38]
mov dword [esp + 0x4c], eax
test si, si
je 0x415b3d
lea edx, [esi - 1]
movzx edx, dx
lea edx, [eax + edx + 1]
mov byte [eax], 0
add eax, 1
cmp edx, eax
jne 0x415b33
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edi, dword [edi + eax*4]
lea ecx, [eax*4]
shl eax, 4
add eax, dword [esp + 0x2c]
test edi, edi
je 0x415b83
movzx esi, word [eax + 0xa]
mov edx, dword [esp + 0x4c]
add edx, esi
mov ebx, esi
mov dword [esp + 0x40], esi
cmp byte [edx], 0
je 0x41700e
movzx ebx, word [eax + 8]
test bx, bx
je 0x415b95
movzx eax, bx
mov dword [esp + 0x40], eax
jmp 0x415b4d
sub dword [esp + 0x44], 1
mov edi, dword [esp + 0x44]
cmp edi, 0xffffffff
je 0x415bad
movzx eax, word [eax + 4]
mov dword [esp + 0x40], eax
jmp 0x415b4d
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0041a474
mov edi, dword [esp + 0x48]
mov dword [esp + 0x7c], 0
mov dword [esp], edi
call fcn.0041a464
mov dword [esp], edi
mov dword [esp + 0x5c], eax
call fcn.0041a464
mov dword [esp], edi
mov dword [esp + 0x40], eax
call fcn.0041a464
cmp word [esp + 0x38], 0
mov dword [esp + 0x30], eax
je 0x415c13
movzx eax, word [esp + 0x38]
mov edi, dword [esp + 0x30]
mov edx, edi
sub eax, 1
movzx eax, ax
lea eax, [edi + eax*4 + 4]
mov dword [edx], 0xffffffff
add edx, 4
cmp eax, edx
jne 0x415c06
mov dword [esp], 0x20
mov dword [esp + 0xc90], 0
xor ebx, ebx
call fcn.0041a464
mov edi, dword [esp + 0x5c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [edi], eax
mov dword [eax + 0x14], 3
xor edi, edi
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x3c]
lea eax, [ebx*4]
mov ebp, dword [esi + ebx*4]
test ebp, ebp
je 0x415db5
mov esi, dword [esp + 0x30]
add esi, eax
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x4168a4
cmp ebp, 1
jle 0x415db5
mov edx, dword [esp + 0x54]
mov edx, dword [edx + eax]
movzx ebp, word [edx + ebp*2 - 2]
cmp ecx, ebp
je 0x415db5
movzx eax, word [edx]
cmp ecx, eax
je 0x416b65
mov eax, 1
add eax, 1
movzx ebx, word [edx + eax*2 - 2]
mov ebp, eax
cmp ecx, ebx
jne 0x415ccc
movzx ebx, word [edx + ebp*2]
mov eax, dword [esp + 0xc90]
mov ebp, ebx
mov dword [esi], ebx
mov esi, dword [esp + 0x5c]
shl ebp, 4
add ebp, dword [esp + 0x2c]
lea esi, [esi + ebx*4]
test byte [ebp + 0xd], 1
je 0x41672b
test eax, eax
je 0x416940
lea eax, [esp + 0xc90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
mov dword [esp], 0
mov ecx, 2
mov dword [esp + 0x10], eax
xor edx, edx
xor eax, eax
call fcn.00413510
mov dword [esi], eax
test byte [ebp + 0xd], 1
jne 0x415c78
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x415d62
jmp 0x4170e6
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x415d60
lea ebp, [eax + 0x1c]
mov dword [esp], 0x20
add edi, 1
call fcn.0041a464
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 3
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp], eax
mov dword [esi], eax
jmp 0x415c78
mov esi, dword [esp + 0x40]
sub edi, 1
add esi, eax
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x415dd2
jmp 0x416fbb
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x415dd0
lea ebp, [eax + 0x1c]
mov dword [esp], 0x20
call fcn.0041a464
mov dword [eax + 0x10], ebx
mov dword [eax], 0
shl ebx, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 2
cmp edi, 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 4
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [esi], eax
mov dword [ebp], eax
mov eax, dword [esp + 0x2c]
movzx ebx, word [eax + ebx + 4]
jne 0x415c78
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
xor edi, edi
mov dword [esp], eax
call fcn.0041a474
mov dword [esp + 0x38], edi
mov edi, ebp
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x18b0]
mov ebx, dword [esp + 0x18b0]
movzx esi, word [esi + eax*8 + 0x10]
cmp si, word [ebx + eax*8 + 0x14]
mov word [esp + 0x64], si
jae 0x41605c
shl eax, 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0x64]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
imul eax, eax, 0x68
add eax, dword [esp + 0x18b0]
movzx ebp, word [eax + 0x3e]
movzx ecx, word [eax + 0x34]
movzx edx, byte [eax + 0x2f]
mov ebx, dword [esi + ebp*4]
mov dword [esp + 0x60], ebp
lea esi, [edx + ecx*8 - 8]
movzx edx, word [eax + 0x30]
movzx ecx, word [eax + 0x32]
movzx eax, byte [eax + 0x2e]
imul edx, ecx
mov byte [esp + 0x28], al
lea edx, [esi + edx - 1]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ebp*4]
test edx, edx
jle 0x41670f
movzx eax, byte [esp + 0x28]
mov ecx, dword [esp + 0x60]
lea ebp, [eax*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], ebp
mov eax, dword [eax + ecx*4]
lea edx, [eax + edx*2]
mov dword [esp + 0x4c], edx
jmp 0x415f18
add eax, 2
cmp dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + edx*4]
je 0x415f30
movzx edx, word [eax]
mov ebp, dword [esp + 0x44]
mov ecx, dword [edi + edx*4]
mov ecx, dword [ecx + ebp]
mov ebp, dword [esp + 0x34]
mov ecx, dword [ecx + ebp]
cmp dword [ecx], esi
jle 0x415f08
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x14]
lea ecx, [edx - 3]
cmp ecx, 1
jbe 0x415f73
lea esi, [esi]
cmp esi, dword [eax + 4]
jg 0x415f63
movzx ecx, byte [esp + 0x28]
cmp byte [eax + 0x18], cl
jne 0x415f63
cmp edx, ebp
je 0x415f73
mov ebx, eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0x14]
lea ecx, [edx - 3]
cmp ecx, 1
ja 0x415f50
imul ebp, dword [esp + 0x30], 0x68
mov dword [esp + 0xc90], ebx
mov eax, dword [esp + 0x60]
add ebp, dword [esp + 0x18b0]
test byte [ebp + 0x44], 0x20
jne 0x416140
mov edx, dword [esp + 0x68]
test edx, edx
je 0x4166d7
lea eax, [esp + 0xc90]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 8], 6
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, esi
call fcn.00413510
lea eax, [esp + 0xc90]
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x10], eax
movzx eax, byte [ebp + 0x2e]
mov dword [esp + 8], 5
mov dword [esp + 0xc], eax
movzx eax, word [ebp + 0x3e]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, esi
call fcn.00413510
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xc90], eax
imul eax, dword [esp + 0x30], 0x68
add eax, dword [esp + 0x18b0]
test byte [eax + 0x44], 0x20
je 0x4166cb
mov esi, dword [esp + 0x18b0]
mov ebx, dword [esp + 0x38]
add word [esp + 0x64], 1
movzx eax, word [esp + 0x64]
cmp word [esi + ebx*8 + 0x14], ax
ja 0x415e88
add dword [esp + 0x38], 1
mov eax, dword [esp + 0x38]
cmp eax, 3
jne 0x415e4a
mov ebp, edi
xor eax, eax
lea edx, [eax + 0x400]
nop
lea esi, [esi]
mov dword [esp + eax + 0x90], 0xffffffff
mov dword [esp + eax + 0xc90], 0
add eax, 4
cmp edx, eax
jne 0x416080
cmp edx, 0xc00
jne 0x416072
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x4161f8
mov edi, eax
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 0x14]
cmp eax, 2
ja 0x4161e6
mov ebp, dword [edi]
cmp ebp, 0xffffffff
je 0x4161e6
movzx ecx, byte [edi + 0x18]
mov edx, eax
shl edx, 8
add edx, ecx
mov byte [esp + 0x28], cl
mov esi, dword [esp + edx*4 + 0x90]
lea ebx, [esi + 1]
cmp ebp, ebx
mov dword [esp + 0x30], ebx
je 0x4161d0
mov edx, dword [esp + edx*4 + 0xc90]
test edx, edx
je 0x4161d0
cmp ebp, dword [edx]
je 0x4161d0
mov dword [esp + 0x48], ecx
mov ebx, dword [edx + 0x1c]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x38], ecx
sub ecx, 3
cmp ecx, 1
jbe 0x41618b
cmp esi, dword [ebx + 4]
jg 0x41613c
movzx ecx, byte [esp + 0x28]
cmp byte [ebx + 0x18], cl
jne 0x41613c
cmp eax, dword [esp + 0x38]
je 0x41618b
mov edx, ebx
jmp 0x416115
lea eax, [esp + 0xc90]
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], 6
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
test ecx, ecx
mov ecx, 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, esi
je 0x4168f0
call fcn.00413510
jmp 0x416025
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
lea esi, [esp + 0x80]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], edx
lea edx, [ebp - 1]
mov dword [esp + 0x10], esi
mov dword [esp + 4], 0
mov dword [esp + 0xc], ecx
mov dword [esp], 0xffffffff
mov ecx, 1
call fcn.00413510
movzx ecx, byte [edi + 0x18]
mov eax, dword [edi + 0x14]
shl eax, 8
add ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + ecx*4 + 0xc90], edi
mov dword [esp + ecx*4 + 0x90], eax
mov edi, dword [edi + 0x1c]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jne 0x4160be
mov ebp, dword [esp + 0x44]
lea esi, [esp + 0x90]
xor edi, edi
mov dword [esp + 0x30], ebp
mov eax, edi
xor ebx, ebx
shl eax, 8
mov dword [esp + 0x28], eax
jmp 0x41621d
add ebx, 1
cmp ebx, 0x100
je 0x416285
mov ebp, dword [esi + ebx*4]
cmp ebp, 0xffffffff
je 0x416212
lea eax, [ebp + 1]
mov ecx, eax
sar ecx, 0x1f
shr ecx, 0x1d
lea edx, [eax + ecx]
and edx, 7
sub edx, ecx
mov ecx, 8
sub ecx, edx
cmp ecx, 7
mov edx, ecx
jg 0x416212
mov ecx, dword [esp + 0x28]
add edx, ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xffffffff
add ecx, ebx
add ebx, 1
lea ecx, [esp + ecx*4 + 0xc90]
mov dword [esp + 0x10], ecx
mov ecx, 1
call fcn.00413510
cmp ebx, 0x100
jne 0x41621d
add edi, 1
add esi, 0x400
cmp edi, 3
jne 0x416205
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x18b0]
xor edx, edx
lea esi, [esp + 0x84]
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
mov byte [esp + 0x60], 0
mov eax, dword [ebp + 0x14]
cmp eax, 3
mov dword [esp + 0x34], eax
je 0x416845
cmp dword [esp + 0x34], 4
je 0x416819
cmp dword [esp + 0x34], 5
mov ebx, dword [ebp + 0xc]
je 0x4167c0
cmp dword [esp + 0x34], 6
je 0x416a0a
cmp dword [esp + 0x34], 7
je 0x417266
cmp dword [ebp + 8], 1
je 0x4171ee
imul eax, ebx, 0x68
lea edx, [edi + eax]
mov dword [esp + 0x64], edx
test byte [edx + 0x44], 4
movzx eax, byte [edx + 0x2e]
je 0x416b96
cmp byte [esp + 0x60], al
je 0x41636e
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x84
call fcn.00413660
mov edx, dword [esp + 0x64]
movzx eax, byte [edx + 0x2e]
mov byte [esp + 0x60], al
imul eax, ebx, 0x68
add eax, edi
mov dword [esp + 0x64], eax
movzx eax, word [eax + 0x2c]
cmp ax, word [esp + 0x38]
je 0x4163a0
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 4
call fcn.00413660
mov eax, dword [esp + 0x64]
movzx eax, word [eax + 0x2c]
mov word [esp + 0x38], ax
imul eax, ebx, 0x68
lea ecx, [edi + eax]
mov dword [esp + 0x64], ecx
test byte [ecx + 0x44], 0x10
je 0x416b6f
movzx eax, word [ecx + 0x76]
movzx edx, word [ecx + 0x74]
sub eax, edx
add dword [esp + 0x30], eax
cmp byte [esp + 0x28], 0
jne 0x4163f3
movzx edx, word [ecx + 0x68]
mov eax, 0x18
xor ecx, ecx
mov dword [esp], esi
call fcn.00413660
mov ecx, dword [esp + 0x64]
mov eax, 0x28
movzx edx, word [ecx + 0x6a]
xor ecx, ecx
mov dword [esp], esi
call fcn.00413660
imul eax, ebx, 0x68
lea edx, [edi + eax]
mov dword [esp + 0x28], edx
cmp byte [edx + 0x44], 0
movzx eax, word [edx + 0x70]
js 0x41711c
test ax, ax
je 0x416421
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x38
call fcn.00413660
imul eax, ebx, 0x68
lea edx, [edi + eax]
mov dword [esp + 0x28], edx
test byte [edx + 0x44], 0x40
movzx eax, word [edx + 0x6c]
jne 0x4170ef
test ax, ax
je 0x41644f
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x78
call fcn.00413660
mov edx, dword [ebp + 0x1c]
test edx, edx
mov dword [esp + 0x28], edx
je 0x416467
mov eax, dword [esp + 0x34]
cmp eax, dword [edx + 0x14]
je 0x417149
imul eax, ebx, 0x68
add eax, edi
mov edx, dword [eax + 0x78]
test edx, edx
jne 0x41647d
cmp dword [eax + 0x7c], 0
je 0x4171c4
mov ecx, edx
mov dword [esp], esi
mov eax, 0x14
sar ecx, 0x1f
call fcn.00413660
imul eax, ebx, 0x68
mov edx, dword [edi + eax + 0x7c]
mov dword [esp], esi
mov eax, 0x24
mov ecx, edx
sar ecx, 0x1f
call fcn.00413660
imul ebp, ebx, 0x68
xor ecx, ecx
mov eax, 0x74
add ebp, edi
movzx edx, word [ebp + 0x30]
mov dword [esp], esi
call fcn.00413660
test byte [ebp + 0x44], 0x10
movzx edx, word [ebp + 0x32]
jne 0x416fdf
add edx, dword [esp + 0x30]
mov dword [esp], esi
mov eax, 0x94
mov ecx, edx
sar ecx, 0x1f
call fcn.00413660
cmp dword [esp + 0x48], 0
je 0x4164fc
mov dword [esp], esi
xor edx, edx
xor ecx, ecx
mov eax, 0x34
call fcn.00413660
cmp dword [esp + 0x44], 0
je 0x416514
mov dword [esp], esi
xor edx, edx
xor ecx, ecx
mov eax, 0x44
call fcn.00413660
cmp dword [esp + 0x4c], 0
je 0x41652c
mov dword [esp], esi
xor edx, edx
xor ecx, ecx
mov eax, 0x54
call fcn.00413660
cmp dword [esp + 0x50], 0
je 0x416544
mov dword [esp], esi
xor edx, edx
xor ecx, ecx
mov eax, 0x64
call fcn.00413660
cmp dword [esp + 0x34], 0
je 0x416fc4
cmp dword [esp + 0x34], 1
je 0x416ff3
cmp dword [esp + 0x34], 2
jne 0x416577
imul ebx, ebx, 0x68
xor ecx, ecx
mov eax, 0xb0
mov edx, dword [edi + ebx + 0x38]
mov dword [esp], esi
call fcn.00413660
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x7c]
mov ebp, dword [eax + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x7c], ebp
call fcn.0041a474
test ebp, ebp
jne 0x4162ea
mov eax, dword [esp + 0x18b0]
mov ebp, dword [esp + 0x68]
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x416675
mov edi, dword [esp + 0x3c]
sub eax, 1
mov dword [esp + 0x28], ebp
movzx eax, ax
mov dword [esp + 0x38], ebp
lea eax, [ebp + eax*4 + 4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
lea ebx, [esi + 0x400]
mov edi, esi
nop
lea esi, [esi]
mov ebp, dword [edi]
add edi, 4
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [ebp + 4]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041a474
mov dword [esp], ebp
call fcn.0041a474
cmp ebx, edi
jne 0x416610
mov dword [esp], esi
call fcn.0041a474
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x416718
add dword [esp + 0x28], 4
add dword [esp + 0x2c], 4
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], 4
cmp eax, dword [esp + 0x34]
jne 0x4165fd
mov ebp, dword [esp + 0x38]
mov dword [esp], ebp
call fcn.0041a474
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0041a474
mov eax, dword [esp + 0x8c]
add esp, 0x189c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ebx, byte [eax + 0x2e]
movzx eax, word [eax + 0x3e]
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0xc90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
call fcn.00413510
jmp 0x41603b
mov dword [esp + 0x50], eax
jmp 0x415f30
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0041a474
jmp 0x416658
test eax, eax
je 0x415d49
lea eax, [esp + 0xc90]
mov ecx, 2
xor edx, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 0x10], eax
mov dword [esp + 4], ebx
xor eax, eax
mov dword [esp], 0
call fcn.00413510
lea eax, [esp + 0xc90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 5
mov dword [esp + 4], ebx
mov dword [esp], 0
mov ecx, 2
mov dword [esp + 0x10], eax
xor edx, edx
xor eax, eax
call fcn.00413510
mov dword [esi], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc90], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x7c], eax
jmp 0x415d3f
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x416b2a
mov ebx, dword [esp + 0x2c]
shl eax, 4
movzx eax, word [ebx + eax + 2]
cmp ax, word [esp + 0x38]
je 0x416800
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 4
call fcn.00413660
mov eax, dword [ebp + 0x10]
shl eax, 4
movzx eax, word [ebx + eax + 2]
mov word [esp + 0x38], ax
mov dword [esp], esi
mov edx, 1
xor ecx, ecx
mov eax, 0xa8
call fcn.00413660
jmp 0x4165a4
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x88]
jae 0x4165a4
mov edx, dword [esp + 0x84]
mov byte [edx + eax], 0xc0
add dword [esp + 0x8c], 1
jmp 0x4165a4
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x2c]
shl eax, 4
add eax, ebx
movzx edx, word [eax + 2]
cmp dx, word [esp + 0x38]
je 0x41687c
xor ecx, ecx
mov dword [esp], esi
mov eax, 4
call fcn.00413660
mov eax, dword [ebp + 0x10]
shl eax, 4
add eax, ebx
movzx ebx, word [eax + 2]
mov word [esp + 0x38], bx
cmp byte [esp + 0x28], 0
je 0x416b03
movzx edx, byte [eax + 0xc]
xor ecx, ecx
mov dword [esp], esi
mov eax, 0xa0
call fcn.00413660
mov byte [esp + 0x28], 0
jmp 0x4165a4
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + eax]
movzx ebx, word [eax]
mov eax, dword [esp + 0x7c]
mov edx, ebx
mov dword [esi], ebx
mov esi, dword [esp + 0x5c]
shl edx, 4
test byte [ecx + edx + 0xd], 1
lea esi, [esi + ebx*4]
je 0x4168d9
cmp dword [esp + 0xc90], 0
je 0x416a8d
test eax, eax
jne 0x4168e4
jmp 0x4170e6
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x4168e2
jmp 0x415d69
call fcn.00413510
lea ecx, [esp + 0xc90]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
movzx eax, byte [ebp + 0x2e]
xor ecx, ecx
mov dword [esp + 8], 7
mov dword [esp + 0xc], eax
movzx eax, word [ebp + 0x3e]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, esi
call fcn.00413510
mov eax, dword [esp + 0xc90]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
jmp 0x416025
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [esp + 0xc90], eax
jne 0x416956
jmp 0x416a6c
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x416954
lea ebp, [eax + 0x1c]
mov dword [esp], 0x20
call fcn.0041a464
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 6
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x4169b2
jmp 0x416a84
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x4169b0
lea ebp, [eax + 0x1c]
mov dword [esp], 0x20
call fcn.0041a464
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp], eax
mov dword [esi], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
jmp 0x415c78
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x416a2c
mov edx, dword [esp + 0x2c]
shl eax, 4
xor ecx, ecx
movzx edx, word [edx + eax]
mov dword [esp], esi
mov eax, 8
call fcn.00413660
cmp dword [ebp + 0xc], 0
je 0x4165a4
imul ebx, ebx, 0x68
xor ecx, ecx
add ebx, edi
test byte [ebx + 0x44], 0x10
movzx edx, word [ebx + 0x68]
mov dword [esp], esi
je 0x416a75
mov eax, 0x18
call fcn.00413660
movzx edx, word [ebx + 0x6a]
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x28
call fcn.00413660
jmp 0x4165a4
lea ebp, [esp + 0x7c]
jmp 0x416960
mov eax, 8
call fcn.00413660
jmp 0x4165a4
lea ebp, [esp + 0x7c]
jmp 0x4169bc
test eax, eax
mov dword [esp + 0xc90], eax
jne 0x416aa2
jmp 0x416b24
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x416aa0
lea ebp, [eax + 0x1c]
mov dword [esp], 0x20
call fcn.0041a464
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 6
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x416af7
jmp 0x416a84
mov eax, edx
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x416af5
jmp 0x4169b9
movzx edx, word [eax]
xor ecx, ecx
mov dword [esp], esi
mov eax, 8
call fcn.00413660
mov eax, dword [ebp + 0x10]
shl eax, 4
add eax, dword [esp + 0x2c]
jmp 0x416887
lea ebp, [esp + 0x7c]
jmp 0x416aac
test ebx, ebx
je 0x416800
imul ebx, ebx, 0x68
add ebx, edi
movzx eax, word [ebx + 0x2c]
cmp ax, word [esp + 0x38]
je 0x416800
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 4
call fcn.00413660
movzx eax, word [ebx + 0x2c]
mov word [esp + 0x38], ax
jmp 0x416800
mov ebp, 1
jmp 0x415cda
cmp byte [esp + 0x28], 0
jne 0x4163f3
mov eax, dword [esp + 0x64]
xor ecx, ecx
movzx edx, word [eax + 0x68]
mov dword [esp], esi
mov eax, 8
call fcn.00413660
jmp 0x4163f3
cmp byte [esp + 0x60], al
je 0x416bb9
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x84
call fcn.00413660
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0x2e]
mov byte [esp + 0x60], al
imul eax, ebx, 0x68
add eax, edi
mov dword [esp + 0x64], eax
movzx eax, word [eax + 0x2c]
cmp ax, word [esp + 0x38]
je 0x416beb
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 4
call fcn.00413660
mov eax, dword [esp + 0x64]
movzx eax, word [eax + 0x2c]
mov word [esp + 0x38], ax
cmp byte [esp + 0x28], 0
jne 0x416c2f
imul eax, ebx, 0x68
xor ecx, ecx
add eax, edi
mov dword [esp + 0x28], eax
test byte [eax + 0x44], 0x10
movzx edx, word [eax + 0x68]
mov dword [esp], esi
je 0x417257
mov eax, 0x18
call fcn.00413660
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x6a]
mov dword [esp], esi
mov eax, 0x28
call fcn.00413660
imul eax, ebx, 0x68
lea edx, [edi + eax]
mov dword [esp + 0x28], edx
cmp byte [edx + 0x44], 0
movzx eax, word [edx + 0x70]
js 0x416f8e
test ax, ax
je 0x416c5d
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x38
call fcn.00413660
imul eax, ebx, 0x68
lea edx, [edi + eax]
mov dword [esp + 0x28], edx
test byte [edx + 0x44], 0x40
movzx eax, word [edx + 0x6c]
jne 0x416e05
test ax, ax
je 0x416c8b
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x78
call fcn.00413660
imul eax, ebx, 0x68
add eax, edi
test byte [eax + 0x38], 2
jne 0x416ca4
movzx edx, word [eax + 0x76]
add edx, 1
sub edx, dword [eax + 0x74]
mov word [eax + 0x32], dx
mov edx, dword [ebp + 0x1c]
imul eax, ebx, 0x68
add eax, edi
test edx, edx
mov ebp, dword [eax + 0x7c]
je 0x416cc0
mov ecx, dword [esp + 0x34]
cmp ecx, dword [edx + 0x14]
je 0x416e32
mov edx, ebp
mov ecx, ebp
mov dword [esp], esi
imul ebp, ebx, 0x68
sar ecx, 0x1f
mov eax, 0x14
call fcn.00413660
mov eax, 0x24
add ebp, edi
mov edx, dword [ebp + 0x80]
mov dword [esp], esi
mov ecx, edx
sar ecx, 0x1f
call fcn.00413660
mov edx, dword [ebp + 0x84]
cmp edx, dword [esp + 0x48]
jne 0x416d09
mov eax, dword [esp + 0x44]
cmp eax, dword [ebp + 0x88]
je 0x416d4c
imul ebp, ebx, 0x68
mov ecx, edx
mov dword [esp], esi
sar ecx, 0x1f
mov eax, 0x34
call fcn.00413660
add ebp, edi
mov edx, dword [ebp + 0x88]
mov eax, dword [ebp + 0x84]
mov dword [esp], esi
mov ecx, edx
mov dword [esp + 0x48], eax
mov eax, 0x44
sar ecx, 0x1f
call fcn.00413660
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x44], eax
imul ebp, ebx, 0x68
add ebp, edi
mov edx, dword [ebp + 0x90]
cmp edx, dword [esp + 0x4c]
je 0x416d76
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x54
call fcn.00413660
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x4c], eax
imul ebp, ebx, 0x68
add ebp, edi
mov edx, dword [ebp + 0x8c]
cmp edx, dword [esp + 0x50]
je 0x416da0
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x64
call fcn.00413660
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x50], eax
imul ebx, ebx, 0x68
xor ecx, ecx
mov eax, 0x74
add ebx, edi
movzx edx, word [ebx + 0x30]
mov dword [esp], esi
call fcn.00413660
movzx edx, word [ebx + 0x32]
mov eax, 0x94
mov dword [esp], esi
add edx, dword [esp + 0x30]
mov ecx, edx
sar ecx, 0x1f
call fcn.00413660
cmp dword [esp + 0x34], 0
je 0x416f6a
cmp dword [esp + 0x34], 1
je 0x416f46
cmp dword [esp + 0x34], 2
je 0x416f22
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
jmp 0x4165a4
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x88
call fcn.00413660
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x6e]
mov dword [esp], esi
mov eax, 0x98
call fcn.00413660
jmp 0x416c8b
cmp dword [edx + 8], 0
jne 0x416cc0
mov edx, dword [edx + 0xc]
mov dword [esp + 0x28], edx
imul edx, edx, 0x68
add edx, edi
movzx ecx, byte [edx + 0x44]
test cl, 4
jne 0x416cc0
test byte [eax + 0x44], 0x10
jne 0x416cc0
and cl, 0x10
jne 0x416cc0
movzx ecx, word [eax + 0x2c]
cmp word [edx + 0x2c], cx
jne 0x416cc0
cmp dword [edx + 0x7c], ebp
jne 0x416cc0
mov ecx, dword [eax + 0x80]
cmp dword [edx + 0x80], ecx
jne 0x416cc0
mov eax, dword [eax + 0x84]
cmp dword [edx + 0x84], eax
jne 0x416cc0
mov eax, edx
imul edx, ebx, 0x68
add edx, edi
mov ecx, dword [edx + 0x88]
cmp dword [eax + 0x88], ecx
jne 0x416cc0
mov ecx, dword [edx + 0x90]
cmp dword [eax + 0x90], ecx
jne 0x416cc0
mov ecx, dword [edx + 0x8c]
cmp dword [eax + 0x8c], ecx
jne 0x416cc0
movzx ecx, word [edx + 0x30]
cmp word [eax + 0x30], cx
jne 0x416cc0
movzx ecx, byte [edx + 0x2e]
cmp byte [eax + 0x2e], cl
jne 0x416cc0
mov ecx, dword [edx + 0x38]
cmp dword [eax + 0x38], ecx
jne 0x416cc0
cmp word [eax + 0x32], 1
jne 0x416cc0
cmp word [edx + 0x32], 1
jne 0x416cc0
jmp 0x4171b5
mov edx, dword [ebx + 0x38]
xor ecx, ecx
mov dword [esp], esi
mov eax, 0xb0
call fcn.00413660
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
jmp 0x4165a4
mov edx, dword [ebx + 0x38]
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x90
call fcn.00413660
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
jmp 0x4165a4
mov edx, dword [ebx + 0x38]
xor ecx, ecx
mov dword [esp], esi
mov eax, pe_nt_image_headers32
call fcn.00413660
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
jmp 0x4165a4
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x48
call fcn.00413660
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x72]
mov dword [esp], esi
mov eax, 0x58
call fcn.00413660
jmp 0x416c5d
lea ebp, [esp + 0x7c]
jmp 0x415ddc
imul ebx, ebx, 0x68
xor ecx, ecx
mov eax, pe_nt_image_headers32
mov edx, dword [edi + ebx + 0x38]
mov dword [esp], esi
call fcn.00413660
jmp 0x416577
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x94
call fcn.00413660
jmp 0x4164e4
imul ebx, ebx, 0x68
xor ecx, ecx
mov eax, 0x90
mov edx, dword [edi + ebx + 0x38]
mov dword [esp], esi
call fcn.00413660
jmp 0x416577
lea esi, [edi + edi]
mov byte [edx], 1
mov dword [esp + 0x28], ecx
mov dword [esp], esi
call fcn.0041a464
mov ecx, dword [esp + 0x28]
mov edx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov word [edx + esi - 2], bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx], edx
mov eax, dword [esp + 0x40]
shl eax, 4
movzx eax, word [ebx + eax + 8]
test ax, ax
je 0x417066
lea edx, [edx + esi - 4]
mov ebx, dword [esp + 0x2c]
mov word [edx], ax
shl eax, 4
sub edx, 2
movzx eax, word [ebx + eax + 8]
test ax, ax
jne 0x41704f
sub edi, 1
jle 0x4170dc
mov eax, dword [esp + 0x34]
lea eax, [eax + esi - 2]
xor esi, esi
mov dword [esp + 0x28], eax
xor ecx, ecx
mov eax, dword [esp + 0x34]
nop
movzx edx, word [eax]
mov edi, edx
mov edx, dword [ebp + edx*4]
mov edx, dword [edx + ecx]
mov edx, dword [edx + esi]
mov edx, dword [edx]
cmp edx, 0xffffffff
je 0x4170c0
movzx ebx, word [eax + 2]
mov word [esp + 0x30], bx
mov ebx, dword [ebp + ebx*4]
mov ebx, dword [ebx + ecx]
mov ebx, dword [ebx + esi]
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
je 0x4170c0
cmp edx, ebx
jle 0x4170c0
movzx ebx, word [esp + 0x30]
mov word [eax + 2], di
mov word [eax], bx
add eax, 2
cmp dword [esp + 0x28], eax
jne 0x417080
add ecx, 4
cmp ecx, 0x400
jne 0x41707b
add esi, 4
cmp esi, 0xc
jne 0x417079
add dword [esp + 0x44], 1
jmp 0x415b4d
lea ebp, [esp + 0x7c]
jmp 0x415d6c
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x88
call fcn.00413660
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x6e]
mov dword [esp], esi
mov eax, 0x98
call fcn.00413660
jmp 0x41644f
mov edx, eax
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x48
call fcn.00413660
mov eax, dword [esp + 0x28]
xor ecx, ecx
movzx edx, word [eax + 0x72]
mov dword [esp], esi
mov eax, 0x58
call fcn.00413660
jmp 0x416421
cmp dword [edx + 8], 0
jne 0x416467
imul edx, dword [edx + 0xc], 0x68
add edx, edi
movzx eax, byte [edx + 0x44]
test al, 4
mov ecx, eax
je 0x416467
imul eax, ebx, 0x68
add eax, edi
test byte [eax + 0x44], 0x10
jne 0x416467
and cl, 0x10
jne 0x416467
movzx ecx, word [eax + 0x2c]
cmp word [edx + 0x2c], cx
jne 0x416467
movzx ecx, byte [eax + 0x2e]
cmp byte [edx + 0x2e], cl
jne 0x416467
mov eax, dword [eax + 0x38]
cmp dword [edx + 0x38], eax
jne 0x416467
mov ebx, dword [esp + 0x28]
mov eax, dword [ebp]
cmp dword [ebx], eax
je 0x416dfb
add dword [esp + 0x30], 1
mov byte [esp + 0x28], 0
jmp 0x4165a4
xor edx, edx
xor ecx, ecx
mov dword [esp], esi
mov eax, 0x14
call fcn.00413660
mov dword [esp], esi
mov edx, 1
xor ecx, ecx
mov eax, 0x24
call fcn.00413660
jmp 0x4164a8
mov edx, dword [ebp + 4]
sub edx, dword [ebp]
mov eax, 0x74
mov dword [esp], esi
add edx, 1
mov ecx, edx
sar ecx, 0x1f
call fcn.00413660
xor ecx, ecx
mov dword [esp], esi
mov edx, 1
mov eax, 0x94
call fcn.00413660
cmp dword [esp + 0x34], 0
je 0x4172a2
cmp dword [esp + 0x34], 1
je 0x417281
cmp dword [esp + 0x34], 2
mov dword [esp + 0x30], 0
jne 0x4165a4
mov dword [esp], esi
mov edx, 3
xor ecx, ecx
mov eax, 0xb0
call fcn.00413660
jmp 0x4165a4
mov eax, 8
call fcn.00413660
jmp 0x416c2f
mov dword [esp], esi
xor edx, edx
xor ecx, ecx
mov eax, 0xa8
call fcn.00413660
mov byte [esp + 0x28], 1
jmp 0x4165a4
mov dword [esp], esi
mov edx, 3
xor ecx, ecx
mov eax, 0x90
call fcn.00413660
mov dword [esp + 0x30], 0
jmp 0x4165a4
mov dword [esp], esi
mov edx, 3
xor ecx, ecx
mov eax, pe_nt_image_headers32
call fcn.00413660
mov dword [esp + 0x30], 0
jmp 0x4165a4