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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50d654
sub esp, 0x54
mov eax, 0
lea edi, [esp + 0x3c]
call fcn.0045e0aa
mov byte [esp + 0x23], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
lea ebx, [0x5de180]
mov dword [esp + 4], ebx
lea ebx, [0x7a0788]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x5cc8e0]
cmp edx, eax
jne 0x50d644
test ecx, ecx
jne 0x50d5a8
xor eax, eax
mov byte [esp + 0x22], al
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x50d2bc
mov ebp, dword [ebp + 8]
cmp ebp, 0x103a77be
ja 0x50d4c5
cmp ebp, 0x3e19b09
jne 0x50d44f
lea ebp, [0x65fca0]
mov esi, dword [esp + 0x64]
cmp ebp, esi
jne 0x50d2bc
cmp ebp, ebx
jne 0x50d2b5
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.0051da40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x66138c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x50d178
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x50d143
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0051e070
jmp 0x50d13f
lea eax, [0x5f76e0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60f355]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d2a2
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d28d
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d278
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x20], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x50d268
mov dword [eax + 0x24], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x65ea28]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x50d233
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0051e070
jmp 0x50d22f
lea edi, [eax + 0x24]
mov edx, eax
mov eax, ecx
call fcn.0045de10
mov eax, edx
jmp 0x50d207
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045de10
mov eax, ecx
jmp 0x50d1ef
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045de10
mov eax, ecx
jmp 0x50d1d3
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045de10
mov eax, ecx
jmp 0x50d1b7
xor edx, edx
jmp 0x50d0d7
lea eax, [0x5ea500]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov dword [eax + 4], 0x17
lea ecx, [0x61567b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov dword [eax + 0xc], ebx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x50d440
mov dword [eax + 8], edx
lea eax, [0x5f76e0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60f355]
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d42d
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d418
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d403
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
lea ecx, [0x65ea00]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x50d3f1
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x65ea28]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x22]
test al, 1
jne 0x50d3bc
add esp, 0x54
ret
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0051e070
jmp 0x50d3b8
lea edi, [eax + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045de10
mov eax, ecx
jmp 0x50d390
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045de10
mov eax, ecx
jmp 0x50d376
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x34]
call fcn.0045de10
mov eax, ecx
jmp 0x50d35a
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045de10
mov eax, ecx
jmp 0x50d33e
lea edi, [eax + 8]
mov eax, edx
call fcn.0045de10
jmp 0x50d2ff
cmp ebp, 0x103a77be
jne 0x50d4bc
lea ebp, [0x65fc70]
mov esi, dword [esp + 0x64]
cmp ebp, esi
jne 0x50d2bc
cmp ebp, ebx
jne 0x50d4b8
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.0051bbc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x66132c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x50d11d
xor edx, edx
jmp 0x50d46d
mov esi, dword [esp + 0x64]
jmp 0x50d2bc
cmp ebp, 0xd7d15deb
jne 0x50d532
lea ebp, [0x65fc88]
mov esi, dword [esp + 0x64]
cmp ebp, esi
jne 0x50d2bc
cmp ebp, ebx
jne 0x50d52e
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.0051cbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x66135c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x50d11d
xor edx, edx
jmp 0x50d4e3
cmp ebp, 0xff2d2c4c
jne 0x50d5a2
mov ebp, dword [esp + 0x64]
lea esi, [0x65fc58]
cmp ebp, esi
jne 0x50d59b
cmp esi, ebx
jne 0x50d597
mov dword [esp], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.00512be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x6612fc]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
jmp 0x50d11d
xor edx, edx
jmp 0x50d54c
mov esi, ebp
jmp 0x50d2bc
mov ebp, dword [esp + 0x64]
jmp 0x50d59b
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test edx, edx
jne 0x50d611
mov edx, dword [eax + 0xc]
test edx, edx
je 0x50d60b
lea edx, [0x626fd4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x23], 1
setne cl
mov eax, ecx
jmp 0x50d080
mov eax, dword [esp + 0x58]
jmp 0x50d601
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [edx]
mov ebp, dword [esp + 0x58]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x50d5cf
xor ecx, ecx
jmp 0x50d076
call fcn.0045c8b0
jmp fcn.0050cff0