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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447f3d
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.00431766
push 0x10001
push 1
push 0x201
push edi
mov dword [esi + 0x190], ebx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00431766
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 0x41be5d
mov dword [esp + 0x78], 5
cmp dword [esi + 0x190], ebx
jne 0x41d5e2
cmp dword [esp + 0x78], 0
jle 0x41d5e2
dec dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], eax
jmp 0x41be90
mov esi, 1
cmp dword [esp + 0x90], esi
jg 0x41bea5
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.004325af
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
add esp, 4
push ebx
push 0x3e8
push eax
push ecx
call fcn.0043cea0
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.00431766
cdq
mov ecx, 0x64
idiv ecx
cmp edx, ebx
jl 0x41bf31
cmp edx, 0x19
jg 0x41bf36
xor eax, eax
jmp 0x41bf5a
cmp edx, 0x19
jle 0x41bf46
cmp edx, 0x32
jg 0x41bf4b
mov eax, esi
mov dword [esp + 0x80], esi
jmp 0x41bf61
cmp edx, 0x32
jle 0x41bf55
mov eax, 2
cmp edx, 0x4b
jle 0x41bf5a
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.0x41bf82
jmp dword [eax*4 + 0x41d628]
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 0x41bfb1
mov edx, ebx
jmp 0x41bfbb
call fcn.00431766
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 0x41bfd5
mov edx, ebx
jmp 0x41bfdf
call fcn.00431766
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 0x41c004
mov dword [esp + 0x74], ebx
jmp case.default.0x41bf82
call fcn.00431766
cdq
sub ebx, esi
idiv ebx
mov dword [esp + 0x74], edx
jmp case.default.0x41bf82
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 0x41bfb1
mov edx, ebx
jmp 0x41bfbb
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41c05a
mov edx, esi
jmp 0x41c064
call fcn.00431766
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 0x41c07e
mov edx, ebx
jmp 0x41c088
call fcn.00431766
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 0x41c0b5
mov dword [esp + 0x64], esi
jmp case.default.0x41bf82
call fcn.00431766
cdq
sub esi, ebx
idiv esi
jmp 0x41c137
mov esi, dword [edi + 0x214]
mov ebx, dword [edi + 0x210]
cmp esi, ebx
jne 0x41c0d5
mov edx, esi
jmp 0x41c0df
call fcn.00431766
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 0x41c0f9
mov edx, ebx
jmp 0x41c103
call fcn.00431766
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 0x41c12d
mov dword [esp + 0x64], ebx
jmp case.default.0x41bf82
call fcn.00431766
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 0x41c192
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 0x41d5e2
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x41c2cc
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], eax
je 0x41d414
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x41d5e2
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.00431766
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.004433f0
mov dword [esp + 0x2c], eax
cmp esi, edi
jg 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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 0x41c67e
cmp eax, 1
jne 0x41c404
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], ecx
je 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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.00431766
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.004433f0
mov dword [esp + 0x2c], eax
cmp esi, edi
jl 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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 0x41c67e
cmp eax, 2
jne 0x41c54a
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x4c], edx
je 0x41d414
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jne 0x41d5e2
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.00431766
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.004433f0
mov dword [esp + 0x28], eax
cmp esi, edi
jg 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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 0x41c167
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x190], 0
jmp 0x41c68f
cmp eax, 3
jne 0x41c684
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x4c], ecx
je 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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.00431766
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.004433f0
mov dword [esp + 0x28], eax
cmp esi, edi
jl 0x41d414
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x190], 0
jne 0x41d5e2
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 0x41c167
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x190], 0
jne 0x41d5e2
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x74]
lea ebx, [esp + 0x30]
call fcn.00414db0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xf8], 0
mov edi, dword [eax + 0x15c]
cmp edi, dword [eax + 0x160]
je 0x41c6f8
mov ebx, dword [esp + 0x30]
mov eax, dword [edi]
test eax, eax
je 0x41c6e9
cmp dword [ebx - 0xc], 0
jl 0x41c6e9
push eax
push ebx
call fcn.004316bd
add esp, 8
test eax, eax
je 0x41c6e9
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41c74f
mov eax, dword [esp + 0x10]
add edi, 4
cmp edi, dword [eax + 0x160]
jne 0x41c6c6
cmp dword [esp + 0x60], 0
je 0x41c828
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 0x41c828
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 0x41c761
cmp eax, dword [edi - 0x10]
jne 0x41c761
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41c799
mov eax, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], eax
jmp 0x41c703
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 0x41d5d3
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.00431481
add esp, 0x10
add ebx, 0x10
je 0x41c7c0
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], 0
jl 0x41c7c0
mov edx, ecx
push ebx
push edx
call fcn.004316bd
add esp, 8
test eax, eax
je 0x41c7c0
sub eax, dword [esp + 0x30]
sar eax, 1
je 0x41c7ff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c7dc
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 0x41c723
jmp 0x41c828
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 0x41c828
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 0x41d3e9
mov ebx, dword [esp + 0x60]
inc dword [esp + 0x84]
cmp ebx, 1
je 0x41c86a
cmp dword [esp + 0x98], edx
je 0x41d4f6
mov ecx, dword [edi + 0x158]
cmp dword [ecx + 0x84], 2
jne 0x41d4f6
cmp dword [edi + 0x90], 8
je 0x41d52a
mov eax, dword [edi + 0x158]
mov ecx, dword [eax + 0x84]
cmp ecx, 3
jne 0x41d2d9
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 0x41c8f0
mov ecx, 0x44e978
movzx edi, cx
call fcn.00401be0
test eax, eax
je 0x41c901
push eax
mov eax, edi
lea edi, [esp + 0x28]
call fcn.00401d90
jmp 0x41c901
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.00414db0
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 0x41c9f3
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41c9e5
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41c9e5
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41c9d8
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 0x41c9f3
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 0x41ca1e
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 0x41d5d8
mov eax, dword [esp + 0x24]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ca66
test dx, dx
je 0x41ca62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ca66
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ca40
xor eax, eax
jmp 0x41ca6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41ca7f
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.00414db0
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 0x41cb69
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41cb5b
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41cb5b
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41cb4e
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 0x41cb69
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 0x41cb94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x41d5d8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41cbcd
test dx, dx
je 0x41cbc9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41cbcd
add eax, 4
add ecx, 4
test dx, dx
jne 0x41cba7
xor eax, eax
jmp 0x41cbd2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41cbe3
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.00414db0
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 0x41cccd
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41ccbf
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41ccbf
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41ccb2
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 0x41cccd
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 0x41ccf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
je 0x41d5d8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
jmp 0x41cd10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41cd36
test dx, dx
je 0x41cd32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41cd36
add eax, 4
add ecx, 4
test dx, dx
jne 0x41cd10
xor eax, eax
jmp 0x41cd3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41cd4f
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.00414db0
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 0x41ce39
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x41ce2b
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x41ce2b
call fcn.00401a60
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41ce1e
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 0x41ce39
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 0x41ce64
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 0x41d5d8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ce9e
cmp dx, bx
je 0x41ce9a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ce9e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41ce78
xor eax, eax
jmp 0x41cea3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
mov eax, 1
je 0x41ceb5
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x8c], ebx
jne 0x41cec8
cmp dword [esp + 0x7c], ebx
je 0x41cecc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x88], ebx
jne 0x41cedf
cmp dword [esp + 0x54], ebx
je 0x41cee3
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 0x41cf27
mov ecx, 0x44e978
movzx edi, cx
call fcn.00401be0
cmp eax, ebx
je 0x41cf38
push eax
mov eax, edi
lea edi, [esp + 0x40]
call fcn.00401d90
jmp 0x41cf38
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 0x41d280
cmp dword [esp + 0x20], 0
je 0x41d280
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
call fcn.00431766
cdq
mov ecx, 0xa
idiv ecx
lea ebx, [edx + 5]
call fcn.00431766
and eax, reloc.WS2_32.dll_closesocket
jns 0x41cf87
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.0040e9a0
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.0040e9a0
add esp, 8
cmp dword [esp + 0x8c], 0
je 0x41d028
cmp dword [esp + 0x7c], 0
je 0x41d017
call fcn.00431766
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x41d02f
mov eax, dword [esp + 0x28]
sub eax, ebx
mov dword [esp + 0x58], eax
mov edx, 0x45040c
jmp 0x41d03c
cmp dword [esp + 0x7c], 0
je 0x41d045
add ebx, dword [esp + 0x28]
mov edx, 0x45041c
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x3c]
call fcn.0040c000
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 0x41d0a2
cmp dword [esp + 0x54], 0
je 0x41d093
call fcn.00431766
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jge 0x41d089
mov edx, dword [esp + 0x50]
sub dword [esp + 0x5c], edx
mov edx, 0x45042c
jmp 0x41d0b6
mov eax, dword [esp + 0x50]
add dword [esp + 0x5c], eax
jmp 0x41d0b1
mov ecx, dword [esp + 0x50]
sub dword [esp + 0x5c], ecx
mov edx, 0x45044c
jmp 0x41d0b6
cmp dword [esp + 0x54], 0
je 0x41d0bf
mov edx, dword [esp + 0x50]
add dword [esp + 0x5c], edx
mov edx, 0x45043c
lea eax, [esp + 0x3c]
call fcn.0040c000
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 0x41d141
xor edx, edx
jmp 0x41d149
call fcn.00431766
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 0x41d169
xor edx, edx
jmp 0x41d171
call fcn.00431766
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 0x41d258
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 0x41d280
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 0x41d2a8
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 0x41d4e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d4e5
cmp ecx, 2
jne 0x41d44b
cmp dword [esp + 0x84], 5
jle 0x41d2f5
cmp dword [esp + 0x94], edx
je 0x41d2fe
cmp ebx, 1
jne 0x41d4e5
mov ecx, dword [eax + 0x134]
cmp ecx, dword [edi + 0x1fc]
jle 0x41d4e5
mov edi, dword [eax + 0x130]
test edi, edi
jne 0x41d31e
xor edx, edx
jmp 0x41d326
call fcn.00431766
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 0x41d3e9
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x41d360
xor edx, edx
jmp 0x41d368
call fcn.00431766
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 0x41d4e5
cmp eax, dword [edi + 0x134]
jl 0x41d4e5
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 0x41d414
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 0x41d5e2
mov eax, dword [esp + 0x90]
inc eax
mov dword [esp + 0x90], eax
cmp eax, 0xa
jl 0x41be90
mov eax, ecx
cmp dword [eax + 0x190], 0
jmp 0x41be63
mov ebx, dword [eax + 0x130]
test ebx, ebx
jne 0x41d459
xor edx, edx
jmp 0x41d461
call fcn.00431766
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 0x41d3e9
mov ecx, dword [edi + 0x158]
mov eax, dword [ecx + 0x118]
mov dword [esp + 0x70], eax
test eax, eax
jne 0x41d49d
xor edx, edx
jmp 0x41d4a7
call fcn.00431766
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 0x41d3e9
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 0x41c167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c167
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x130]
cmp ebx, edx
je 0x41d542
call fcn.00431766
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 0x41d3e9
mov ecx, dword [edi + 0x158]
mov ebx, dword [ecx + 0x118]
test ebx, ebx
jne 0x41d578
xor edx, edx
jmp 0x41d580
call fcn.00431766
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 0x41d3e9
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.00430efe
mov esp, ebp
pop ebp
ret