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

Disassembly:
push 0x1c
mov eax, 0x54f5c5
call fcn.0053f2d9
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x7c], edi
jbe 0x415170
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 0x415114
mov ecx, dword [eax]
xor edi, edi
inc edi
jmp 0x415119
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.00414d48
test edi, edi
je 0x41513f
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f167
sub edi, 1
jne 0x415130
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00414d48
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x415168
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f167
sub edi, 1
jne 0x415159
mov esi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x4150f4
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x4152b1
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 0x4151ae
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x20], ecx
jmp 0x4151b5
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.004182c6
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 0x41521f
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x553d44
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 0x415240
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x553d44
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x415281
test ecx, ecx
je 0x415281
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 0x415292
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test eax, eax
je 0x4152a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x41517b
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 0x4152d1
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040eda7
jmp 0x4152e0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040eda7
cmp dword [esi + 0x24], edi
jbe 0x415335
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 0x41531f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040eda7
jmp 0x41532c
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.0040eda7
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x4152e8
xor eax, eax
call fcn.0053f2a7
ret 8