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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x44200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 8], edx
mov edx, dword [edi]
mov dword [edi], eax
mov dword [ebx], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], edx
cmp dword [esi + 0x18], eax
je 0x410a9a
mov eax, dword [esi + 0x1c]
jmp 0x410c88
cmp dword [esi + 0xc], 0
lea eax, [esi + 0x20]
mov dword [ebp - 0x4c], eax
mov dword [eax], 2
je 0x410b70
mov edi, dword [ebp - 0x30]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push dword [ebp + 0x18]
mov dword [ebp - 8], edx
push eax
push ecx
lea eax, [ebp - 8]
push eax
push 0
push dword [esi + 0x78]
call dword [esi + 0x88]
mov ecx, dword [esi + 0x20]
add esp, 0x20
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov dword [ebx], ecx
xor ebx, ebx
mov dword [ebp - 0x1c], eax
inc ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x1c]
add eax, edx
mov dword [esi + 0x14], eax
test ecx, ecx
jne 0x410b0b
cmp dword [ebp + 0x18], 0
jne 0x410b0b
cmp dword [ebp - 0x10], ebx
jne 0x410b0e
mov dword [esi + 0x18], ebx
cmp dword [esi + 8], ebx
jne 0x410b1a
mov dword [edi], edx
jmp 0x410c86
cmp dword [esi + 0x18], 0
je 0x410c86
mov dword [ebp - 0x20], ebx
cmp dword [esi + 8], ebx
jbe 0x410b69
lea edi, [esi + 0x90]
push eax
push dword [esi + 0xc]
push dword [edi]
call dword [edi + 0x14]
add esp, 0xc
cmp dword [ebp - 0x10], ebx
je 0x410b51
cmp dword [ebp + 0xc], 0
je 0x410b54
mov ecx, dword [ebp - 0x34]
cmp dword [esi + 0x14], ecx
jne 0x410b54
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x20]
add edi, 0x18
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [esi + 8]
jb 0x410b32
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], eax
jmp 0x410c86
mov edx, dword [esi + 8]
xor ebx, ebx
inc ebx
cmp edx, ebx
je 0x410ba7
cmp dword [esi + 4], 0
jne 0x410b9e
mov ecx, dword [esi]
push 0x60000
push ecx
call dword [ecx]
mov dword [esi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x410b9b
push 2
pop eax
jmp 0x410c88
lea eax, [esi + 0x20]
and dword [ebp - 0x38], 0
mov edx, dword [esi + 8]
jmp 0x410bad
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x1c], 0
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], ecx
mov dword [eax], 2
test edx, edx
je 0x410c84
lea eax, [edi + 5]
mov dword [ebp - 0x48], ecx
imul eax, eax, 0x18
add eax, esi
mov dword [ebp - 0x2c], eax
test edi, edi
jne 0x410bf4
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebx]
xor ebx, ebx
inc ebx
jmp 0x410c1d
mov ecx, dword [esi + 4]
lea eax, [edi - 1]
shl eax, 0x11
add ecx, eax
mov eax, ecx
mov dword [ebp - 0x24], ecx
add eax, dword [esi + edi*4 + 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + edi*4 + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + edi*4 + 0x38]
sub eax, dword [esi + edi*4 + 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [edx - 1]
cmp edi, eax
jne 0x410c34
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
sub edx, dword [ecx]
jmp 0x410c4b
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x410c61
mov eax, edi
mov edx, 0x20000
shl eax, 0x11
add eax, dword [esi + 4]
mov ecx, dword [esi + edi*4 + 0x68]
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x410c97
mov eax, dword [ebp - 0x48]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 8]
inc edi
cmp edi, edx
jb 0x410bc9
test eax, eax
lea eax, [esi + 0x20]
jne 0x410bad
cmp dword [ebp - 0x44], 0
je 0x410c86
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d487
leave
ret
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x3c]
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [eax + 0x10]
mov edx, eax
add esp, 0x20
test edx, edx
je 0x410ccd
mov ecx, dword [ebp - 0x18]
test ecx, ecx
mov dword [esi + edi*4 + 0x68], edx
cmove ecx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xc]
cmp eax, ebx
push 0
pop ecx
sete cl
mov dword [ebp - 0x2c], ecx
je 0x410ced
and dword [ebp - 0x44], 0
cmp dword [esi + 8], ebx
jne 0x410ced
test edx, edx
jne 0x410ced
mov dword [esi + 0x20], eax
mov edx, dword [ebp - 0x10]
test edi, edi
jne 0x410cfe
mov eax, dword [ebp - 0x40]
add dword [eax], edx
add dword [ebp - 0x20], edx
jmp 0x410d02
add dword [esi + edi*4 + 0x2c], edx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [ebp - 0x14]
jne 0x410d17
mov ecx, dword [ebp - 0x28]
add dword [ecx], eax
add dword [ebp - 8], eax
jmp 0x410d27
mov ecx, dword [ebp - 0x2c]
and dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x24], ecx
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x410d36
test edx, edx
je 0x410c61
mov eax, ebx
mov dword [ebp - 0x1c], eax
jmp 0x410c64