Function at 0x50cba0
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 0x50d550
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, 0x5f675d
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 0x50cc84
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50d549
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.004540c0
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 [0x6dae38], 0
jne 0x50d538
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x50d52d
mov ebx, dword [esp + 0xcc]
mov dword [esp + 4], ebx
call fcn.0050bce0
mov eax, dword [esp + 0xc8]
cmp eax, 0
je 0x50d526
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 0x50d4a9
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 0x50d0ca
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 0x50d0c3
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 0x50d0b7
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 0x50d0b0
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 0x50ce7c
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50d0a9
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.004540c0
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 [0x6dae38], 0
jne 0x50d098
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50d091
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 0x50d022
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 0x50d01b
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.0050fb80
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50d014
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 0x50cfa8
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], 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 + 0x4c]
cmp ebx, 0
je 0x50d010
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 [0x6dae38], 0
jne 0x50cff7
mov dword [ebx], ecx
jmp 0x50cf88
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50cf88
mov dword [ebx], eax
jmp 0x50cfd9
mov dword [ebx], eax
jmp 0x50cf6d
mov dword [eax], eax
jmp 0x50cf3e
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 + 0x34]
cmp ebx, 0
je 0x50d08d
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 [0x6dae38], 0
jne 0x50d074
mov dword [ebx], ecx
jmp 0x50cf17
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
jmp 0x50cf17
mov dword [ebx], eax
jmp 0x50d053
mov dword [ebx], eax
jmp 0x50cef8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50cee8
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x50cdf7
mov ecx, eax
mov eax, 0x6b5ee0
jmp 0x50cdb1
mov dword [ebx], eax
jmp 0x50cd8e
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 0x50d49f
xor ecx, ecx
cmp cl, 0
je 0x50d374
cmp eax, 0
je 0x50d36d
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.00538d60
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 0x50d366
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 0x50d1e8
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50d35f
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.004540c0
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 [0x6dae38], 0
jne 0x50d34e
mov dword [ebx], ebp
mov ebx, dword [esp + 0xc8]
cmp ebx, 0
je 0x50d347
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 0x50d2d8
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 0x50d2d4
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.005108c0
jmp 0x50cf5d
mov dword [eax], eax
jmp 0x50d2a2
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 + 0x40]
cmp ebx, 0
je 0x50d343
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 [0x6dae38], 0
jne 0x50d32a
mov dword [ebx], ecx
jmp 0x50d27f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
jmp 0x50d27f
mov dword [ebx], eax
jmp 0x50d309
mov dword [ebx], eax
jmp 0x50d264
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50d254
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x50d163
mov dword [eax], eax
jmp 0x50d105
cmp eax, 0
je 0x50d498
mov ebx, 0x5f6d8a
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 0x50d417
mov dword [esp], 0x5c5000
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.0043cd90
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 0x50d491
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.004540c0
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 [0x6dae38], 0
jne 0x50d480
mov dword [ebx], ebp
jmp 0x50cf5d
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50cf5d
call fcn.00429210
ud2
mov dword [eax], eax
jmp 0x50d37d
mov ecx, 1
jmp 0x50d0f3
mov dword [esp], 0x5c5000
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.0043cd90
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 0x50d522
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 [0x6dae38], 0
jne 0x50d502
mov dword [ebx], edx
jmp 0x50cd49
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040fcf0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
jmp 0x50cd49
mov dword [ebx], eax
jmp 0x50d4e1
mov dword [eax], eax
jmp 0x50cd2a
mov dword [0], eax
jmp 0x50cd0a
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x50ccf6
call fcn.00429210
ud2
call fcn.004518d0
jmp fcn.0050cba0