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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50cb95
sub esp, 0x80
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x64], eax
cmp eax, 0
jne 0x50cb8b
xor eax, eax
cmp al, 0
jne 0x50c8d2
mov eax, dword [esp + 0x84]
cmp eax, 0
je 0x50c8cb
mov ebx, 0x5f6d8a
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 5
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x78], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], ecx
mov esi, dword [esp + 0x78]
mov dword [esp + 0x7c], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x50]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c860
mov dword [esp], 0x5c5000
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 8], edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], esi
call fcn.0043cd90
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
cmp esi, ecx
ja 0x50c8c4
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004540c0
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x70]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x68]
cmp byte [0x6dae38], 0
jne 0x50c8b6
mov dword [ebx], ebp
add esp, 0x80
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50c8af
call fcn.00429210
ud2
mov dword [eax], eax
jmp 0x50c7e1
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50cb84
mov byte [esp + 0x23], 0x3f
mov dword [esp + 0x30], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50cb15
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50cb0e
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
call fcn.00538d60
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 0x54], ecx
mov ebx, dword [ecx + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x50cb07
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x78], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], ecx
mov esi, dword [esp + 0x78]
mov dword [esp + 0x7c], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x48]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c9e9
mov dword [esp], 0x5c5000
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 8], edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], esi
call fcn.0043cd90
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
cmp esi, ecx
ja 0x50cb00
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x68]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004540c0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x6c]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x70]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x68]
cmp byte [0x6dae38], 0
jne 0x50caef
mov dword [ebx], ebp
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50cae8
mov byte [esp + 0x22], 0x3f
mov dword [esp + 0x38], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50ca7f
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
add esp, 0x80
ret
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
cmp ebx, 0
je 0x50cae4
mov ebp, eax
mov dword [esp + 0x24], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x50cace
mov dword [ebx], ecx
jmp 0x50ca6b
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
jmp 0x50ca6b
mov dword [ebx], eax
jmp 0x50cab0
mov dword [ebx], eax
jmp 0x50ca50
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50ca40
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x50c97f
mov dword [ebx], eax
jmp 0x50c91e
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
cmp ebx, 0
je 0x50cb80
mov ebp, eax
mov dword [esp + 0x28], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x50cb67
mov dword [ebx], ecx
jmp 0x50c901
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
jmp 0x50c901
mov dword [ebx], eax
jmp 0x50cb46
mov dword [ebx], eax
jmp 0x50c8e2
mov eax, 1
jmp 0x50c7c8
call fcn.004518d0
jmp fcn.0050c780