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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x422140
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x422b43
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 [0x4258a0]
mov dword [eax], edx
mov eax, dword [0x425868]
cmp byte [eax], 0
je 0x422196
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.0040adc8
push 0xffffffffffffffec
mov eax, dword [0x425978]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x426c28], eax
mov eax, dword [0x4259b0]
cmp byte [eax], 0
je 0x4221c1
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00407ea4
mov edx, dword [0x425844]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.0040b330
mov eax, ebx
mov edx, esi
call fcn.004237fc
mov edx, dword [0x4258e8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.0040a614
mov edx, dword [0x4258e8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.0040a614
mov edx, dword [0x4258e8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.0040a614
mov edx, dword [0x425b5c]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.0040b330
mov eax, ebx
mov edx, esi
call fcn.004237dc
mov edx, dword [0x4259b0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.0040b330
mov eax, dword [0x4259b0]
mov al, byte [eax]
mov edx, dword [0x425b74]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00423e14
mov edx, dword [0x4258d4]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.0040b330
mov eax, ebx
mov edx, esi
call fcn.00423e5c
mov edx, dword [0x425b30]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.0040b59c
mov edx, dword [0x4259c0]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.0040b59c
lea edx, [ebp - 0x10]
mov eax, dword [0x425904]
mov eax, dword [eax]
call fcn.004098a8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.0040abb4
lea edx, [ebp - 0x14]
mov eax, dword [0x425840]
mov eax, dword [eax]
call fcn.004098a8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.0040abb4
lea edx, [ebp - 0x18]
mov eax, dword [0x425b04]
mov eax, dword [eax]
call fcn.004098a8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.0040abb4
lea edx, [ebp - 0x1c]
mov eax, dword [0x425ae8]
mov eax, dword [eax]
call fcn.004098a8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.0040abb4
lea edx, [ebp - 0x20]
mov eax, dword [0x425888]
mov eax, dword [eax]
call fcn.004098a8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.0040abb4
lea edx, [ebp - 0x24]
mov eax, 0x422b58
call fcn.0041e820
cmp dword [ebp - 0x24], 0
je 0x422358
lea edx, [ebp - 0x28]
mov eax, 0x422b58
call fcn.0041e820
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.0040abb4
jmp 0x422368
mov edx, dword [0x425a7c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.0040abb4
mov eax, dword [0x4259a8]
cmp byte [eax], 0
jne 0x42237c
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.0040a614
mov eax, dword [0x425968]
cmp byte [eax], 0
jne 0x4223ba
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00407ea4
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00407ea4
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00407ea4
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00407ea4
mov eax, dword [0x4259f4]
cmp byte [eax], 0
jne 0x4223ce
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00407ea4
mov eax, dword [0x425968]
cmp byte [eax], 0
jne 0x4224b5
mov eax, dword [0x4259f4]
cmp byte [eax], 0
jne 0x4224b5
mov eax, dword [ebx + 0x30]
call fcn.0040afbc
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0040afbc
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.0040afc8
mov eax, dword [ebx + 0x90]
call fcn.0040af8c
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.0040af98
mov eax, dword [ebx + 0x94]
call fcn.0040af8c
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.0040af98
mov eax, dword [ebx + 0x90]
call fcn.0040af5c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0040af68
mov eax, dword [ebx + 0x94]
call fcn.0040af5c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0040af68
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040b2d0
mov eax, dword [ebx + 0x18]
call fcn.0040afe4
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040b10c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040b2d0
jmp 0x422893
mov eax, dword [0x425968]
cmp byte [eax], 0
je 0x4226a9
mov eax, dword [0x4259f4]
cmp byte [eax], 0
jne 0x4226a9
mov eax, dword [ebx + 0x30]
call fcn.0040afbc
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0040afbc
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.0040afc8
mov eax, dword [ebx + 0x90]
call fcn.0040af8c
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.0040af98
mov eax, dword [ebx + 0x90]
call fcn.0040af5c
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.0040af68
mov eax, dword [ebx + 0x94]
call fcn.0040af8c
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.0040af98
mov eax, dword [ebx + 0x94]
call fcn.0040af5c
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.0040af68
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040b2d0
mov eax, dword [ebx + 0x18]
call fcn.0040afe4
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040b10c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040b2d0
mov eax, dword [0x425a34]
cmp byte [eax], 0
je 0x422893
mov eax, dword [ebx + 0x84]
call fcn.0040afe4
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040aff0
mov eax, dword [ebx + 0xd4]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.0040afc8
mov eax, dword [ebx + 0x90]
call fcn.0040af8c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0040af98
mov eax, dword [ebx + 0x94]
call fcn.0040af8c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0040af98
mov eax, dword [ebx + 0x30]
call fcn.0040afe4
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.0040aff0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040b2d0
mov eax, dword [ebx + 0x18]
call fcn.0040afe4
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040b10c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040b2d0
mov eax, dword [ebx + 0x90]
call fcn.0040af5c
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040af68
mov eax, dword [ebx + 0x90]
call fcn.0040af5c
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.0040af68
mov eax, dword [ebx + 0x90]
call fcn.0040af5c
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040af68
jmp 0x422893
mov eax, dword [0x425968]
cmp byte [eax], 0
jne 0x4226f8
mov eax, dword [0x4259f4]
cmp byte [eax], 0
je 0x4226f8
mov eax, dword [ebx + 0x90]
call fcn.0040af8c
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.0040af98
mov eax, dword [ebx + 0x94]
call fcn.0040af8c
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.0040af98
jmp 0x422893
mov eax, dword [0x425a34]
cmp byte [eax], 0
je 0x422893
mov eax, dword [ebx + 0x84]
call fcn.0040afe4
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040aff0
mov eax, dword [ebx + 0xd4]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.0040afc8
mov eax, dword [ebx + 0x84]
call fcn.0040af5c
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040af68
mov eax, dword [ebx + 0x84]
call fcn.0040af5c
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0040afbc
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0040af68
mov eax, dword [ebx + 0x84]
call fcn.0040af5c
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0040afbc
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0040afbc
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.0040af68
mov eax, dword [ebx + 0x84]
call fcn.0040af8c
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.0040afe4
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.0040af98
mov eax, dword [ebx + 0x88]
call fcn.0040af8c
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.0040af98
mov eax, dword [ebx + 0x88]
call fcn.0040af8c
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.0040af98
mov eax, dword [ebx + 0x90]
call fcn.0040af8c
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.0040af98
mov eax, dword [ebx + 0x94]
call fcn.0040af8c
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.0040af98
mov eax, dword [ebx + 0x30]
call fcn.0040afe4
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.0040aff0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040b2d0
mov eax, dword [ebx + 0x18]
call fcn.0040afe4
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040afbc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040b10c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040b2d0
call fcn.00412e50
mov dword [ebp - 4], eax
call fcn.00413360
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.0040877c
lea eax, [ebp - 0x2c]
call fcn.0041e8dc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.0040995c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x422935
mov esi, eax
dec esi
test esi, esi
jl 0x4228ef
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040b954
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.0040b50c
inc edi
dec esi
jne 0x4228d3
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.0040b59c
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x422935
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.0040b3bc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403eb4
test eax, eax
jle 0x422931
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.0040b59c
inc edi
dec esi
jne 0x422909
mov eax, dword [ebp - 8]
call fcn.00409100
mov eax, dword [ebp - 4]
call fcn.00409100
call fcn.00412e50
mov edx, dword [0x4259e4]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.00407e5c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040995c
mov edx, dword [ebp - 0x38]
mov eax, dword [0x4259e4]
mov eax, dword [eax]
call fcn.00413198
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x425aa8]
mov dword [edx], eax
mov eax, dword [0x425b18]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x425944]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x425ad8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x4258a4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x425a80]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x425b4c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x4258d0]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x425a90]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x41b734]
call fcn.0041bab0
mov edx, dword [0x425870]
mov dword [edx], eax
mov eax, dword [0x425870]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.00408278
mov edx, dword [0x4259bc]
mov dword [edx], eax
call fcn.00408278
mov edx, dword [0x425ac8]
mov dword [edx], eax
call fcn.00408278
mov edx, dword [0x4259e0]
mov dword [edx], eax
call fcn.00408278
mov edx, dword [0x425b50]
mov dword [edx], eax
call fcn.00408278
mov edx, dword [0x425ab8]
mov dword [edx], eax
mov eax, dword [0x425adc]
xor edx, edx
call fcn.0041f958
mov eax, dword [0x4259b4]
xor edx, edx
call fcn.0041f958
mov edx, 1
mov eax, 1
call fcn.0040bc9c
mov edx, dword [0x425b40]
mov dword [edx], eax
mov eax, dword [0x425998]
cmp byte [eax], 0
je 0x422a8d
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00407ea4
mov eax, dword [0x425978]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x422b8c
call fcn.0041d34c
lea edx, [ebp - 0x44]
mov eax, dword [0x426c24]
mov eax, dword [eax + 0x18]
call fcn.00407e5c
push dword [ebp - 0x44]
push 0x422ba8
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.004065f0
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409be4
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403c8c
mov edx, dword [ebp - 0x40]
mov eax, dword [0x426c24]
mov eax, dword [eax + 0x18]
call fcn.0040abb4
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x422ba8
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.004065f0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00409be4
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403c8c
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.0040b82c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422b4a
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403954
ret