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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50c275
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 0x50c26b
xor eax, eax
cmp al, 0
jne 0x50bfb2
mov eax, dword [esp + 0x84]
cmp eax, 0
je 0x50bfab
mov ebx, 0x5f610a
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 0x50bf40
mov dword [esp], 0x5c4440
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.0043c470
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 0x50bfa4
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.004537a0
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 [0x6d9e38], 0
jne 0x50bf96
mov dword [ebx], ebp
add esp, 0x80
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x50bf8f
call fcn.004288f0
ud2
mov dword [eax], eax
jmp 0x50bec1
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50c264
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 0x50c1f5
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 0x50c1ee
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.00538440
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 0x50c1e7
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 0x50c0c9
mov dword [esp], 0x5c4440
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.0043c470
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 0x50c1e0
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.004537a0
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 [0x6d9e38], 0
jne 0x50c1cf
mov dword [ebx], ebp
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50c1c8
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 0x50c15f
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], 0x5c4440
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c470
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
cmp ebx, 0
je 0x50c1c4
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 [0x6d9e38], 0
jne 0x50c1ae
mov dword [ebx], ecx
jmp 0x50c14b
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f3d0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
jmp 0x50c14b
mov dword [ebx], eax
jmp 0x50c190
mov dword [ebx], eax
jmp 0x50c130
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f3d0
jmp 0x50c120
call fcn.004288f0
ud2
mov dword [ebx], eax
jmp 0x50c05f
mov dword [ebx], eax
jmp 0x50bffe
mov dword [esp], 0x5c4440
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c470
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
cmp ebx, 0
je 0x50c260
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 [0x6d9e38], 0
jne 0x50c247
mov dword [ebx], ecx
jmp 0x50bfe1
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f3d0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
jmp 0x50bfe1
mov dword [ebx], eax
jmp 0x50c226
mov dword [ebx], eax
jmp 0x50bfc2
mov eax, 1
jmp 0x50bea8
call fcn.00450fb0
jmp fcn.0050be60