Function at 0x50c080
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 0x50ca30
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, 0x5f571d
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 0x50c164
mov dword [esp], 0x5c4140
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.0043c270
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 0x50ca29
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.004535a0
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 [0x6d9e38], 0
jne 0x50ca18
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x50ca0d
mov ebx, dword [esp + 0xcc]
mov dword [esp + 4], ebx
call fcn.0050b1c0
mov eax, dword [esp + 0xc8]
cmp eax, 0
je 0x50ca06
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 0x50c989
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 0x50c5aa
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 0x50c5a3
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 0x50c597
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 0x50c590
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 0x50c35c
mov dword [esp], 0x5c4140
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.0043c270
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 0x50c589
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.004535a0
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 [0x6d9e38], 0
jne 0x50c578
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c571
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 0x50c502
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 0x50c4fb
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.0050f060
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c4f4
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 0x50c488
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], 0x5c4140
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c270
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
cmp ebx, 0
je 0x50c4f0
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 [0x6d9e38], 0
jne 0x50c4d7
mov dword [ebx], ecx
jmp 0x50c468
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f1d0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50c468
mov dword [ebx], eax
jmp 0x50c4b9
mov dword [ebx], eax
jmp 0x50c44d
mov dword [eax], eax
jmp 0x50c41e
mov dword [esp], 0x5c4140
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c270
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
cmp ebx, 0
je 0x50c56d
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 [0x6d9e38], 0
jne 0x50c554
mov dword [ebx], ecx
jmp 0x50c3f7
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f1d0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50c3f7
mov dword [ebx], eax
jmp 0x50c533
mov dword [ebx], eax
jmp 0x50c3d8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50c3c8
call fcn.004286f0
ud2
mov dword [ebx], eax
jmp 0x50c2d7
mov ecx, eax
mov eax, 0x6b4ee0
jmp 0x50c291
mov dword [ebx], eax
jmp 0x50c26e
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 0x50c97f
xor ecx, ecx
cmp cl, 0
je 0x50c854
cmp eax, 0
je 0x50c84d
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.00538240
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 0x50c846
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 0x50c6c8
mov dword [esp], 0x5c4140
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.0043c270
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 0x50c83f
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.004535a0
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 [0x6d9e38], 0
jne 0x50c82e
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50c827
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 0x50c7b8
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 0x50c7b4
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.0050fda0
jmp 0x50c43d
mov dword [eax], eax
jmp 0x50c782
mov dword [esp], 0x5c4140
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c270
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x50c823
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 [0x6d9e38], 0
jne 0x50c80a
mov dword [ebx], ecx
jmp 0x50c75f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f1d0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
jmp 0x50c75f
mov dword [ebx], eax
jmp 0x50c7e9
mov dword [ebx], eax
jmp 0x50c744
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50c734
call fcn.004286f0
ud2
mov dword [ebx], eax
jmp 0x50c643
mov dword [eax], eax
jmp 0x50c5e5
cmp eax, 0
je 0x50c978
mov ebx, 0x5f5d4a
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 0x50c8f7
mov dword [esp], 0x5c4140
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.0043c270
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 0x50c971
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.004535a0
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 [0x6d9e38], 0
jne 0x50c960
mov dword [ebx], ebp
jmp 0x50c43d
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50c43d
call fcn.004286f0
ud2
mov dword [eax], eax
jmp 0x50c85d
mov ecx, 1
jmp 0x50c5d3
mov dword [esp], 0x5c4140
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.0043c270
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 0x50ca02
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 [0x6d9e38], 0
jne 0x50c9e2
mov dword [ebx], edx
jmp 0x50c229
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040f1d0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
jmp 0x50c229
mov dword [ebx], eax
jmp 0x50c9c1
mov dword [eax], eax
jmp 0x50c20a
mov dword [0], eax
jmp 0x50c1ea
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x50c1d6
call fcn.004286f0
ud2
call fcn.00450db0
jmp fcn.0050c080