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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
jmp 0x410572
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x14], edx
jge 0x4105fb
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x4105f6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0040f630
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0040dea0
add esp, 0x18
movzx eax, al
test eax, eax
jne 0x4105f6
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
call edx
jmp 0x410560
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, 8
imul edx, ecx, 9
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 4], 0
je 0x41067e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
jmp 0x410662
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x41067e
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call ecx
jmp 0x410659
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28], 0
jne 0x410691
mov eax, 1
jmp 0x410759
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x54], 0
jne 0x410754
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0040f5a0
add esp, 8
test eax, eax
jne 0x4106d1
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x210]
call eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004102c0
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x410737
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x28]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00410760
add esp, 4
push 0x3e9
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call fcn.0040c476
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00410360
add esp, 8
call fcn.0040c127
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x10]
jmp 0x410754
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x28]
mov dword [ebp - 0x28], edx
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [ebp - 0x28]
mov eax, 1
mov esp, ebp
pop ebp
ret