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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x418584
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418f9b
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 [0x41b7b8]
mov dword [eax], edx
mov eax, dword [0x41b788]
cmp byte [eax], 0
je 0x4185da
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.004096ec
push 0xffffffffffffffec
mov eax, dword [0x41b874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41cb6c], eax
mov eax, dword [0x41b8a8]
cmp byte [eax], 0
je 0x418605
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.0040681c
mov edx, dword [0x41b768]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409c54
mov eax, ebx
mov edx, esi
call fcn.00419c54
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408f38
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408f38
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408f38
mov edx, dword [0x41ba08]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409c54
mov eax, ebx
mov edx, esi
call fcn.00419c34
mov edx, dword [0x41b8a8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409c54
mov eax, dword [0x41b8a8]
mov al, byte [eax]
mov edx, dword [0x41ba1c]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.0041a26c
mov edx, dword [0x41b7d8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409c54
mov eax, ebx
mov edx, esi
call fcn.0041a2b4
mov edx, dword [0x41b9e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409ec0
mov edx, dword [0x41b8b8]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409ec0
lea edx, [ebp - 0x10]
mov eax, dword [0x41b808]
mov eax, dword [eax]
call fcn.00408200
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.004094d8
lea edx, [ebp - 0x14]
mov eax, dword [0x41b764]
mov eax, dword [eax]
call fcn.00408200
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004094d8
lea edx, [ebp - 0x18]
mov eax, dword [0x41b9c0]
mov eax, dword [eax]
call fcn.00408200
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.004094d8
lea edx, [ebp - 0x1c]
mov eax, dword [0x41b9a8]
mov eax, dword [eax]
call fcn.00408200
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.004094d8
mov eax, dword [ebx + 0x6c]
xor edx, edx
call fcn.00408f38
mov eax, dword [ebx + 0x68]
xor edx, edx
call fcn.00408f38
lea edx, [ebp - 0x20]
mov eax, dword [0x41b7a4]
mov eax, dword [eax]
call fcn.00408200
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.004094d8
lea edx, [ebp - 0x24]
mov eax, 0x418fb0
call fcn.004149b8
cmp dword [ebp - 0x24], 0
je 0x4187b0
lea edx, [ebp - 0x28]
mov eax, 0x418fb0
call fcn.004149b8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.004094d8
jmp 0x4187c0
mov edx, dword [0x41b94c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.004094d8
mov eax, dword [0x41b8a0]
cmp byte [eax], 0
jne 0x4187d4
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408f38
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x418812
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.0040681c
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.0040681c
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.0040681c
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.0040681c
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x418826
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.0040681c
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x41890d
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x41890d
mov eax, dword [ebx + 0x30]
call fcn.004098e0
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004098e0
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004098ec
mov eax, dword [ebx + 0x90]
call fcn.004098b0
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.004098bc
mov eax, dword [ebx + 0x94]
call fcn.004098b0
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.004098bc
mov eax, dword [ebx + 0x90]
call fcn.00409880
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0040988c
mov eax, dword [ebx + 0x94]
call fcn.00409880
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0040988c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409bf4
mov eax, dword [ebx + 0x18]
call fcn.00409908
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409a30
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409bf4
jmp 0x418ceb
mov eax, dword [0x41b864]
cmp byte [eax], 0
je 0x418b01
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x418b01
mov eax, dword [ebx + 0x30]
call fcn.004098e0
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004098e0
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004098ec
mov eax, dword [ebx + 0x90]
call fcn.004098b0
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004098bc
mov eax, dword [ebx + 0x90]
call fcn.00409880
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.0040988c
mov eax, dword [ebx + 0x94]
call fcn.004098b0
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004098bc
mov eax, dword [ebx + 0x94]
call fcn.00409880
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.0040988c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409bf4
mov eax, dword [ebx + 0x18]
call fcn.00409908
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409a30
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409bf4
mov eax, dword [0x41b914]
cmp byte [eax], 0
je 0x418ceb
mov eax, dword [ebx + 0x84]
call fcn.00409908
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409914
mov eax, dword [ebx + 0xd4]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004098ec
mov eax, dword [ebx + 0x90]
call fcn.004098b0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004098bc
mov eax, dword [ebx + 0x94]
call fcn.004098b0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004098bc
mov eax, dword [ebx + 0x30]
call fcn.00409908
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409914
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409bf4
mov eax, dword [ebx + 0x18]
call fcn.00409908
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409a30
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409bf4
mov eax, dword [ebx + 0x90]
call fcn.00409880
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040988c
mov eax, dword [ebx + 0x90]
call fcn.00409880
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.0040988c
mov eax, dword [ebx + 0x90]
call fcn.00409880
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040988c
jmp 0x418ceb
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x418b50
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
je 0x418b50
mov eax, dword [ebx + 0x90]
call fcn.004098b0
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.004098bc
mov eax, dword [ebx + 0x94]
call fcn.004098b0
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.004098bc
jmp 0x418ceb
mov eax, dword [0x41b914]
cmp byte [eax], 0
je 0x418ceb
mov eax, dword [ebx + 0x84]
call fcn.00409908
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409914
mov eax, dword [ebx + 0xd4]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004098ec
mov eax, dword [ebx + 0x84]
call fcn.00409880
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040988c
mov eax, dword [ebx + 0x84]
call fcn.00409880
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004098e0
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0040988c
mov eax, dword [ebx + 0x84]
call fcn.00409880
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004098e0
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004098e0
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.0040988c
mov eax, dword [ebx + 0x84]
call fcn.004098b0
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409908
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.004098bc
mov eax, dword [ebx + 0x88]
call fcn.004098b0
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.004098bc
mov eax, dword [ebx + 0x88]
call fcn.004098b0
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.004098bc
mov eax, dword [ebx + 0x90]
call fcn.004098b0
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004098bc
mov eax, dword [ebx + 0x94]
call fcn.004098b0
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004098bc
mov eax, dword [ebx + 0x30]
call fcn.00409908
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409914
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409bf4
mov eax, dword [ebx + 0x18]
call fcn.00409908
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.004098e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409a30
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409bf4
call fcn.0040fd38
mov dword [ebp - 4], eax
call fcn.00410248
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00407094
lea eax, [ebp - 0x2c]
call fcn.00414a74
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.004082b4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x418d8d
mov esi, eax
dec esi
test esi, esi
jl 0x418d47
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a278
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409e30
inc edi
dec esi
jne 0x418d2b
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409ec0
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x418d8d
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409ce0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x418d89
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409ec0
inc edi
dec esi
jne 0x418d61
mov eax, dword [ebp - 8]
call fcn.00407ab8
mov eax, dword [ebp - 4]
call fcn.00407ab8
call fcn.0040fd38
mov edx, dword [0x41b8d8]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004067d4
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004082b4
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41b8d8]
mov eax, dword [eax]
call fcn.00410080
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41b974]
mov dword [edx], eax
mov eax, dword [0x41b9d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b844]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b998]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7bc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b950]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b9f8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b960]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x411524]
call fcn.004118a0
mov edx, dword [0x41b790]
mov dword [edx], eax
mov eax, dword [0x41b790]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.00406bc4
mov edx, dword [0x41b8b4]
mov dword [edx], eax
call fcn.00406bc4
mov edx, dword [0x41b98c]
mov dword [edx], eax
call fcn.00406bc4
mov edx, dword [0x41b8d4]
mov dword [edx], eax
call fcn.00406bc4
mov edx, dword [0x41b9fc]
mov dword [edx], eax
call fcn.00406bc4
mov edx, dword [0x41b980]
mov dword [edx], eax
mov eax, dword [0x41b99c]
xor edx, edx
call fcn.004158ec
mov eax, dword [0x41b8ac]
xor edx, edx
call fcn.004158ec
mov edx, 1
mov eax, 1
call fcn.0040a600
mov edx, dword [0x41b9f0]
mov dword [edx], eax
mov eax, dword [0x41b890]
cmp byte [eax], 0
je 0x418ee5
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.0040681c
mov eax, dword [0x41b874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x418fe4
call fcn.00413258
lea edx, [ebp - 0x44]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.004067d4
push dword [ebp - 0x44]
push 0x419000
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00405c10
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408508
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.004094d8
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x419000
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00405c10
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408508
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.0040a150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418fa2
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret