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

Disassembly:
push 0x1c
mov eax, 0xa4e9b4
call fcn.009d659a
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x7c], edi
jbe 0x4103a5
mov eax, dword [esi + 0x78]
mov ecx, ebx
shl ecx, 2
mov edx, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x18], edx
cmp byte [esi + 0x60], 0
je 0x410349
mov ecx, dword [eax]
xor edi, edi
inc edi
jmp 0x41034e
mov edi, dword [eax]
xor ecx, ecx
inc ecx
lea eax, [edx + 0x70]
mov dword [ebp - 0x24], ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0040ff83
test edi, edi
je 0x410374
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040a8ee
sub edi, 1
jne 0x410365
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0040ff83
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x41039d
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040a8ee
sub edi, 1
jne 0x41038e
mov esi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x410329
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x4104e6
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov ecx, dword [edx + ebx*8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], ecx
sub edx, dword [eax + ecx*4]
cmp byte [esi + 0x60], 0
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x14]
je 0x4103e3
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x20], ecx
jmp 0x4103ea
mov eax, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov cl, byte [esi + 0x60]
and dword [ebp - 0x1c], 0
test cl, cl
cmovne edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
xor edx, edx
test cl, cl
mov ecx, dword [esi + 0x78]
cmovne edx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.00411ee5
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x410454
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0xa52460
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x410475
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0xa52460
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4104b6
test ecx, ecx
je 0x4104b6
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4104c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test eax, eax
je 0x4104d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x4103b0
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x410506
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040a52e
jmp 0x410515
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040a52e
cmp dword [esi + 0x24], edi
jbe 0x41056a
sub dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x30]
sub edx, dword [eax + ecx*4]
cmp byte [esi + 0x60], 0
mov ecx, dword [ebp + 8]
je 0x410554
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040a52e
jmp 0x410561
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040a52e
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x41051d
xor eax, eax
call fcn.009d6568
ret 8