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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50c125
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 0x50c11b
xor eax, eax
cmp al, 0
jne 0x50be62
mov eax, dword [esp + 0x84]
cmp eax, 0
je 0x50be5b
mov ebx, 0x5f5dea
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 0x50bdf0
mov dword [esp], 0x5c41e0
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.0043c390
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 0x50be54
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.004536c0
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 [0x6d9e18], 0
jne 0x50be46
mov dword [ebx], ebp
add esp, 0x80
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50be3f
call fcn.00428810
ud2
mov dword [eax], eax
jmp 0x50bd71
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50c114
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 0x50c0a5
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 0x50c09e
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.005382f0
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 0x50c097
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 0x50bf79
mov dword [esp], 0x5c41e0
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.0043c390
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 0x50c090
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.004536c0
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 [0x6d9e18], 0
jne 0x50c07f
mov dword [ebx], ebp
mov ebx, dword [esp + 0x84]
cmp ebx, 0
je 0x50c078
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 0x50c00f
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], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
cmp ebx, 0
je 0x50c074
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 [0x6d9e18], 0
jne 0x50c05e
mov dword [ebx], ecx
jmp 0x50bffb
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
jmp 0x50bffb
mov dword [ebx], eax
jmp 0x50c040
mov dword [ebx], eax
jmp 0x50bfe0
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50bfd0
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x50bf0f
mov dword [ebx], eax
jmp 0x50beae
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
cmp ebx, 0
je 0x50c110
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 [0x6d9e18], 0
jne 0x50c0f7
mov dword [ebx], ecx
jmp 0x50be91
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
jmp 0x50be91
mov dword [ebx], eax
jmp 0x50c0d6
mov dword [ebx], eax
jmp 0x50be72
mov eax, 1
jmp 0x50bd58
call fcn.00450ed0
jmp fcn.0050bd10