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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
test al, 0x10
je 0x50c468
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, dword [edx]
jb 0x50c44a
push eax
mov ecx, edx
call fcn.00473630
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx + 0x34]
push eax
push 9
call fcn.004704a0
add esp, 8
mov dword [eax], esi
lea ebx, [eax + 8]
mov dword [eax + 4], edi
mov eax, dword [ebp - 8]
jmp 0x50c46b
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], ebx
test al, 0x20
je 0x50c4a7
cmp ebx, dword [edi]
jb 0x50c483
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [ebp - 4]
push ebx
push 0x10
mov esi, dword [esi + 0x38]
call fcn.004704a0
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test al, 0x40
je 0x50c4d9
cmp ebx, dword [edi]
jb 0x50c4b9
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x18
mov esi, dword [eax + 0x3c]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x400000
je 0x50c516
cmp ebx, dword [edi]
jb 0x50c4ee
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x51
mov esi, dword [eax + 0x88]
mov edi, dword [eax + 0x8c]
call fcn.004704a0
add esp, 8
lea ebx, [eax + 8]
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x800000
je 0x50c556
mov edx, dword [ebp + 0xc]
cmp ebx, dword [edx]
jb 0x50c52e
push ebx
mov ecx, edx
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x59
mov esi, dword [eax + 0x90]
mov edi, dword [eax + 0x94]
call fcn.004704a0
add esp, 8
lea ebx, [eax + 8]
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
test al, 1
je 0x50c579
mov eax, dword [esi + 0x1c]
mov ecx, edi
push ebx
and eax, 0xfffffffe
push eax
push 0xc
call fcn.004c7d60
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x1000000
je 0x50c5b2
cmp ebx, dword [edi]
jb 0x50c58e
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x98]
push ebx
push 0x68
call fcn.004704a0
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
mov esi, dword [ebp - 4]
test al, 2
je 0x50c5cf
mov eax, dword [esi + 0x20]
mov ecx, edi
push ebx
and eax, 0xfffffffe
push eax
push 0xe
call fcn.004c7d60
mov ebx, eax
mov dword [ebp + 8], ebx
cmp dword [esi + 0xac], 0xf
jne 0x50c61a
cmp ebx, dword [edi]
jb 0x50c5f8
push ebx
mov ecx, edi
call fcn.00473630
cmp dword [esi + 0xac], 0xf
mov ebx, eax
je 0x50c5f8
mov dword [ebp + 8], 0
jmp 0x50c601
mov eax, dword [esi + 0xa8]
mov dword [ebp + 8], eax
push ebx
push 0x78
call fcn.004704a0
push eax
push dword [ebp + 8]
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 8]
test al, al
jns 0x50c652
cmp ebx, dword [edi]
jb 0x50c62f
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x40]
push ebx
push 0x80
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov esi, dword [ebp - 4]
mov ebx, eax
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [ebp + 8], ebx
test eax, 0x2000000
je 0x50c68e
cmp ebx, dword [edi]
jb 0x50c667
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x9c]
push ebx
push 0x88
call fcn.004704a0
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x4000000
je 0x50c6d0
cmp ebx, dword [edi]
jb 0x50c6a3
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x90
mov edi, dword [eax + 0xa0]
mov esi, dword [eax + 0xa4]
call fcn.004704a0
push eax
push esi
push edi
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
mov edi, dword [ebp + 0xc]
test eax, 0x100
je 0x50c70b
cmp ebx, dword [edi]
jb 0x50c6e8
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x98
mov esi, dword [eax + 0x44]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x400
je 0x50c743
cmp ebx, dword [edi]
jb 0x50c720
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0xa0
mov esi, dword [eax + 0x50]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x200
je 0x50c77f
cmp ebx, dword [edi]
jb 0x50c758
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0xa8
mov edi, dword [eax + 0x48]
mov esi, dword [eax + 0x4c]
call fcn.004704a0
push eax
push esi
push edi
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
mov edi, dword [ebp + 0xc]
test eax, 0x800
je 0x50c7ba
cmp ebx, dword [edi]
jb 0x50c797
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0xb0
mov esi, dword [eax + 0x54]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x2000
je 0x50c800
cmp ebx, dword [edi]
jb 0x50c7d1
push ebx
mov ecx, edi
call fcn.00473630
mov ecx, eax
jmp 0x50c7d4
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 4]
push ecx
push 0xb8
mov bl, byte [esi + 0x5c]
call fcn.004704a0
push eax
xor eax, eax
test bl, bl
setne al
push eax
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
jmp 0x50c803
mov esi, dword [ebp - 4]
test eax, 0x1000
je 0x50c83c
cmp ebx, dword [edi]
jb 0x50c818
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x58]
push ebx
push 0xc0
call fcn.004704a0
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x8000
je 0x50c874
cmp ebx, dword [edi]
jb 0x50c851
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0xc8
mov esi, dword [eax + 0x60]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x4000
je 0x50c8b7
cmp ebx, dword [edi]
jb 0x50c88b
push ebx
mov ecx, edi
call fcn.00473630
mov ecx, eax
jmp 0x50c88e
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 4]
push ecx
push 0xd0
mov bl, byte [esi + 0x5d]
call fcn.004704a0
push eax
xor eax, eax
test bl, bl
setne al
push eax
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov dword [ebp + 8], ebx
jmp 0x50c8ba
mov esi, dword [ebp - 4]
lea eax, [esi + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00454210
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
jle 0x50c91a
cmp ebx, dword [edi]
jb 0x50c8e6
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0046ef00
push ebx
push 0xd8
mov esi, dword [eax]
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x14]
jl 0x50c8d5
mov esi, dword [ebp - 4]
mov dword [ebp + 8], ebx
test dword [ebp - 8], 0x10000
je 0x50c94e
cmp ebx, dword [edi]
jb 0x50c931
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x64]
push ebx
push 0xe0
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov dword [ebp + 8], ebx
mov esi, dword [ebp - 4]
cmp dword [esi + 0xac], 0x1d
jne 0x50c973
mov eax, dword [esi + 0xa8]
mov ecx, edi
push ebx
and eax, 0xfffffffe
push eax
push 0x1d
call fcn.004c7d60
mov ebx, eax
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 8]
test eax, 0x40000
je 0x50c9ae
cmp ebx, dword [edi]
jb 0x50c98b
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x6c]
push ebx
push 0xf8
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov esi, dword [ebp - 4]
mov ebx, eax
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [ebp + 8], ebx
test eax, 0x80000
je 0x50c9e3
cmp ebx, dword [edi]
jb 0x50c9c3
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x70]
push ebx
push 0x100
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x200000
je 0x50ca22
cmp ebx, dword [edi]
jb 0x50c9f8
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x108
mov esi, dword [eax + 0x80]
call fcn.004704a0
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
mov esi, dword [ebp - 4]
test al, 4
je 0x50ca42
mov eax, dword [esi + 0x24]
mov ecx, edi
push ebx
and eax, 0xfffffffe
push eax
push 0x22
call fcn.004c7d60
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x20000
je 0x50ca77
cmp ebx, dword [edi]
jb 0x50ca57
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov esi, dword [esi + 0x68]
push ebx
push 0x118
call fcn.004704a0
push eax
push esi
call fcn.004704a0
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test eax, 0x100000
je 0x50cab3
cmp ebx, dword [edi]
jb 0x50ca8c
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x120
mov edi, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
call fcn.004704a0
push eax
push esi
push edi
call fcn.00470610
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
test al, 8
je 0x50cb72
mov edi, dword [ebp + 0xc]
cmp ebx, dword [edi]
jb 0x50cacc
push ebx
mov ecx, edi
call fcn.00473630
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push 0x12a
mov eax, dword [eax + 0x28]
mov dword [ebp + 8], eax
call fcn.004704a0
mov ebx, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0xc]
push ecx
call fcn.004704a0
mov ecx, eax
add esp, 0x10
mov eax, dword [ebx + 8]
mov dword [ebp + 8], eax
test al, 1
je 0x50cb2b
cmp ecx, dword [edi]
jb 0x50cb0a
push ecx
mov ecx, edi
call fcn.00473630
mov ecx, eax
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
push ecx
push 8
call fcn.004704a0
push eax
push esi
push edi
call fcn.00470610
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp + 8]
add esp, 0x14
test al, 2
je 0x50cb54
cmp ecx, dword [edi]
jb 0x50cb3d
push ecx
mov ecx, edi
call fcn.00473630
mov ecx, eax
mov esi, dword [ebx + 0x18]
push ecx
push 0x10
call fcn.004704a0
push eax
push esi
call fcn.004704a0
add esp, 0x10
mov ecx, eax
test byte [ebx + 4], 1
je 0x50cb75
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
push edi
add eax, 4
push ecx
push eax
call fcn.0057a400
add esp, 0xc
mov ecx, eax
jmp 0x50cb75
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test byte [eax + 4], 1
je 0x50cb9e
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0xc]
and eax, 0xfffffffc
push edx
add eax, 4
push ecx
push eax
call fcn.0057a400
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
mov eax, ecx
mov esp, ebp
pop ebp
ret 8