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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447f5d
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
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.004317a6
push 0x10001
push 1
push 0x201
push edi
mov dword [esi + 0x190], ebx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004317a6
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 0x41bdfd
mov dword [esp + 0x78], 5
cmp dword [esi + 0x190], ebx
jne 0x41d582
cmp dword [esp + 0x78], 0
jle 0x41d582
dec dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], eax
jmp 0x41be30
mov esi, 1
cmp dword [esp + 0x90], esi
jg 0x41be45
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.004325ef
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
add esp, 4
push ebx
push 0x3e8
push eax
push ecx
call fcn.0043ced0
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.004317a6
cdq
mov ecx, 0x64
idiv ecx
cmp edx, ebx
jl 0x41bed1
cmp edx, 0x19
jg 0x41bed6
xor eax, eax
jmp 0x41befa
cmp edx, 0x19
jle 0x41bee6
cmp edx, 0x32
jg 0x41beeb
mov eax, esi
mov dword [esp + 0x80], esi
jmp 0x41bf01
cmp edx, 0x32
jle 0x41bef5
mov eax, 2
cmp edx, 0x4b
jle 0x41befa
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.0x41bf22
jmp dword [eax*4 + 0x41d5c8]
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 0x41bf51
mov edx, ebx
jmp 0x41bf5b
call fcn.004317a6
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 0x41bf75
mov edx, ebx
jmp 0x41bf7f
call fcn.004317a6
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 0x41bfa4
mov dword [esp + 0x74], ebx
jmp case.default.0x41bf22
call fcn.004317a6
cdq
sub ebx, esi
idiv ebx
mov dword [esp + 0x74], edx
jmp case.default.0x41bf22
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 0x41bf51
mov edx, ebx
jmp 0x41bf5b
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41bffa
mov edx, esi
jmp 0x41c004
call fcn.004317a6
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 0x41c01e
mov edx, ebx
jmp 0x41c028
call fcn.004317a6
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 0x41c055
mov dword [esp + 0x64], esi
jmp case.default.0x41bf22
call fcn.004317a6
cdq
sub esi, ebx
idiv esi
jmp 0x41c0d7
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41c075
mov edx, esi
jmp 0x41c07f
call fcn.004317a6
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 0x41c099
mov edx, ebx
jmp 0x41c0a3
call fcn.004317a6
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 0x41c0cd
mov dword [esp + 0x64], ebx
jmp case.default.0x41bf22
call fcn.004317a6
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 0x41c132
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 0x41d582
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x41c26c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], eax
je 0x41d3b4
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x41d582
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.004317a6
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.00443410
mov dword [esp + 0x2c], eax
cmp esi, edi
jg 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
push 0x45c99c
mov dword [0x45c8d4], ecx
mov dword [0x45c8e0], 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 0x41c61e
cmp eax, 1
jne 0x41c3a4
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], ecx
je 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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.004317a6
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.00443410
mov dword [esp + 0x2c], eax
cmp esi, edi
jl 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
push 0x45c99c
mov dword [0x45c8d4], ecx
mov dword [0x45c8e0], 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 0x41c61e
cmp eax, 2
jne 0x41c4ea
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x4c], edx
je 0x41d3b4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jne 0x41d582
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.004317a6
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.00443410
mov dword [esp + 0x28], eax
cmp esi, edi
jg 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
push 0x45c99c
mov dword [0x45c8d4], edx
mov dword [0x45c8e0], 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 0x41c107
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jmp 0x41c62f
cmp eax, 3
jne 0x41c624
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x4c], ecx
je 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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.004317a6
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.00443410
mov dword [esp + 0x28], eax
cmp esi, edi
jl 0x41d3b4
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d582
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
push 0x45c99c
mov dword [0x45c8d4], edx
mov dword [0x45c8e0], 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 0x41c107
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x41d582
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x74]
lea ebx, [esp + 0x30]
call fcn.00414ce0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xf8], 0
mov edi, dword [eax + 0x15c]
cmp edi, dword [eax + 0x160]
je 0x41c698
mov ebx, dword [esp + 0x30]
mov eax, dword [edi]
test eax, eax
je 0x41c689
cmp dword [ebx - 0xc], 0
jl 0x41c689
push eax
push ebx
call fcn.004316fd
add esp, 8
test eax, eax
je 0x41c689
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41c6ef
mov eax, dword [esp + 0x10]
add edi, 4
cmp edi, dword [eax + 0x160]
jne 0x41c666
cmp dword [esp + 0x60], 0
je 0x41c7c8
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 0x41c7c8
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 0x41c701
cmp eax, dword [edi - 0x10]
jne 0x41c701
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41c739
mov eax, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], eax
jmp 0x41c6a3
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 0x41d573
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.004314c1
add esp, 0x10
add ebx, 0x10
je 0x41c760
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], 0
jl 0x41c760
mov edx, ecx
push ebx
push edx
call fcn.004316fd
add esp, 8
test eax, eax
je 0x41c760
sub eax, dword [esp + 0x30]
sar eax, 1
je 0x41c79f
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c77c
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 0x41c6c3
jmp 0x41c7c8
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 0x41c7c8
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 0x41d389
mov ebx, dword [esp + 0x60]
inc dword [esp + 0x84]
cmp ebx, 1
je 0x41c80a
cmp dword [esp + 0x98], edx
je 0x41d496
mov ecx, dword [edi + 0x158]
cmp dword [ecx + 0x84], 2
jne 0x41d496
cmp dword [edi + 0x90], 8
je 0x41d4ca
mov eax, dword [edi + 0x158]
mov ecx, dword [eax + 0x84]
cmp ecx, 3
jne 0x41d279
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, 0x44e978
shr eax, 0x10
mov byte [esp + 0xf8], 1
mov dword [esp + 0x70], eax
test eax, eax
jne 0x41c890
mov ecx, 0x44e978
movzx edi, cx
call fcn.00401be0
test eax, eax
je 0x41c8a1
push eax
mov eax, edi
lea edi, [esp + 0x28]
call fcn.00401d90
jmp 0x41c8a1
push 0x44e978
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push 0x45c99c
mov dword [0x45c8d4], edx
mov dword [0x45c8e0], 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.00414ce0
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 0x41c993
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41c985
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41c985
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41c978
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 0x41c993
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 0x41c9be
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 0x41d578
mov eax, dword [esp + 0x24]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ca06
test dx, dx
je 0x41ca02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ca06
add eax, 4
add ecx, 4
test dx, dx
jne 0x41c9e0
xor eax, eax
jmp 0x41ca0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41ca1f
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x45c99c
mov dword [0x45c8d4], eax
mov dword [0x45c8e0], 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.00414ce0
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 0x41cb09
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41cafb
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41cafb
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41caee
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 0x41cb09
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 0x41cb34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x41d578
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41cb6d
test dx, dx
je 0x41cb69
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41cb6d
add eax, 4
add ecx, 4
test dx, dx
jne 0x41cb47
xor eax, eax
jmp 0x41cb72
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41cb83
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x45c99c
mov dword [0x45c8d4], eax
mov dword [0x45c8e0], 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.00414ce0
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 0x41cc6d
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41cc5f
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41cc5f
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41cc52
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 0x41cc6d
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 0x41cc98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x41d578
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
jmp 0x41ccb0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ccd6
test dx, dx
je 0x41ccd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ccd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ccb0
xor eax, eax
jmp 0x41ccdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41ccef
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x45c99c
mov dword [0x45c8d4], eax
mov dword [0x45c8e0], 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.00414ce0
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 0x41cdd9
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41cdcb
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41cdcb
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41cdbe
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 0x41cdd9
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 0x41ce04
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 0x41d578
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ce3e
cmp dx, bx
je 0x41ce3a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ce3e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41ce18
xor eax, eax
jmp 0x41ce43
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
mov eax, 1
je 0x41ce55
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x8c], ebx
jne 0x41ce68
cmp dword [esp + 0x7c], ebx
je 0x41ce6c
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x88], ebx
jne 0x41ce7f
cmp dword [esp + 0x54], ebx
je 0x41ce83
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 0x41cec7
mov ecx, 0x44e978
movzx edi, cx
call fcn.00401be0
cmp eax, ebx
je 0x41ced8
push eax
mov eax, edi
lea edi, [esp + 0x40]
call fcn.00401d90
jmp 0x41ced8
push 0x44e978
lea edx, [esp + 0x40]
push edx
xor ebx, ebx
call fcn.00402080
mov byte [esp + 0xf8], 8
cmp dword [esp + 0x14], 0
je 0x41d220
cmp dword [esp + 0x20], 0
je 0x41d220
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.004317a6
cdq
mov ecx, 0xa
idiv ecx
lea ebx, [edx + 5]
call fcn.004317a6
and eax, reloc.WS2_32.dll_closesocket
jns 0x41cf27
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.0040e740
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.0040e740
add esp, 8
cmp dword [esp + 0x8c], 0
je 0x41cfc8
cmp dword [esp + 0x7c], 0
je 0x41cfb7
call fcn.004317a6
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x41cfcf
mov eax, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x58], eax
mov edx, 0x45040c
jmp 0x41cfdc
cmp dword [esp + 0x7c], 0
je 0x41cfe5
add ebx, dword [esp + 0x28]
mov edx, 0x45041c
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x3c]
call fcn.0040bf40
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 0x41d042
cmp dword [esp + 0x54], 0
je 0x41d033
call fcn.004317a6
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x41d029
mov edx, dword [esp + 0x50]
sub dword [esp + 0x5c], edx
mov edx, 0x45042c
jmp 0x41d056
mov eax, dword [esp + 0x50]
add dword [esp + 0x5c], eax
jmp 0x41d051
mov ecx, dword [esp + 0x50]
sub dword [esp + 0x5c], ecx
mov edx, 0x45044c
jmp 0x41d056
cmp dword [esp + 0x54], 0
je 0x41d05f
mov edx, dword [esp + 0x50]
add dword [esp + 0x5c], edx
mov edx, 0x45043c
lea eax, [esp + 0x3c]
call fcn.0040bf40
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0x45c99c
mov dword [0x45c8d4], eax
mov dword [0x45c8e0], 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 0x41d0e1
xor edx, edx
jmp 0x41d0e9
call fcn.004317a6
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 0x41d109
xor edx, edx
jmp 0x41d111
call fcn.004317a6
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 0x45c99c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
push 0x45c99c
mov dword [0x45c8d4], edx
mov dword [0x45c8e0], 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 0x41d1f8
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 0x41d220
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 0x41d248
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 0x41d485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d485
cmp ecx, 2
jne 0x41d3eb
cmp dword [esp + 0x84], 5
jle 0x41d295
cmp dword [esp + 0x94], edx
je 0x41d29e
cmp ebx, 1
jne 0x41d485
mov ecx, dword [eax + 0x134]
cmp ecx, dword [edi + 0x1fc]
jle 0x41d485
mov edi, dword [eax + 0x130]
test edi, edi
jne 0x41d2be
xor edx, edx
jmp 0x41d2c6
call fcn.004317a6
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 0x41d389
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x41d300
xor edx, edx
jmp 0x41d308
call fcn.004317a6
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 0x41d485
cmp eax, dword [edi + 0x134]
jl 0x41d485
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 0x41d3b4
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 0x41d582
mov eax, dword [esp + 0x90]
inc eax
mov dword [esp + 0x90], eax
cmp eax, 0xa
jl 0x41be30
mov eax, ecx
cmp dword [eax + 0x190], 0
jmp 0x41be03
mov ebx, dword [eax + 0x130]
test ebx, ebx
jne 0x41d3f9
xor edx, edx
jmp 0x41d401
call fcn.004317a6
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 0x41d389
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x70], eax
test eax, eax
jne 0x41d43d
xor edx, edx
jmp 0x41d447
call fcn.004317a6
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 0x41d389
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 0x41c107
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c107
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x130]
cmp ebx, edx
je 0x41d4e2
call fcn.004317a6
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 0x41d389
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x41d518
xor edx, edx
jmp 0x41d520
call fcn.004317a6
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 0x41d389
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.00430f3e
mov esp, ebp
pop ebp
ret