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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3630
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4e24e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48e3be
mov eax, dword [ebx + 0x4c]
xor esi, esi
xor edi, edi
cmp eax, esi
jne 0x48e3cc
cmp byte [ebx + 0x48], 0
jne 0x48e3c5
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx - 0xc]
mov edx, dword [ebx + 0x30]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx - 0xc]
lea edi, [ebx + 0x74]
push edi
neg ecx
push 1
sbb ecx, ecx
and ecx, edx
mov edx, dword [ebx + 0x28]
push 1
push eax
push edx
lea esi, [ebx + 0x38]
mov edx, ecx
lea edi, [ebx + 0x70]
mov ecx, esi
call fcn.0048dc10
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48e518
cmp byte [ebx + 0x48], al
jne 0x48e518
mov edx, dword [ebx + 0x3c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48e3be
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x48e3be
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x3c]
push ecx
push eax
push 0x4cc
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x48e697
mov edi, 2
jmp 0x48e3e8
cmp eax, 1
jne 0x48e3e8
mov eax, dword [ebx + 0x38]
lea esi, [ebx + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x48e521
xor esi, esi
mov byte [ebp - 0x35], 0
cmp edi, 2
je 0x48e3fb
cmp byte [ebx + 0x48], 0
je 0x48e694
lea eax, [ebx + 0x58]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], esi
cmp edi, 2
jne 0x48e417
mov dword [ebx + 0x50], 1
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0x115
mov ecx, ebx
mov byte [ebx + 0x48], 1
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
call eax
cmp al, 1
jne 0x48e620
cmp dword [ebp - 0x44], esi
jne 0x48e44d
cmp dword [ebp - 0x3c], esi
je 0x48e620
mov eax, dword [ebx + 0x88]
lea esi, [ebx + 0x78]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0xc], eax
jbe 0x48e466
call fcn.00446707
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x64], eax
cmp eax, dword [esi + 0x10]
jbe 0x48e47b
call fcn.00446707
mov edi, dword [esi]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
test edi, edi
je 0x48e48f
cmp edi, dword [ebp - 0x54]
je 0x48e494
call fcn.00446707
cmp esi, dword [ebp - 0x5c]
je 0x48e61e
test edi, edi
jne 0x48e5fa
call fcn.00446707
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x48e4b6
call fcn.00446707
cmp dword [esi], 0
jne 0x48e4f7
test edi, edi
jne 0x48e601
call fcn.00446707
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x48e4d4
call fcn.00446707
mov edx, dword [ebp - 0x44]
cmp edx, dword [esi + 4]
je 0x48e60f
lea esi, [ebp - 0x4c]
call fcn.004216b0
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 4]
je 0x48e68a
mov esi, dword [ebp - 0x48]
test edi, edi
jne 0x48e608
call fcn.00446707
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x48e510
call fcn.00446707
add esi, 0x24
jmp 0x48e483
cmp edi, 1
jne 0x48e3e6
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
jb 0x48e535
mov edi, dword [eax + 4]
jmp 0x48e538
lea edi, [eax + 4]
mov esi, dword [esi]
mov dword [ebp - 0x40], 0
test esi, esi
je 0x48e5af
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48e5af
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
push 0xbb8
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0x4a
push esi
mov dword [ebp - 0x58], 0x115
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x48e5af
cmp dword [ebp - 0x3c], 0
je 0x48e5af
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push 0x115
push 0
mov ecx, ebx
mov dword [ebp - 0x40], 1
call eax
xor eax, eax
cmp dword [ebp - 0x40], eax
setne al
jmp 0x48e697
mov ecx, dword [ebx + 0x28]
cmp dword [ecx - 0xc], 0
je 0x48e5ed
mov dword [ebx + 0x70], 0x69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx + 0x3c]
push edx
mov dword [ebx + 0x74], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48e5ed
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x3c]
push eax
push ecx
push 0x4cc
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [ebp - 0x40], eax
setne al
jmp 0x48e697
mov eax, dword [edi]
jmp 0x48e4ac
mov eax, dword [edi]
jmp 0x48e4ca
mov eax, dword [edi]
jmp 0x48e506
push esi
mov esi, dword [ebp - 0x60]
push edi
lea edi, [ebp - 0x54]
call int.004117e0
jmp 0x48e68a
xor esi, esi
mov byte [ebp - 0x35], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x40]
push 0xffffffffffffffff
push esi
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x115
call fcn.00410630
lea eax, [ebp - 0x34]
push eax
lea edi, [ebx + 0x78]
mov dword [ebp - 0x34], esi
call fcn.00411740
cmp dword [ebx + 0x44], esi
jne 0x48e678
mov ecx, dword [ebx + 4]
push esi
push 0x1f4
push 0x64
push ecx
mov dword [ebx + 0x40], esi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x44], eax
cmp dword [ebp - 0x14], 0x10
jb 0x48e68a
mov edx, dword [ebp - 0x28]
push edx
call fcn.0044556f
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044557a
mov esp, ebp
pop ebp
ret 8