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

Disassembly:
push 0xffffffffffffffff
push 0x6592e0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
push 0x400
call fcn.005f5a75
mov edi, eax
xor ebx, ebx
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0x67997c
mov dword [esp + 0x44], ebx
mov ecx, dword [edi + 0x20]
push 0x1007
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov word [esp + 0x5c], dx
mov dword [esp + 0x88], ebx
push str.:__xn__
push esi
call fcn.00622230
add esp, 8
test eax, eax
jne 0x50e100
push str..xn__
push esi
call fcn.00622230
add esp, 8
test eax, eax
jne 0x50e100
push ebx
push esi
lea ecx, [esp + 0x60]
call fcn.00401970
jmp 0x50e1f0
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0x88], 1
push esi
lea eax, [esp + 0x18]
push 0x678ea8
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x20]
push 0x679990
push ecx
call fcn.00622230
add esp, 0x14
cmp eax, ebx
je 0x50e1d5
push 6
lea edx, [esp + 0x20]
mov byte [eax], bl
add eax, 3
push edx
push eax
mov dword [esp + 0x28], ebx
call fcn.005ec660
add esp, 0xc
push ebx
lea ecx, [esp + 0x5c]
test eax, eax
jne 0x50e1da
mov eax, dword [esp + 0x18]
push eax
call fcn.00401970
xor ecx, ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov word [esp + 0x74], cx
mov byte [esp + 0x88], 2
mov edx, dword [esp + 0x1c]
push 0xfde9
push edx
lea ecx, [esp + 0x78]
call fcn.00401970
push 0x6846c0
lea ecx, [esp + 0x5c]
call fcn.00405310
mov eax, dword [esp + 0x70]
cmp eax, ebx
jne 0x50e1ab
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
call fcn.00405310
mov eax, dword [esp + 0x1c]
push eax
call fcn.006220cc
add esp, 4
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x70]
call fcn.00401210
jmp 0x50e1e0
push ebx
lea ecx, [esp + 0x5c]
push esi
call fcn.00401970
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x14]
call fcn.00402560
mov eax, dword [esp + 0x58]
cmp eax, ebx
jne 0x50e1fc
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x20]
push eax
push ecx
push ebx
push edx
call fcn.00453bd0
xor eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x78], ax
mov byte [esp + 0x98], 3
mov esi, dword [ebp]
push esi
call fcn.005b84b0
movzx ecx, al
add esp, 0x14
neg ecx
sbb ecx, ecx
and ecx, 0xfde9
push ecx
push esi
lea ecx, [esp + 0x6c]
call fcn.00401970
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x50e253
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edi + 0x20]
push edx
push 1
push eax
call fcn.00453bd0
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x88], 4
mov ecx, dword [ebp + 4]
xor esi, esi
cmp dword [ecx - 0xc], ebx
jle 0x50e29b
push 1
push 0x67a890
lea ecx, [esp + 0x20]
call fcn.00402e00
mov edx, dword [ebp + 4]
inc esi
cmp esi, dword [edx - 0xc]
jl 0x50e282
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x30], 2
mov dword [esp + 0x3c], eax
mov eax, dword [eax - 0xc]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
push 0x102e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50e2f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x64]
call fcn.00401210
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.00401210
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00620b8d
add esp, 0x78
ret 8