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

Disassembly:
push 0xffffffffffffffff
push 0x662631
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x70903c]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18c]
mov ebp, ecx
mov ecx, dword [ebp + 0x3f8]
lea eax, [esp + 0x14]
push eax
mov dword [ebp + 0x3fc], esi
push ecx
mov ecx, dword [0x7123e0]
mov dword [esp + 0x20], ebp
call fcn.00524970
test eax, eax
je 0x50c856
mov ecx, dword [esp + 0x14]
push esi
call fcn.00525580
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x50c777
mov edi, dword [0x7123dc]
cmp dword [ebx + 0x14], esi
jne 0x50c509
mov ecx, dword [esp + 0x14]
call fcn.00524f60
jmp 0x50c51f
cmp dword [ebx + 0x18], 0x10
jb 0x50c514
mov eax, dword [ebx + 4]
jmp 0x50c517
lea eax, [ebx + 4]
push eax
mov ecx, edi
call fcn.0055f4e0
push eax
push esi
mov ecx, ebp
call fcn.005b4a36
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], esi
mov byte [esp + 0x60], 0
mov dword [esp + 0x184], esi
mov esi, 1
push esi
lea edx, [esp + 0x7c]
push str._lod__.2d.gr2
push edx
call fcn.00613f2b
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0050c180
lea ecx, [esp + 0x8c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x1a4], 1
call fcn.00416f00
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x190], 2
call fcn.00417560
cmp dword [esp + 0x3c], 0x10
jb 0x50c5a8
mov eax, dword [esp + 0x28]
push eax
call fcn.00613a18
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x184], 0
jb 0x50c5d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00613a18
add esp, 4
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x50c5e8
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.0055ec00
test al, al
je 0x50c623
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x50c603
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.0055f4e0
test eax, eax
je 0x50c623
push eax
push 0
mov ecx, ebp
call fcn.005b48ef
inc esi
cmp esi, 3
jbe 0x50c545
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x184], 0xffffffff
jb 0x50c642
mov edx, dword [esp + 0x60]
push edx
call fcn.00613a18
add esp, 4
push 0xffffffffffffffff
push 0
push 0
push 0
mov ecx, ebp
call fcn.005b2070
mov esi, dword [ebx + 0x28]
cmp esi, dword [ebx + 0x2c]
jbe 0x50c65e
call fcn.00615e0c
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ebp, esi
lea edi, [esi + 0x24]
lea ebx, [ebx]
mov esi, dword [ebx + 0x2c]
cmp dword [ebx + 0x28], esi
jbe 0x50c681
call fcn.00615e0c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
test ecx, ecx
je 0x50c68c
cmp ecx, eax
je 0x50c695
call fcn.00615e0c
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
je 0x50c7c5
test ecx, ecx
jne 0x50c6bc
call fcn.00615e0c
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x50c6b2
call fcn.00615e0c
cmp dword [edi + 0x14], 0x10
jb 0x50c6c0
mov eax, dword [edi]
jmp 0x50c6c2
mov eax, dword [ecx]
jmp 0x50c6a8
mov eax, edi
mov ecx, dword [0x7123dc]
push eax
call fcn.0055f4e0
mov esi, eax
test esi, esi
je 0x50c74b
fldz
fld dword [esp + 0x190]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x50c72c
cmp dword [edi - 8], 0x10
fstp dword [esp + 0x60]
mov edx, 1
mov byte [esp + 0x68], 0
jb 0x50c701
mov ecx, dword [edi - 0x1c]
jmp 0x50c704
lea ecx, [edi - 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.005b216a
jmp 0x50c74b
cmp dword [edi - 8], 0x10
fstp st(0)
jb 0x50c739
mov eax, dword [edi - 0x1c]
jmp 0x50c73c
lea eax, [edi - 0x1c]
mov ecx, dword [ebp]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005b2811
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50c773
call fcn.00615e0c
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x50c764
call fcn.00615e0c
mov ecx, dword [esp + 0x1c]
add ebp, 0x3c
add edi, 0x3c
jmp 0x50c670
mov eax, dword [eax]
jmp 0x50c75a
mov ecx, dword [esp + 0x14]
call fcn.00524ba0
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x50c797
call fcn.00525000
push eax
mov ecx, ebp
call fcn.005056a0
jmp 0x50c7c9
call fcn.00524f60
push eax
push esi
mov ecx, ebp
call fcn.005b4a36
mov ecx, dword [esp + 0x14]
call fcn.00525ed0
push eax
push esi
mov ecx, ebp
call fcn.005b48ef
push 0xffffffffffffffff
push esi
push esi
push esi
mov ecx, ebp
call fcn.005b2070
jmp 0x50c7c9
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor esi, esi
call fcn.00524b20
test eax, eax
jbe 0x50c856
jmp 0x50c7e0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.00524b40
test eax, eax
je 0x50c848
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
sub eax, 2
jne 0x50c848
mov eax, dword [ecx + 0x2c]
add eax, 4
cmp dword [ecx + 4], 0
je 0x50c82e
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x50c819
mov eax, dword [eax + 4]
jmp 0x50c81c
add eax, 4
cmp dword [ecx + 0x24], edx
jb 0x50c828
mov ecx, dword [ecx + 0x10]
push eax
push ecx
jmp 0x50c83f
add ecx, edx
push eax
push ecx
jmp 0x50c83f
cmp dword [eax + 0x18], 0x10
jb 0x50c839
mov eax, dword [eax + 4]
jmp 0x50c83c
add eax, 4
push eax
push 0
push 0
mov ecx, ebp
call fcn.00508860
mov ecx, dword [esp + 0x14]
inc esi
call fcn.00524b20
cmp esi, eax
jb 0x50c7e0
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.00613e6e
add esp, 0x174
ret 8