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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x50cae0
sub esp, 0xc4
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xc8]
mov eax, 1
mov byte [ecx + 0x7f], al
mov ebx, 0x5f57bd
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 2
mov ebx, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0xbc], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], ecx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xc0], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x84]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c214
mov dword [esp], 0x5c41e0
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 8], edi
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
call fcn.0043c390
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
cmp esi, ecx
ja 0x50cad9
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xac]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004536c0
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xb0]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0xac]
cmp byte [0x6d9e18], 0
jne 0x50cac8
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x50cabd
mov ebx, dword [esp + 0xcc]
mov dword [esp + 4], ebx
call fcn.0050b270
mov eax, dword [esp + 0xc8]
cmp eax, 0
je 0x50cab6
mov byte [esp + 0x22], 0x28
mov dword [esp + 0x50], eax
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebp, ecx
inc ebp
cmp ebp, edi
ja 0x50ca39
mov dword [eax + 4], ebp
mov ebx, edx
add ebx, ecx
movzx ebp, byte [esp + 0x22]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebp, dword [eax + 0xc]
cmp ebp, 0
je 0x50c65a
mov dword [esp + 0x3c], eax
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x88], ebp
mov ebp, dword [eax + 0x10]
mov dword [esp + 0x8c], ebp
xor ebx, ebx
xor ebx, ebx
lea ebx, [esp + 0x88]
cmp ebx, 0
je 0x50c653
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], eax
xor ebx, ebx
xor ebp, ebp
cmp eax, ebp
jne 0x50c647
xor eax, eax
mov ecx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp], ecx
mov dword [esp + 0x98], eax
mov ebx, dword [eax + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x50c640
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0xbc], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], ecx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xc0], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x74]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c40c
mov dword [esp], 0x5c41e0
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 8], edi
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
call fcn.0043c390
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
cmp esi, ecx
ja 0x50c639
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xac]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004536c0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0xb0]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0xac]
cmp byte [0x6d9e18], 0
jne 0x50c628
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c621
mov byte [esp + 0x21], 0x3d
mov dword [esp + 0x34], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50c5b2
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x21]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov eax, dword [esp + 0xc8]
cmp eax, 0
je 0x50c5ab
add eax, 0xc
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [esp + 0xc], 0x76
call fcn.0050f110
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c5a4
mov byte [esp + 0x23], 0x29
mov dword [esp + 0x4c], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50c538
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
xor eax, eax
mov ebx, dword [esp + 0xc8]
mov byte [ebx + 0x7f], al
add esp, 0xc4
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 + 0x4c]
cmp ebx, 0
je 0x50c5a0
mov ebp, eax
mov dword [esp + 0x24], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x54], ecx
cmp byte [0x6d9e18], 0
jne 0x50c587
mov dword [ebx], ecx
jmp 0x50c518
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50c518
mov dword [ebx], eax
jmp 0x50c569
mov dword [ebx], eax
jmp 0x50c4fd
mov dword [eax], eax
jmp 0x50c4ce
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 + 0x34]
cmp ebx, 0
je 0x50c61d
mov ebp, eax
mov dword [esp + 0x24], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x54], ecx
cmp byte [0x6d9e18], 0
jne 0x50c604
mov dword [ebx], ecx
jmp 0x50c4a7
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50c4a7
mov dword [ebx], eax
jmp 0x50c5e3
mov dword [ebx], eax
jmp 0x50c488
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50c478
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x50c387
mov ecx, eax
mov eax, 0x6b4ee0
jmp 0x50c341
mov dword [ebx], eax
jmp 0x50c31e
mov ebp, dword [eax + 0x14]
mov dword [esp + 0xa0], ebp
mov ebp, dword [eax + 0x18]
mov dword [esp + 0xa4], ebp
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0xa8], ebp
cmp ebp, 0
jne 0x50ca2f
xor ecx, ecx
cmp cl, 0
je 0x50c904
cmp eax, 0
je 0x50c8fd
mov dword [esp + 0x48], eax
add eax, 0x14
cld
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
call fcn.005382f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x9c], ecx
mov dword [esp], ecx
mov dword [esp + 0x98], eax
mov ebx, dword [eax + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0
je 0x50c8f6
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0xbc], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], ecx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xc0], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x6c]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c778
mov dword [esp], 0x5c41e0
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 8], edi
mov dword [esp + 0xb4], 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 + 0xac], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
cmp esi, ecx
ja 0x50c8ef
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xac]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004536c0
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xb0]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0xac]
cmp byte [0x6d9e18], 0
jne 0x50c8de
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c8d7
mov byte [esp + 0x20], 0x3d
mov dword [esp + 0x40], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x50c868
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x20]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov eax, dword [esp + 0xc8]
cmp eax, 0
je 0x50c864
add eax, 0x14
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov dword [esp + 0x10], 0x76
mov dword [esp + 0x14], 0
call fcn.0050fe50
jmp 0x50c4ed
mov dword [eax], eax
jmp 0x50c832
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 + 0x40]
cmp ebx, 0
je 0x50c8d3
mov ebp, eax
mov dword [esp + 0x28], eax
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x54], ecx
cmp byte [0x6d9e18], 0
jne 0x50c8ba
mov dword [ebx], ecx
jmp 0x50c80f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
jmp 0x50c80f
mov dword [ebx], eax
jmp 0x50c899
mov dword [ebx], eax
jmp 0x50c7f4
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50c7e4
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x50c6f3
mov dword [eax], eax
jmp 0x50c695
cmp eax, 0
je 0x50ca28
mov ebx, 0x5f5dea
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 5
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0xbc], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xac], ecx
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xc0], ebp
mov ecx, ebp
mov ebx, dword [esp + 0x7c]
mov edi, esi
add esi, ebx
cmp esi, ebp
jbe 0x50c9a7
mov dword [esp], 0x5c41e0
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 8], edi
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
call fcn.0043c390
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
cmp esi, ecx
ja 0x50ca21
mov dword [esp + 0xb0], esi
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xac]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004536c0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0xb0]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0xb4]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0xac]
cmp byte [0x6d9e18], 0
jne 0x50ca10
mov dword [ebx], ebp
jmp 0x50c4ed
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50c4ed
call fcn.00428810
ud2
mov dword [eax], eax
jmp 0x50c90d
mov ecx, 1
jmp 0x50c683
mov dword [esp], 0x5c41e0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
cmp ebx, 0
je 0x50cab2
mov ebp, ecx
mov dword [esp + 0x28], ecx
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], esi
mov dword [esp + 0x54], edx
cmp byte [0x6d9e18], 0
jne 0x50ca92
mov dword [ebx], edx
jmp 0x50c2d9
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040f2f0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
jmp 0x50c2d9
mov dword [ebx], eax
jmp 0x50ca71
mov dword [eax], eax
jmp 0x50c2ba
mov dword [0], eax
jmp 0x50c29a
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x50c286
call fcn.00428810
ud2
call fcn.00450ed0
jmp fcn.0050c130