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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4515ad
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x200]
mov ecx, dword [esi + 0x208]
mov edi, edx
mov edx, dword [esi + 0x204]
xor ebx, ebx
mov dword [esi + 0x210], eax
mov eax, dword [esi + 0x20c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x214], ecx
mov dword [esi + 0x218], edx
mov dword [esi + 0x21c], eax
mov dword [esi + 0x1ec], ebx
call fcn.0043a056
push 0x10001
push 1
push 0x201
push edi
mov dword [esi + 0x190], ebx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.0043a056
cdq
mov ecx, 0x28
idiv ecx
lea eax, [edx + 0xa]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10001
push 1
push 0x202
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x90], 8
mov dword [esp + 0x84], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x78], 0xa
jne 0x41f4ed
mov dword [esp + 0x78], 5
cmp dword [esi + 0x190], ebx
jne 0x420c72
cmp dword [esp + 0x78], 0
jle 0x420c72
dec dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], eax
jmp 0x41f520
mov esi, 1
cmp dword [esp + 0x90], esi
jg 0x41f535
mov dword [esp + 0x98], esi
xor eax, eax
lea edx, [esp + 0xd4]
push edx
xor ebx, ebx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
call fcn.0043aefb
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
add esp, 4
push ebx
push 0x3e8
push eax
push ecx
call fcn.00446060
mov edi, dword [esp + 0x10]
mov ecx, eax
movzx eax, word [esp + 0xdc]
mov dword [esp + 0x14], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x14]
adc eax, edx
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], eax
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, ebx
jl 0x41f5c1
cmp edx, 0x19
jg 0x41f5c6
xor eax, eax
jmp 0x41f5ea
cmp edx, 0x19
jle 0x41f5d6
cmp edx, 0x32
jg 0x41f5db
mov eax, esi
mov dword [esp + 0x80], esi
jmp 0x41f5f1
cmp edx, 0x32
jle 0x41f5e5
mov eax, 2
cmp edx, 0x4b
jle 0x41f5ea
mov eax, 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], ebx
cmp eax, 3
ja case.default.0x41f612
jmp dword [eax*4 + 0x420cb8]
mov ebx, dword [edi + 0x21c]
mov esi, dword [edi + 0x218]
mov edx, dword [edi + 0x210]
mov eax, dword [edi + 0x214]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
cmp ebx, esi
jne 0x41f641
mov edx, ebx
jmp 0x41f64b
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov esi, dword [edi + 0x218]
mov ebx, dword [edi + 0x21c]
add edx, esi
mov dword [esp + 0x38], edx
cmp ebx, esi
jne 0x41f665
mov edx, ebx
jmp 0x41f66f
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov eax, dword [edi + 0x218]
mov ebx, dword [edi + 0x214]
mov esi, dword [edi + 0x210]
add eax, edx
mov dword [esp + 0x4c], eax
cmp ebx, esi
jne 0x41f694
mov dword [esp + 0x74], ebx
jmp case.default.0x41f612
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov dword [esp + 0x74], edx
jmp case.default.0x41f612
mov ebx, dword [edi + 0x21c]
mov esi, dword [edi + 0x218]
mov ecx, dword [edi + 0x214]
mov edx, dword [edi + 0x210]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], edx
cmp ebx, esi
jne 0x41f641
mov edx, ebx
jmp 0x41f64b
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41f6ea
mov edx, esi
jmp 0x41f6f4
call fcn.0043a056
cdq
sub esi, ebx
idiv esi
mov esi, dword [edi + 0x210]
mov ebx, dword [edi + 0x214]
add edx, esi
mov dword [esp + 0x34], edx
cmp ebx, esi
jne 0x41f70e
mov edx, ebx
jmp 0x41f718
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov eax, dword [edi + 0x210]
mov ebx, dword [edi + 0x218]
mov esi, dword [edi + 0x21c]
add eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], esi
cmp esi, ebx
jne 0x41f745
mov dword [esp + 0x64], esi
jmp case.default.0x41f612
call fcn.0043a056
cdq
sub esi, ebx
idiv esi
jmp 0x41f7c7
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41f765
mov edx, esi
jmp 0x41f76f
call fcn.0043a056
cdq
sub esi, ebx
idiv esi
mov esi, dword [edi + 0x210]
mov ebx, dword [edi + 0x214]
add edx, esi
mov dword [esp + 0x34], edx
cmp ebx, esi
jne 0x41f789
mov edx, ebx
jmp 0x41f793
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov eax, dword [edi + 0x210]
mov ebx, dword [edi + 0x21c]
mov esi, dword [edi + 0x218]
add eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], esi
cmp ebx, esi
jne 0x41f7bd
mov dword [esp + 0x64], ebx
jmp case.default.0x41f612
call fcn.0043a056
cdq
sub ebx, esi
idiv ebx
mov dword [esp + 0x64], edx
fild dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor esi, esi
fstp dword [esp + 0x6c]
mov dword [esp + 0x28], eax
fild dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], esi
mov dword [edi + 0x1ec], esi
fstp dword [esp + 0x68]
cmp dword [esp + 0x60], 1
jne 0x41f822
push 0x1388
mov dword [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x41f95c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], eax
je 0x420aa4
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x420c72
mov edi, dword [esp + 0x48]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdiv dword [esp + 0x20]
fstp dword [esp + 0x20]
call fcn.0043a056
cdq
mov ecx, 5
idiv ecx
mov esi, dword [esp + 0x28]
lea eax, [edx + 5]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], esi
fmul dword [esp + 0x20]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
call fcn.0044f740
mov dword [esp + 0x2c], eax
cmp esi, edi
jg 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov ebx, dword [esp + 0x1c]
mov edi, esi
mov esi, eax
lea eax, [esp + 0x9c]
push eax
push ebx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
push 0x468a8c
mov dword [0x4689c0], ecx
mov dword [0x4689c4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx esi, si
movzx eax, di
shl esi, 0x10
or esi, eax
push esi
push 0
push 0x200
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, dword [esp + 0x34]
cmp edi, dword [esp + 0x74]
jmp 0x41fd0e
cmp eax, 1
jne 0x41fa94
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], ecx
je 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov edi, dword [esp + 0x48]
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x4c]
sub eax, edi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdiv dword [esp + 0x20]
fstp dword [esp + 0x20]
call fcn.0043a056
fld dword [esp + 0x6c]
cdq
mov ecx, 5
idiv ecx
mov esi, dword [esp + 0x28]
lea eax, [edx + 5]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
sub esi, eax
mov dword [esp + 0x28], esi
fmul dword [esp + 0x20]
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
call fcn.0044f740
mov dword [esp + 0x2c], eax
cmp esi, edi
jl 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov ebx, dword [esp + 0x1c]
mov edi, esi
mov esi, eax
lea eax, [esp + 0xa4]
push eax
push ebx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], esi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
push 0x468a8c
mov dword [0x4689c0], ecx
mov dword [0x4689c4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx esi, si
movzx eax, di
shl esi, 0x10
or esi, eax
push esi
push 0
push 0x200
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x34]
sub ecx, edi
cmp ecx, dword [esp + 0x74]
jmp 0x41fd0e
cmp eax, 2
jne 0x41fbda
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x4c], edx
je 0x420aa4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jne 0x420c72
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x14], edx
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x20]
call fcn.0043a056
cdq
mov ecx, 5
idiv ecx
mov esi, dword [esp + 0x2c]
lea eax, [edx + 5]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x2c], esi
fmul dword [esp + 0x20]
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.0044f740
mov dword [esp + 0x28], eax
cmp esi, edi
jg 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov ecx, dword [esp + 0x1c]
mov ebx, eax
lea eax, [esp + 0xac]
push eax
mov edi, esi
push ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
push 0x468a8c
mov dword [0x4689c0], edx
mov dword [0x4689c4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x1c]
movzx esi, di
movzx ecx, bx
shl esi, 0x10
or esi, ecx
push esi
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, dword [esp + 0x38]
cmp edi, dword [esp + 0x64]
jl 0x41f7f7
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jmp 0x41fd1f
cmp eax, 3
jne 0x41fd14
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x4c], ecx
je 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
sub ecx, edi
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x20]
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x20]
call fcn.0043a056
fld dword [esp + 0x68]
cdq
mov ecx, 5
idiv ecx
mov esi, dword [esp + 0x2c]
lea eax, [edx + 5]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
sub esi, eax
mov dword [esp + 0x2c], esi
fmul dword [esp + 0x20]
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.0044f740
mov dword [esp + 0x28], eax
cmp esi, edi
jl 0x420aa4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x420c72
mov ecx, dword [esp + 0x1c]
mov ebx, eax
lea eax, [esp + 0xbc]
push eax
mov edi, esi
push ecx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
push 0x468a8c
mov dword [0x4689c0], edx
mov dword [0x4689c4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x1c]
movzx esi, di
movzx ecx, bx
shl esi, 0x10
or esi, ecx
push esi
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x38]
sub eax, edi
cmp eax, dword [esp + 0x64]
jl 0x41f7f7
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x420c72
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x74]
lea ebx, [esp + 0x30]
call fcn.00418530
mov eax, dword [esp + 0x10]
mov dword [esp + 0xf8], 0
mov edi, dword [eax + 0x15c]
cmp edi, dword [eax + 0x160]
je 0x41fd88
mov ebx, dword [esp + 0x30]
mov eax, dword [edi]
test eax, eax
je 0x41fd79
cmp dword [ebx - 0xc], 0
jl 0x41fd79
push eax
push ebx
call fcn.00439fad
add esp, 8
test eax, eax
je 0x41fd79
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41fddf
mov eax, dword [esp + 0x10]
add edi, 4
cmp edi, dword [eax + 0x160]
jne 0x41fd56
cmp dword [esp + 0x60], 0
je 0x41feb8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x158]
mov ecx, dword [eax + 0xac]
mov dword [esp + 0x54], ecx
cmp ecx, dword [eax + 0xb0]
je 0x41feb8
mov edx, dword [esp + 0x54]
mov edi, dword [edx]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x41fdf1
cmp eax, dword [edi - 0x10]
jne 0x41fdf1
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41fe29
mov eax, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], eax
jmp 0x41fd93
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x420c63
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00439d71
add esp, 0x10
add ebx, 0x10
je 0x41fe50
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], 0
jl 0x41fe50
mov edx, ecx
push ebx
push edx
call fcn.00439fad
add esp, 8
test eax, eax
je 0x41fe50
sub eax, dword [esp + 0x30]
sar eax, 1
je 0x41fe8f
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x158]
add ecx, 4
mov dword [esp + 0x54], ecx
cmp ecx, dword [eax + 0xb0]
jne 0x41fdb3
jmp 0x41feb8
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
xor edx, edx
cmp dword [edi + 0x190], edx
jne 0x420a79
mov ebx, dword [esp + 0x60]
inc dword [esp + 0x84]
cmp ebx, 1
je 0x41fefa
cmp dword [esp + 0x98], edx
je 0x420b86
mov ecx, dword [edi + 0x158]
cmp dword [ecx + 0x84], 2
jne 0x420b86
cmp dword [edi + 0x90], 8
je 0x420bba
mov eax, dword [edi + 0x158]
mov ecx, dword [eax + 0x84]
cmp ecx, 3
jne 0x420969
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x54], edx
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, 0x4589e4
shr eax, 0x10
mov byte [esp + 0xf8], 1
mov dword [esp + 0x70], eax
test eax, eax
jne 0x41ff80
mov ecx, 0x4589e4
movzx edi, cx
call fcn.00401be0
test eax, eax
je 0x41ff91
push eax
mov eax, edi
lea edi, [esp + 0x28]
call fcn.00401d90
jmp 0x41ff91
push 0x4589e4
lea edx, [esp + 0x28]
push edx
xor ebx, ebx
call fcn.00402080
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xf8], 2
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1c], ebx
add ebx, 0xfffffff8
push ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push 0x468a8c
mov dword [0x4689c0], edx
mov dword [0x4689c4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x1c]
movzx eax, bx
movzx ecx, di
shl eax, 0x10
or eax, ecx
push eax
push 1
push 0x200
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x74]
lea ebx, [esp + 0xd0]
call fcn.00418530
mov byte [esp + 0xf8], 3
mov ecx, dword [eax]
mov edi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x420083
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x420075
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x420075
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x420068
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x420083
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402080
mov byte [esp + 0xf8], 2
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp + 0x50], eax
test eax, eax
je 0x420c68
mov eax, dword [esp + 0x24]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4200f6
test dx, dx
je 0x4200f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4200f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4200d0
xor eax, eax
jmp 0x4200fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x42010f
mov dword [esp + 0x88], 1
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x1c], ebx
add ebx, 8
push edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x468a8c
mov dword [0x4689c0], eax
mov dword [0x4689c4], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, bx
movzx edx, di
shl eax, 0x10
or eax, edx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0x200
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x74]
lea ebx, [esp + 0xcc]
call fcn.00418530
mov byte [esp + 0xf8], 4
mov ecx, dword [eax]
mov edi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x4201f9
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4201eb
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4201eb
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4201de
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x4201f9
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402080
mov byte [esp + 0xf8], 2
mov eax, dword [esp + 0xcc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420224
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x420c68
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42025d
test dx, dx
je 0x420259
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42025d
add eax, 4
add ecx, 4
test dx, dx
jne 0x420237
xor eax, eax
jmp 0x420262
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x420273
mov dword [esp + 0x54], 1
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x18], ebx
add ebx, 0xfffffff0
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x468a8c
mov dword [0x4689c0], eax
mov dword [0x4689c4], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, di
movzx edx, bx
shl eax, 0x10
or eax, edx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0x200
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x74]
lea ebx, [esp + 0xc8]
call fcn.00418530
mov byte [esp + 0xf8], 5
mov ecx, dword [eax]
mov edi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42035d
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42034f
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42034f
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x420342
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x42035d
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402080
mov byte [esp + 0xf8], 2
mov eax, dword [esp + 0xc8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x420c68
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
jmp 0x4203a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4203c6
test dx, dx
je 0x4203c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4203c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4203a0
xor eax, eax
jmp 0x4203cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4203df
mov dword [esp + 0x8c], 1
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x18], ebx
add ebx, 0x10
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x468a8c
mov dword [0x4689c0], eax
mov dword [0x4689c4], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, di
movzx edx, bx
shl eax, 0x10
or eax, edx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0x200
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x74]
lea ebx, [esp + 0xc4]
call fcn.00418530
mov byte [esp + 0xf8], 6
mov ecx, dword [eax]
mov edi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x4204c9
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4204bb
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4204bb
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4204ae
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x4204c9
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402080
mov byte [esp + 0xf8], 2
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4204f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp dword [esp + 0x50], ebx
je 0x420c68
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42052e
cmp dx, bx
je 0x42052a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42052e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x420508
xor eax, eax
jmp 0x420533
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
mov eax, 1
je 0x420545
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x8c], ebx
jne 0x420558
cmp dword [esp + 0x7c], ebx
je 0x42055c
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x88], ebx
jne 0x42056f
cmp dword [esp + 0x54], ebx
je 0x420573
mov dword [esp + 0x20], eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf8], 7
cmp dword [esp + 0x70], ebx
jne 0x4205b7
mov ecx, 0x4589e4
movzx edi, cx
call fcn.00401be0
cmp eax, ebx
je 0x4205c8
push eax
mov eax, edi
lea edi, [esp + 0x40]
call fcn.00401d90
jmp 0x4205c8
push 0x4589e4
lea edx, [esp + 0x40]
push edx
xor ebx, ebx
call fcn.00402080
mov byte [esp + 0xf8], 8
cmp dword [esp + 0x14], 0
je 0x420910
cmp dword [esp + 0x20], 0
je 0x420910
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.0043a056
cdq
mov ecx, 0xa
idiv ecx
lea ebx, [edx + 5]
call fcn.0043a056
and eax, reloc.WS2_32.dll_closesocket
jns 0x420617
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [section..data]
add eax, 4
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push ebx
push str.__d_
lea edi, [esp + 0x1c]
mov byte [esp + 0x100], 9
call fcn.00410840
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x50]
push ecx
push str.__d_
lea edi, [esp + 0x28]
mov byte [esp + 0x100], 0xa
call fcn.00410840
add esp, 8
cmp dword [esp + 0x8c], 0
je 0x4206b8
cmp dword [esp + 0x7c], 0
je 0x4206a7
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x4206bf
mov eax, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x58], eax
mov edx, 0x45a6ec
jmp 0x4206cc
cmp dword [esp + 0x7c], 0
je 0x4206d5
add ebx, dword [esp + 0x28]
mov edx, 0x45a6fc
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x3c]
call fcn.0040dd90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ebx, [esp + 0x44]
call fcn.004019a0
cmp dword [esp + 0x88], 0
je 0x420732
cmp dword [esp + 0x54], 0
je 0x420723
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x420719
mov edx, dword [esp + 0x50]
sub dword [esp + 0x5c], edx
mov edx, 0x45a70c
jmp 0x420746
mov eax, dword [esp + 0x50]
add dword [esp + 0x5c], eax
jmp 0x420741
mov ecx, dword [esp + 0x50]
sub dword [esp + 0x5c], ecx
mov edx, 0x45a72c
jmp 0x420746
cmp dword [esp + 0x54], 0
je 0x42074f
mov edx, dword [esp + 0x50]
add dword [esp + 0x5c], edx
mov edx, 0x45a71c
lea eax, [esp + 0x3c]
call fcn.0040dd90
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ebx, [esp + 0x44]
call fcn.004019a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x468a8c
mov dword [0x4689c0], eax
mov dword [0x4689c4], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 1
push 0x201
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x158]
mov esi, dword [edx + 0x118]
test esi, esi
jne 0x4207d1
xor edx, edx
jmp 0x4207d9
call fcn.0043a056
cdq
idiv esi
mov eax, dword [edi + 0x158]
mov ecx, dword [eax + 0x114]
mov esi, dword [eax + 0x130]
add ecx, edx
mov dword [esp + 0x70], ecx
test esi, esi
jne 0x4207f9
xor edx, edx
jmp 0x420801
call fcn.0043a056
cdq
idiv esi
mov eax, edi
mov ecx, dword [eax + 0x158]
mov eax, dword [ecx + 0x12c]
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx esi, word [esp + 0x2c]
movzx edx, word [esp + 0x28]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0xb4]
push ecx
shl esi, 0x10
push ebx
or esi, edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
push 0x468a8c
mov dword [0x4689c0], edx
mov dword [0x4689c4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx ecx, word [esp + 0x58]
movzx edi, di
shl edi, 0x10
or edi, ecx
push edi
push 1
push 0x201
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 1
push 0x202
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0xf8], 9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 2
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xf8], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420b75
cmp ecx, 2
jne 0x420adb
cmp dword [esp + 0x84], 5
jle 0x420985
cmp dword [esp + 0x94], edx
je 0x42098e
cmp ebx, 1
jne 0x420b75
mov ecx, dword [eax + 0x134]
cmp ecx, dword [edi + 0x1fc]
jle 0x420b75
mov edi, dword [eax + 0x130]
test edi, edi
jne 0x4209ae
xor edx, edx
jmp 0x4209b6
call fcn.0043a056
cdq
idiv edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x158]
mov eax, dword [eax + 0x12c]
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x190], 0
jne 0x420a79
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x4209f0
xor edx, edx
jmp 0x4209f8
call fcn.0043a056
cdq
idiv ebx
mov eax, dword [edi + 0x158]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [eax + 0x114]
push esi
push 1
push 0x201
push ecx
add ebx, edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
mov edx, dword [esp + 0x1c]
push esi
push 1
push 0x202
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
inc dword [edi + 0x1fc]
mov eax, dword [edi + 0x1fc]
mov edi, dword [edi + 0x158]
cmp dword [edi + 0x84], 2
jne 0x420b75
cmp eax, dword [edi + 0x134]
jl 0x420b75
mov eax, dword [esp + 0x10]
mov ecx, 1
mov dword [eax + 0x190], ecx
mov dword [eax + 0x50], ecx
mov dword [esp + 0xf8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420aa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x420c72
mov eax, dword [esp + 0x90]
inc eax
mov dword [esp + 0x90], eax
cmp eax, 0xa
jl 0x41f520
mov eax, ecx
cmp dword [eax + 0x190], 0
jmp 0x41f4f3
mov ebx, dword [eax + 0x130]
test ebx, ebx
jne 0x420ae9
xor edx, edx
jmp 0x420af1
call fcn.0043a056
cdq
idiv ebx
mov eax, dword [edi + 0x158]
mov eax, dword [eax + 0x12c]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add eax, edx
push eax
call ebx
cmp dword [edi + 0x190], 0
jne 0x420a79
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x70], eax
test eax, eax
jne 0x420b2d
xor edx, edx
jmp 0x420b37
call fcn.0043a056
cdq
idiv dword [esp + 0x70]
mov eax, dword [edi + 0x158]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 0x114]
push esi
push 1
push 0x201
push ecx
add edi, edx
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
call ebx
mov edx, dword [esp + 0x1c]
push esi
push 1
push 0x202
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jne 0x420a79
mov dword [esp + 0xf8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f7f7
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x130]
cmp ebx, edx
je 0x420bd2
call fcn.0043a056
cdq
idiv ebx
mov eax, dword [edi + 0x158]
mov eax, dword [eax + 0x12c]
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x190], 0
jne 0x420a79
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x420c08
xor edx, edx
jmp 0x420c10
call fcn.0043a056
cdq
idiv ebx
mov eax, dword [edi + 0x158]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [eax + 0x114]
push esi
push 1
push 0x201
push ecx
add ebx, edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
mov edx, dword [esp + 0x1c]
push esi
push 1
push 0x202
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call ebx
mov dword [edi + 0x190], 1
jmp 0x420a79
call fcn.00401fc0
push 0x80004005
call fcn.00402060
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 0x1ec], 1
mov dword [eax + 0x170], ecx
mov dword [eax + 0x174], ecx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004397ee
mov esp, ebp
pop ebp
ret