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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50b724
sub esp, 0x5c
mov eax, 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
lea ebx, [0x5e1720]
mov dword [esp + 4], ebx
lea ebx, [0x7c3cc0]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
lea ecx, [0x5d6660]
cmp eax, ecx
jne 0x50b1f0
mov eax, dword [esp + 0x10]
jmp 0x50b1f2
xor eax, eax
test eax, eax
jne 0x50b201
mov ecx, dword [esp + 0x60]
xor eax, eax
jmp 0x50b2b0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 8]
test edx, edx
je 0x50b259
mov dword [esp + 0x24], ebx
mov eax, dword [edx]
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x50]
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]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x50b2a9
lea edi, [esp + 0x40]
mov edx, eax
mov eax, 0
call fcn.0046860a
lea ecx, [0x50b730]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x58], edx
mov byte [esp + 0x23], 1
jmp 0x50b2ad
mov ecx, dword [esp + 0x60]
setne al
mov byte [esp + 0x22], al
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x6c]
test ebp, ebp
je 0x50b5e4
mov ebp, dword [esp + 0x6c]
lea esi, [0x65a074]
cmp ebp, esi
jne 0x50b3aa
cmp ebx, esi
je 0x50b2e6
xor edx, edx
mov dword [esp + 0x38], edx
lea eax, [ecx + 0x48]
mov dword [esp], eax
call fcn.00508290
movzx eax, byte [esp + 4]
test al, al
je 0x50b354
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
call fcn.005210d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ebx, [0x65a584]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
jmp 0x50b4c0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
call fcn.005210d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x65a584]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
jmp 0x50b4c0
lea esi, [0x65a05c]
cmp ebp, esi
jne 0x50b408
cmp ebx, esi
je 0x50b3ba
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.00522410
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x65a5b4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
jmp 0x50b4c0
lea esi, [0x65a08c]
cmp ebp, esi
jne 0x50b463
cmp ebx, esi
je 0x50b418
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.00515de0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x65a5e4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
jmp 0x50b4c0
lea esi, [0x65a044]
cmp ebp, esi
jne 0x50b5e4
cmp ebx, esi
je 0x50b477
xor edx, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.00522c90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [0x65a554]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x50b4f8
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
movzx eax, byte [esp + 0x22]
test al, 1
je 0x50b4f4
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
lea eax, [0x5f59e0]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60a758]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x50b537
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x50b551
mov ecx, dword [esp + 0x34]
jmp 0x50b55c
call fcn.00468400
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x50b576
mov ecx, dword [esp + 0x70]
jmp 0x50b581
call fcn.00468400
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
je 0x50b5a3
call fcn.00468400
mov dword [edi], ebx
mov dword [eax + 0x24], ebx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x659d10]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x50b5e0
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
lea eax, [0x5eb320]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x611a0e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x54]
mov dword [eax + 0xc], edx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x50b623
call fcn.00468400
mov dword [edi], ebx
mov dword [esp + 0x3c], eax
mov dword [eax + 8], ebx
lea ecx, [0x5f59e0]
mov dword [esp], ecx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60a758]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [0x7c3fa0]
test edx, edx
je 0x50b669
call fcn.00468400
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x50b683
mov ecx, dword [esp + 0x34]
jmp 0x50b68e
call fcn.00468400
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x50b6a8
mov ecx, dword [esp + 0x70]
jmp 0x50b6b3
call fcn.00468400
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x1c], ecx
lea ecx, [0x659d9c]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x50b6cf
mov ecx, dword [esp + 0x3c]
jmp 0x50b6da
call fcn.00468400
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 0x24], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x659d10]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
movzx eax, byte [esp + 0x22]
test al, 1
je 0x50b717
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
call eax
add esp, 0x5c
ret
call fcn.00467000
jmp fcn.0050b170