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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x100db690]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
xor eax, eax
push edi
xor edi, edi
push 0x2c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
call fcn.1002e520
mov eax, dword [0x100d1660]
mov ecx, dword [str.websocket]
mov edx, dword [0x100d165c]
add esp, 0xc
push 0x2c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [0x100d1664]
mov dword [esp + 0x68], edx
mov edx, dword [0x100d1668]
lea eax, [esp + 0x78]
push edi
push eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
call fcn.1002e520
mov ecx, dword [esi + 0x90]
add esp, 0xc
push ecx
lea edx, [esp + 0x64]
push edx
mov eax, edx
push str._ws_x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
push edx
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x100026c0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 5
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edi
call fcn.1000b670
mov ebx, dword [0x100a8200]
movzx eax, ax
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp cx, ax
jne 0x10001d55
call ebx
cmp eax, 0x582
je 0x10001d55
call ebx
call ebx
test eax, 0x20000000
je 0x10001d2e
cmp eax, edi
jle 0x10001e25
and eax, 0xffff
or eax, 0xa0070000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1002e502
mov esp, ebp
pop ebp
ret
cmp eax, edi
jle 0x10001e25
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1002e502
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x58]
push edi
push edi
push SysReAllocString
push edi
push edi
push 0x20000000
push 0x100d1844
push edx
call fcn.1000bcc0
mov dword [esi + 4], eax
cmp eax, edi
jne 0x10001db3
call ebx
call ebx
test eax, 0x20000000
je 0x10001d9d
cmp eax, edi
jg 0x10001d8f
mov esi, eax
jmp 0x10001e12
and eax, 0xffff
or eax, 0xa0070000
mov esi, eax
jmp 0x10001e12
cmp eax, edi
jg 0x10001da5
mov esi, eax
jmp 0x10001e12
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x10001e12
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
adc byte [ebx + 0x53c8e], cl
add byte [ecx - 1], dl
adc eax, sym.imp.KERNEL32.dll_SetEvent
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
je 0x10001e10
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x10001df0
xor esi, esi
cmp word [esp + 0x10], di
je 0x10001e23
mov eax, dword [esp + 0x58]
push eax
call fcn.1000b5a0
mov eax, esi
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e502
mov esp, ebp
pop ebp
ret