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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41805c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418a5f
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov ecx, 0xa
xor edx, edx
div ecx
mov eax, dword [0x41a7b8]
mov dword [eax], edx
mov eax, dword [0x41a788]
cmp byte [eax], 0
je 0x4180b2
push 0xa0010
push 0x64
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_AnimateWindow
mov eax, dword [ebx + 0x18]
call fcn.00409504
push 0xffffffffffffffec
mov eax, dword [0x41a874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41bb6c], eax
mov eax, dword [0x41a8a8]
cmp byte [eax], 0
je 0x4180dd
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00406634
mov edx, dword [0x41a768]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.00419718
mov edx, dword [0x41a7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408d50
mov edx, dword [0x41a7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408d50
mov edx, dword [0x41a7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408d50
mov edx, dword [0x41aa08]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.004196f8
mov edx, dword [0x41a8a8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409a6c
mov eax, dword [0x41a8a8]
mov al, byte [eax]
mov edx, dword [0x41aa1c]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00419d30
mov edx, dword [0x41a7d8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.00419d78
mov edx, dword [0x41a9e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409cd8
mov edx, dword [0x41a8b8]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409cd8
lea edx, [ebp - 0x10]
mov eax, dword [0x41a808]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.004092f0
lea edx, [ebp - 0x14]
mov eax, dword [0x41a764]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004092f0
lea edx, [ebp - 0x18]
mov eax, dword [0x41a9c0]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.004092f0
lea edx, [ebp - 0x1c]
mov eax, dword [0x41a9a8]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.004092f0
lea edx, [ebp - 0x20]
mov eax, dword [0x41a7a4]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.004092f0
lea edx, [ebp - 0x24]
mov eax, 0x418a74
call fcn.00414568
cmp dword [ebp - 0x24], 0
je 0x418274
lea edx, [ebp - 0x28]
mov eax, 0x418a74
call fcn.00414568
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.004092f0
jmp 0x418284
mov edx, dword [0x41a94c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.004092f0
mov eax, dword [0x41a8a0]
cmp byte [eax], 0
jne 0x418298
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408d50
mov eax, dword [0x41a864]
cmp byte [eax], 0
jne 0x4182d6
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41a8e0]
cmp byte [eax], 0
jne 0x4182ea
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41a864]
cmp byte [eax], 0
jne 0x4183d1
mov eax, dword [0x41a8e0]
cmp byte [eax], 0
jne 0x4183d1
mov eax, dword [ebx + 0x30]
call fcn.004096f8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004096a4
mov eax, dword [ebx + 0x94]
call fcn.00409698
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004096a4
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
jmp 0x4187af
mov eax, dword [0x41a864]
cmp byte [eax], 0
je 0x4185c5
mov eax, dword [0x41a8e0]
cmp byte [eax], 0
jne 0x4185c5
mov eax, dword [ebx + 0x30]
call fcn.004096f8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.004096a4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.00409698
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.004096a4
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
mov eax, dword [0x41a914]
cmp byte [eax], 0
je 0x4187af
mov eax, dword [ebx + 0x84]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040972c
mov eax, dword [ebx + 0xd4]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x30]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.0040972c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.004096a4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.004096a4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004096a4
jmp 0x4187af
mov eax, dword [0x41a864]
cmp byte [eax], 0
jne 0x418614
mov eax, dword [0x41a8e0]
cmp byte [eax], 0
je 0x418614
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.004096d4
jmp 0x4187af
mov eax, dword [0x41a914]
cmp byte [eax], 0
je 0x4187af
mov eax, dword [ebx + 0x84]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040972c
mov eax, dword [ebx + 0xd4]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409704
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004096f8
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.004096c8
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409720
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.004096d4
mov eax, dword [ebx + 0x88]
call fcn.004096c8
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.004096d4
mov eax, dword [ebx + 0x88]
call fcn.004096c8
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x30]
call fcn.00409720
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.0040972c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
call fcn.0040fb50
mov dword [ebp - 4], eax
call fcn.00410060
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00406eac
lea eax, [ebp - 0x2c]
call fcn.00414624
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.004080cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x418851
mov esi, eax
dec esi
test esi, esi
jl 0x41880b
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a090
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409c48
inc edi
dec esi
jne 0x4187ef
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409cd8
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x418851
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409af8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x41884d
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409cd8
inc edi
dec esi
jne 0x418825
mov eax, dword [ebp - 8]
call fcn.004078d0
mov eax, dword [ebp - 4]
call fcn.004078d0
call fcn.0040fb50
mov edx, dword [0x41a8d8]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004065ec
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004080cc
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41a8d8]
mov eax, dword [eax]
call fcn.0040fe98
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41a974]
mov dword [edx], eax
mov eax, dword [0x41a9d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a844]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a998]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a7bc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a950]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a9f8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a7d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a960]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x41133c]
call fcn.004116b8
mov edx, dword [0x41a790]
mov dword [edx], eax
mov eax, dword [0x41a790]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004069dc
mov edx, dword [0x41a8b4]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41a98c]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41a8d4]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41a9fc]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41a980]
mov dword [edx], eax
mov eax, dword [0x41a99c]
xor edx, edx
call fcn.00415480
mov eax, dword [0x41a8ac]
xor edx, edx
call fcn.00415480
mov edx, 1
mov eax, 1
call fcn.0040a418
mov edx, dword [0x41a9f0]
mov dword [edx], eax
mov eax, dword [0x41a890]
cmp byte [eax], 0
je 0x4189a9
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41a874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x418aa8
call fcn.00412f60
lea edx, [ebp - 0x44]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.004065ec
push dword [ebp - 0x44]
push 0x418ac4
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00405a28
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408320
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.004092f0
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x418ac4
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00405a28
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408320
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00409f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418a66
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret