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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x50e785
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0x90], 0
lea eax, [0x6e2f40]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0x2a05f200
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], 2
mov dword [esp + 0x90], eax
lea eax, [0x50e790]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x80], eax
mov byte [esp + 0x2f], 1
call fcn.00510fa0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x50e454
mov eax, dword [esp]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x50e46c
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
inc edx
cmp edx, ecx
jge 0x50e48c
mov ebx, dword [eax + edx*4]
cmp dword [ebx + 0x44], 1
jne 0x50e46b
mov ebp, dword [ebx + 0xa4]
test ebp, ebp
je 0x50e46b
mov dword [esp + 0x60], edx
mov ebx, dword [ebx + 0x1c]
jmp 0x50e4b6
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov ebp, dword [esp + 0x6c]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
test ebx, ebx
je 0x50e46b
mov dword [esp + 0x6c], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00487510
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x50e4a3
mov eax, dword [esp + 4]
test eax, eax
je 0x50e76e
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 8]
cmp ecx, 0x20797a7d
jne 0x50e56a
lea ecx, [0x762f40]
cmp eax, ecx
jne 0x50e55f
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov edx, dword [0x933a74]
cmp edx, 0x10
jl 0x50e529
mov edx, 0x10
mov ebx, dword [0x933a70]
lea ebp, [esp + 0x40]
cmp ebx, ebp
je 0x50e555
mov dword [esp + 0x5c], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00472150
mov eax, dword [esp + 0x5c]
lea ecx, [0x762f40]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
jmp 0x50e5db
lea ecx, [0x762f50]
jmp 0x50e4a3
cmp ecx, 0x71fab03a
jne 0x50e763
lea ecx, [0x762f50]
cmp eax, ecx
jne 0x50e4a3
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
test byte [ebx], al
lea eax, [ebx + 8]
lea ebx, [esp + 0x30]
cmp ebx, eax
je 0x50e5c5
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
call fcn.00472150
cmp byte [esp + 0x30], 0xfe
jne 0x50e5d7
cmp byte [esp + 0x31], 0xc0
je 0x50e4a3
lea eax, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.005118b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.00402510
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x50e678
mov dword [esp], 0
lea eax, [0x7620e8]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
lea ecx, [0x6f67f7]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
lea edx, [0x6f68c3]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
call fcn.00450b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
jmp 0x50e6c0
mov dword [esp], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
lea eax, str.:v6
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
lea ecx, [0x6f68c3]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
call fcn.00450aa0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
inc esi
mov edi, dword [ebx]
cmp ebp, esi
jae 0x50e739
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6a7120]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 8], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x50e72b
call fcn.004717d0
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x64]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x50]
mov dword [ebx + 4], esi
lea ebx, [edi + esi*8 - 4]
mov dword [ebx], ecx
mov ecx, dword [0x95f020]
lea ebx, [edi + esi*8 - 8]
test ecx, ecx
je 0x50e75c
call fcn.004717d0
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
jmp 0x50e4a3
lea ecx, [0x762f50]
jmp 0x50e4a3
lea ecx, [0x762f50]
jmp 0x50e4a3
call fcn.004703c0
jmp fcn.0050e3a0