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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov dword [ebp - 0x4c], ecx
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.00407040
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x88]
neg edx
sbb edx, edx
add edx, 1
mov byte [eax], dl
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
push 0x578
mov ecx, dword [ebp - 0x4c]
call fcn.004078f0
mov dword [esi], eax
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x89]
neg edx
sbb edx, edx
add edx, 1
mov byte [eax], dl
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x24]
call eax
mov esi, eax
push 0x579
mov ecx, dword [ebp - 0x4c]
call fcn.004078f0
mov dword [esi], eax
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 0x68]
call eax
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x8a]
neg edx
sbb edx, edx
add edx, 1
mov byte [eax], dl
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0x6c]
call eax
mov esi, eax
push 0x57a
mov ecx, dword [ebp - 0x4c]
call fcn.004078f0
mov dword [esi], eax
mov ecx, dword [ebp - 0x4c]
movzx ebx, byte [ecx + 0x8c]
neg ebx
sbb ebx, ebx
neg ebx
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov byte [eax + 0x8d], bl
mov edx, dword [ebp - 0x4c]
movzx ebx, byte [edx + 0x8b]
neg ebx
sbb ebx, ebx
add ebx, 1
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov byte [eax + 0x91], bl
push 0x57b
mov ecx, dword [ebp - 0x4c]
call fcn.004078f0
mov esi, eax
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov dword [eax + 0x94], esi
mov eax, dword [ebp - 0x4c]
movzx ebx, byte [eax + 0x8d]
neg ebx
sbb ebx, ebx
add ebx, 1
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov byte [eax + 0x90], bl
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 0x34]
call eax
movzx ecx, al
test ecx, ecx
je 0x410a69
mov dword [ebp - 4], 0
jmp 0x4109b7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x3c]
call eax
cmp dword [ebp - 4], eax
jge 0x410a69
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
mov edx, dword [eax + 0x48]
call edx
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x94
call fcn.0042c9d0
neg eax
sbb eax, eax
add eax, 1
mov byte [esi], al
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0x4c]
call edx
mov esi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00407a20
mov dword [esi], eax
jmp 0x4109ae
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x78]
mov eax, dword [edx + 0x70]
call eax
movzx ecx, al
test ecx, ecx
je 0x410d7b
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e7a0
mov ecx, eax
call fcn.00486730
mov dword [ebp - 8], eax
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
push 0xf000
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e890
shr eax, 0xc
xor edx, edx
cmp eax, 2
sete dl
mov byte [esi], dl
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e6e0
mov ecx, eax
call fcn.00486730
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x410b32
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 0x78]
call eax
cmp dword [ebp - 0x10], eax
jge 0x410d7b
cmp dword [ebp - 0xc], 0
jne 0x410b6b
jmp 0x410d7b
push 0xf000
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e890
shr eax, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jle 0x410b97
mov edx, dword [ebp - 0x18]
sub edx, 2
mov dword [ebp - 0x18], edx
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 0x7c]
call eax
xor ecx, ecx
cmp dword [ebp - 0x18], 2
sete cl
mov byte [eax], cl
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e6e0
mov ecx, eax
call fcn.00486730
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410d56
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e8f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x410d31
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.00431360
cmp dword [ebp - 0x1c], eax
jae 0x410d31
push 0xf000
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e890
shr eax, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jle 0x410c5d
mov eax, dword [ebp - 0x20]
sub eax, 2
mov dword [ebp - 0x20], eax
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.00476e10
mov ecx, eax
call fcn.00424320
add eax, 8
mov ecx, eax
call fcn.00486730
push eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x88]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx + 0x90]
call eax
xor ecx, ecx
cmp dword [ebp - 0x20], 1
sete cl
mov byte [eax], cl
push 1
call fcn.00418eb0
mov ecx, eax
call fcn.00418e70
mov ecx, eax
call fcn.0041e8d0
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.00476e10
mov ecx, eax
call fcn.00424320
add eax, 8
mov ecx, eax
call fcn.00486730
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x8c]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.00476e10
mov ecx, eax
call fcn.00424320
mov edx, dword [eax + 0xc]
mov dword [esi], edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e720
mov ecx, eax
call fcn.00486730
mov dword [ebp - 0x14], eax
jmp 0x410bf4
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb4
call fcn.0040e720
mov ecx, eax
call fcn.00486730
mov dword [ebp - 0xc], eax
jmp 0x410b29
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret