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

Disassembly:
push 0x1c
mov eax, 0x604970
call fcn.00872e45
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x7c], edi
jbe 0x5005e8
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 0x50058c
mov ecx, dword [eax]
xor edi, edi
inc edi
jmp 0x500591
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.004ff492
test edi, edi
je 0x5005b7
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.004f0291
sub edi, 1
jne 0x5005a8
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004ff4b6
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x5005e0
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.004ff202
sub edi, 1
jne 0x5005d1
mov esi, dword [ebp - 0x20]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x50056c
xor edi, edi
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x500729
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 0x500626
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + ebx*8 + 4]
mov dword [ebp - 0x20], ecx
jmp 0x50062d
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.00502aa2
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 0x500697
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x62587c
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 0x5006b8
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x62587c
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x5006f9
test ecx, ecx
je 0x5006f9
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 0x50070a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
test eax, eax
je 0x50071b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x5005f3
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 0x500749
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.004acf96
jmp 0x500758
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.004acfc0
cmp dword [esi + 0x24], edi
jbe 0x5007ad
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 0x500797
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.004acfc0
jmp 0x5007a4
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.004acf96
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x500760
xor eax, eax
call fcn.00853c29
ret 8