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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
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 - 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
push 6
mov eax, dword [ebp + 8]
push eax
call fcn.00410980
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
je 0x410183
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
jmp 0x41005d
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x410071
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x410054
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x41008a
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x410183
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4100be
xor eax, eax
jmp 0x4102af
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x10]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 8]
add edx, dword [eax]
mov dword [ebp - 4], edx
jmp 0x4100ef
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41017e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
and edx, 0x80000000
je 0x410135
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x410133
xor eax, eax
jmp 0x4102af
jmp 0x410179
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
add edx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
add edx, 2
lea ecx, [ebp - 0x34]
call fcn.0040c0ef
mov ecx, dword [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x410179
xor eax, eax
jmp 0x4102af
jmp 0x4100dd
jmp 0x410081
mov ecx, 8
imul edx, ecx, 0xd
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 0x78]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
je 0x4102aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx]
mov dword [ebp - 0x18], ecx
jmp 0x4101bb
mov eax, dword [ebp - 0x18]
add eax, 0x20
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
je 0x4102aa
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 4]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4101ef
xor eax, eax
jmp 0x4102af
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jmp 0x410221
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x4102a5
mov edx, dword [ebp - 4]
mov eax, dword [edx]
and eax, 0x80000000
je 0x41025f
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x41025d
xor eax, eax
jmp 0x4102af
jmp 0x4102a0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 2
lea ecx, [ebp - 0x34]
call fcn.0040c0ef
mov edx, dword [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4102a0
xor eax, eax
jmp 0x4102af
jmp 0x41020f
jmp 0x4101b2
mov eax, 1
mov esp, ebp
pop ebp
ret