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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x572c70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a722
mov eax, dword [ebx + 0x4c]
xor esi, esi
xor edi, edi
cmp eax, esi
jne 0x45a730
cmp byte [ebx + 0x48], 0
jne 0x45a729
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]
neg ecx
sbb ecx, ecx
and ecx, edx
test dword [ebp + 0x14], 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea edx, [esi + 1]
je 0x45a6be
xor edx, edx
mov edi, dword [ebx + 0x28]
lea ecx, [ebx + 0x74]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x24]
lea eax, [ebx + 0x70]
lea esi, [ebx + 0x38]
push edi
mov edi, eax
mov ecx, esi
call fcn.0045a0d0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x45a878
cmp byte [ebx + 0x48], al
jne 0x45a878
mov eax, dword [ebx + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a722
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x45a722
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 0x45aa24
mov edi, 2
jmp 0x45a74c
cmp eax, 1
jne 0x45a74c
mov eax, dword [ebx + 0x38]
lea esi, [ebx + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45a881
xor esi, esi
mov byte [esp + 0x13], 0
cmp edi, 2
je 0x45a760
cmp byte [ebx + 0x48], 0
je 0x45aa20
lea eax, [ebx + 0x58]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x78], esi
cmp edi, 2
jne 0x45a77d
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x50], edx
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, ebx
mov byte [ebx + 0x48], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
call edx
cmp al, 1
jne 0x45a999
cmp dword [esp + 0x1c], esi
jne 0x45a7b8
cmp dword [esp + 0x14], esi
je 0x45a999
lea edi, [ebx + 0x78]
lea esi, [esp + 0x34]
mov dword [esp + 0x18], edi
call fcn.004a9290
lea esi, [esp + 0x28]
call fcn.004c8b40
mov edi, dword [esp + 0x28]
test edi, edi
je 0x45a7df
cmp edi, dword [esp + 0x34]
je 0x45a7e4
call fcn.0053ecd6
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x38]
je 0x45a997
test edi, edi
jne 0x45a96e
call fcn.0053ecd6
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45a80b
call fcn.0053ecd6
mov eax, dword [esp + 0x20]
cmp dword [esi], eax
jne 0x45a853
test edi, edi
jne 0x45a975
call fcn.0053ecd6
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45a82c
call fcn.0053ecd6
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 4]
je 0x45a983
lea esi, [esp + 0x28]
call fcn.00464e10
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 4]
je 0x45aa15
mov esi, dword [esp + 0x2c]
test edi, edi
jne 0x45a97c
call fcn.0053ecd6
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x45a86c
call fcn.0053ecd6
add esi, 0x24
mov dword [esp + 0x2c], esi
jmp 0x45a7d5
cmp edi, 1
jne 0x45a74a
test byte [ebp + 0x14], 2
je 0x45a8d9
mov edx, dword [esi]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [esp + 0x44], 2
jne 0x45a8d9
mov eax, dword [esi]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x45a8eb
mov eax, dword [eax + 4]
jmp 0x45a8ee
add eax, 4
mov edi, dword [ebp + 0x10]
mov esi, dword [esi]
push 0xbb8
push ecx
push eax
push edi
call fcn.00468d90
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45a924
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x14]
push edi
push eax
mov ecx, ebx
call edx
xor eax, eax
test esi, esi
setne al
jmp 0x45aa24
mov eax, dword [ebx + 0x28]
cmp dword [eax - 0xc], 0
je 0x45a962
mov dword [ebx + 0x70], 0x69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x3c]
push ecx
mov dword [ebx + 0x74], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a962
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x3c]
push edx
push eax
push 0x4cc
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
test esi, esi
setne al
jmp 0x45aa24
mov eax, dword [edi]
jmp 0x45a801
mov eax, dword [edi]
jmp 0x45a822
mov eax, dword [edi]
jmp 0x45a862
push esi
mov esi, dword [esp + 0x1c]
push edi
lea edi, [esp + 0x3c]
call fcn.0045af40
jmp 0x45aa15
xor esi, esi
mov byte [esp + 0x13], 1
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ecx
mov byte [esp + 0x84], 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
call fcn.00424780
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
lea edi, [ebx + 0x78]
mov dword [esp + 0x40], edx
call fcn.0045aea0
cmp dword [ebx + 0x44], esi
jne 0x45aa01
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 [esp + 0x5c], 0x10
jb 0x45aa15
mov edx, dword [esp + 0x48]
push edx
call fcn.0053d782
add esp, 4
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 0x10