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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0xc]
add eax, 0x528
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov dword [esp], 0
call eax
sub esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
movzx edx, word [eax + 4]
mov eax, dword [ebp - 0x50]
movzx eax, word [eax + 4]
cmp dx, ax
jne 0x418361
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x50]
add eax, 0x1000
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call edx
sub esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x418364
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0041a133
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0x44]
add eax, edx
add eax, 0x18
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], 0
jmp 0x417cce
mov edx, dword [ebp - 0x2c]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x3c]
lea ebx, [edx + eax]
mov edx, dword [ebp - 0x2c]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0041a133
add dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x2c]
ja 0x417c6a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xa0]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x417da4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x34]
neg eax
mov edx, eax
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x5c], eax
jmp 0x417d97
mov eax, dword [ebp - 0x24]
add eax, 8
mov dword [ebp - 0x20], eax
jmp 0x417d81
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 1]
and eax, 0xfffffff0
cmp al, 0x30
jne 0x417d6b
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
and ax, 0xfff
movzx eax, ax
add edx, eax
mov eax, dword [ebp - 0x38]
add edx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
and ax, 0xfff
movzx eax, ax
add ecx, eax
mov eax, dword [ebp - 0x38]
add eax, ecx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x5c]
add eax, ecx
mov dword [edx], eax
jmp 0x417d7d
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 1]
and eax, 0xfffffff0
test al, al
jne 0x418334
add dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, edx
cmp eax, dword [ebp - 0x20]
jne 0x417d20
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
jne 0x417d15
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x417ec7
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x417eb9
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call edx
sub esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
je 0x417eb4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
jns 0x417e43
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, ax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call edx
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x417ea7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test eax, eax
je 0x417e85
mov eax, dword [ebp - 0x68]
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041836a
test eax, eax
je 0x417e85
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd8]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x417ea7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x68]
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call edx
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
add dword [ebp - 0xc], 4
add dword [ebp - 0x10], 4
jmp 0x417e07
nop
add dword [ebp - 0x14], 0x14
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x417dca
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xe0]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x417fbc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x417fae
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call edx
sub esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x417fa6
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
je 0x417fa9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
test eax, eax
jns 0x417f6d
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, ax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call edx
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x417f9c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x68]
add eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call edx
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
add dword [ebp - 0xc], 4
add dword [ebp - 0x10], 4
jmp 0x417f35
nop
jmp 0x417faa
nop
add dword [ebp - 0x18], 0x20
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
jne 0x417eed
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc0]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x418017
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x418017
jmp 0x41800e
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call edx
sub esp, 0xc
add dword [ebp - 0x1c], 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x417fea
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, 3
jne 0x418216
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x78], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [ebp - 0x78]
call eax
sub esp, 0xc
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x30c]
test al, al
je 0x418338
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x418338
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x418338
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp - 0x84]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
add eax, 0x30c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.0041a251
test eax, eax
jne 0x41814e
mov eax, dword [ebp - 0x30]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x88]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x80]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x418158
sub dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
jne 0x4180db
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0041a105
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0041a105
cmp dword [ebp - 0x28], 0
je 0x418337
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x40c]
test al, al
je 0x418206
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x50c]
test eax, eax
je 0x4181d9
mov eax, dword [ebp + 0xc]
lea edx, [eax + 0x40c]
lea eax, [ebp - 0x29a]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00416751
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x50c]
test eax, eax
je 0x4181ee
lea eax, [ebp - 0x29a]
jmp 0x4181f6
mov eax, dword [ebp + 0xc]
add eax, 0x40c
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
sub esp, 4
jmp 0x418338
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
call eax
jmp 0x418338
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x40c]
test al, al
je 0x41825b
mov eax, dword [ebp + 0xc]
lea edx, [eax + 0x40c]
lea eax, [ebp - 0x29a]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00416751
lea eax, [ebp - 0x29a]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00418479
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0041a105
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.0041a105
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test eax, eax
je 0x418305
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x418338
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x58]
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call edx
sub esp, 8
jmp 0x418338
mov dword [ebp - 0x94], 0x18
mov eax, dword [ebp - 0x94]
mov eax, dword fs:[eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x74]
call eax
sub esp, 4
jmp 0x418338
nop
jmp 0x418338
nop
cmp dword [ebp - 0x38], 0
je 0x418365
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov dword [esp + 8], 0xc000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call edx
sub esp, 0xc
jmp 0x418365
nop
jmp 0x418365
nop
mov ebx, dword [ebp - 4]
leave
ret