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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cab0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c17d0]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0x10]
push ecx
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419f5e
mov eax, dword [ebx + 0x4c]
xor esi, esi
xor edi, edi
cmp eax, esi
jne 0x419f6c
cmp byte [ebx + 0x48], 0
jne 0x419f65
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 0
push eax
push edx
lea esi, [ebx + 0x38]
mov edx, ecx
lea edi, [ebx + 0x70]
mov ecx, esi
call fcn.00419960
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x41a0b3
cmp byte [ebx + 0x48], al
jne 0x41a0b3
mov edx, dword [ebx + 0x3c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419f5e
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x419f5e
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 0x41a1e9
mov edi, 2
jmp 0x419f88
cmp eax, 1
jne 0x419f88
mov eax, dword [ebx + 0x38]
lea esi, [ebx + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41a0bc
xor esi, esi
mov byte [ebp - 0x39], 0
cmp edi, 2
je 0x419f9b
cmp byte [ebx + 0x48], 0
je 0x41a1e6
lea eax, [ebx + 0x58]
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], esi
cmp edi, 2
jne 0x419fb3
mov dword [ebx + 0x50], esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x44]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
mov byte [ebx + 0x48], 1
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
call edx
cmp al, 1
jne 0x41a173
cmp dword [ebp - 0x44], esi
jne 0x419fe8
cmp dword [ebp - 0x40], esi
je 0x41a173
mov eax, dword [ebx + 0x88]
lea esi, [ebx + 0x78]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], eax
cmp dword [esi + 0xc], eax
jbe 0x41a001
call fcn.00478cdf
mov eax, dword [esi]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x58], eax
cmp eax, dword [esi + 0x10]
jbe 0x41a016
call fcn.00478cdf
mov edi, dword [esi]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
test edi, edi
je 0x41a02a
cmp edi, dword [ebp - 0x68]
je 0x41a02f
call fcn.00478cdf
cmp esi, dword [ebp - 0x54]
je 0x41a171
test edi, edi
jne 0x41a14d
call fcn.00478cdf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41a051
call fcn.00478cdf
cmp dword [esi], 0
jne 0x41a092
test edi, edi
jne 0x41a154
call fcn.00478cdf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41a06f
call fcn.00478cdf
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [esi + 4]
je 0x41a162
lea esi, [ebp - 0x50]
call fcn.0041a850
mov edx, dword [ebp - 0x40]
cmp edx, dword [eax + 4]
je 0x41a1dc
mov esi, dword [ebp - 0x4c]
test edi, edi
jne 0x41a15b
call fcn.00478cdf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41a0ab
call fcn.00478cdf
add esi, 0x24
jmp 0x41a01e
cmp edi, 1
jne 0x419f86
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x41a0cd
mov eax, dword [eax + 4]
jmp 0x41a0d0
add eax, 4
mov edi, dword [ebp + 0xc]
mov esi, dword [esi]
push 0xbb8
push ecx
push eax
push edi
call fcn.0041c270
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a103
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push edi
push 0
mov ecx, ebx
call eax
xor eax, eax
test esi, esi
setne al
jmp 0x41a1e9
mov ecx, dword [ebx + 0x28]
cmp dword [ecx - 0xc], 0
je 0x41a141
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 0x41a141
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
test esi, esi
setne al
jmp 0x41a1e9
mov eax, dword [edi]
jmp 0x41a047
mov eax, dword [edi]
jmp 0x41a065
mov eax, dword [edi]
jmp 0x41a0a1
push esi
mov esi, dword [ebp - 0x5c]
push edi
lea edi, [ebp - 0x68]
call fcn.0041a790
jmp 0x41a1dc
xor esi, esi
mov byte [ebp - 0x39], 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
push ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.00415c20
lea edx, [ebp - 0x38]
push edx
lea edi, [ebx + 0x78]
mov dword [ebp - 0x38], esi
call fcn.0041a6f0
cmp dword [ebx + 0x44], esi
jne 0x41a1ca
mov eax, dword [ebx + 4]
push esi
push 0x1f4
push 0x64
push eax
mov dword [ebx + 0x40], esi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x44], eax
cmp dword [ebp - 0x18], 0x10
jb 0x41a1dc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00477b12
add esp, 4
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00477b1d
mov esp, ebp
pop ebp
ret 0xc