Function at 0x401420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x4170b0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x418f98
push 0x67
push edi
call esi
push 0x64
push 0x418ed0
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.004029f0
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x4014c1
test ebx, 0xffff0000
jne 0x4014a3
movzx esi, bx
mov ecx, esi
call fcn.00401150
test eax, eax
je 0x4014d2
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403750
jmp 0x4014ce
mov ecx, ebx
lea edx, [ecx + 2]
jmp 0x4014b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4014b0
sub ecx, edx
sar ecx, 1
jmp 0x4014c3
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403280
mov edi, dword [esp + 0x14]
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x401527
test ebx, 0xffff0000
jne 0x401511
movzx ebx, bx
mov ecx, ebx
call fcn.00401150
test eax, eax
je 0x40153c
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00403750
jmp 0x401534
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401516
sub ecx, edx
sar ecx, 1
jmp 0x401529
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x20]
call fcn.00403280
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], esi
push 0x402dc0
push 0x402cf0
push 5
push 4
lea eax, [esp + 0xd8]
push eax
call fcn.0040592e
cmp dword [esi - 0xc], 0
jl 0x4015cd
push str.Receiver
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x40157f
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40157f
mov byte [esp + 0xf], 1
jmp 0x4015d2
cmp dword [esi - 0xc], 0
jl 0x4015cd
push str.Display
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x4015a7
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4015a7
mov byte [esp + 0xf], 1
jmp 0x4015d2
cmp dword [esi - 0xc], 0
jl 0x4015cd
push str.R_Sync
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x4015cd
sub eax, esi
sar eax, 1
mov byte [esp + 0xf], 1
cmp eax, 0xffffffff
jne 0x4015d2
mov byte [esp + 0xf], 0
mov eax, 0x415434
shr eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x18], eax
or ebx, 0xffffffff
lea esp, [esp]
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
cmp dword [esp + 0x2c], 0
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
jne 0x401631
mov eax, 0x415434
movzx ecx, ax
call fcn.00401150
test eax, eax
je 0x401645
mov edx, 0x415434
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403750
jmp 0x401641
push 1
push 0x415434
lea ecx, [esp + 0x2c]
call fcn.00403280
mov esi, dword [esp + 0x24]
test esi, esi
je 0x40183a
cmp dword [edi - 0xc], 0
jl 0x40183a
push esi
push edi
call fcn.00404bc3
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x401837
sub ebx, edi
sar ebx, 1
cmp ebx, 0xffffffff
je 0x401837
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402ea0
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], 1
jle 0x40170a
mov ecx, dword [esp + 0x18]
lea edx, [eax - 0x10]
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], ecx
cmp edx, ecx
je 0x401705
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
jl 0x4016f8
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x4016f8
mov ecx, dword [esp + 0x10]
call fcn.004033b0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4016e9
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x401705
push dword [eax - 0xc]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00403280
add dword [esp + 0x18], 4
mov eax, dword [edi - 0xc]
sub eax, ebx
dec eax
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402e20
mov edx, dword [eax]
lea eax, [edi - 0x10]
lea ebx, [edx - 0x10]
mov dword [esp + 0x1c], eax
cmp ebx, eax
je 0x4017d8
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [esp + 0x10], ecx
jl 0x4017c7
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x4017c7
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x40176b
cmp ecx, dword [ebx]
jne 0x40176b
mov edi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4017a0
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4022cd
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 4]
lea eax, [ebx + 0x10]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push ecx
lea eax, [edi + 0x10]
push eax
call fcn.0040493f
add esp, 0x10
mov ecx, dword [esp + 0x10]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4017be
mov edx, dword [esp + 0x1c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4017db
push dword [edx - 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.00403280
mov edi, dword [esp + 0x14]
or ebx, 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4017f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401815
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4015f0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4015f0
or ebx, 0xffffffff
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401853
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
movzx eax, al
shr ecx, 8
movzx ecx, cl
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
cmp eax, 0x3d
jbe 0x4018cd
cmp byte [esp + 0xf], 0
jne 0x4018cd
mov eax, dword [esp + 0xd0]
cmp dword [eax - 0xc], 2
jle 0x4018cd
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
push dword [esp + 0xd0]
add eax, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00402c60
mov esi, dword [esp + 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4018cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], esi
cmp dword [eax - 0xc], 1
jle 0x401916
push eax
lea eax, [esp + 0x14]
push 0x415438
push eax
call fcn.00404180
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40192f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402850
mov edx, dword [0x417e00]
mov ecx, 0x417e00
mov byte [esp + 0xf], al
call dword [edx + 0xc]
mov edx, dword [0x417e00]
add eax, 0x10
mov ecx, 0x417e00
mov dword [esp + 0x14], eax
call dword [edx + 0xc]
push dword [esp + 0xcc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push 0x4154c8
push eax
call fcn.00404180
add esp, 0xc
lea edx, [esp + 0x14]
push str.HelperService.exe__xu
lea ecx, [esp + 0x20]
call fcn.00402f10
mov edx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
cmp eax, ecx
je 0x4019fd
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4019ec
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4019ec
mov ecx, dword [esp + 0x20]
call fcn.004033b0
mov dword [esp + 0x20], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4019e3
mov esi, dword [esp + 0x2c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
jmp 0x4019fd
push dword [edx - 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.00403280
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401a1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.HelperService.exe
lea edx, [esp + 0x18]
lea ecx, [esp + 0x2c]
call fcn.00402f10
mov edx, dword [eax]
add esp, 4
lea ecx, [edx - 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x401aa7
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x14]
jl 0x401a92
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x401a92
mov ecx, dword [esp + 0x20]
call fcn.004033b0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401a89
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0x10
jmp 0x401aa3
push dword [edx - 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.00403280
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401ac4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
push dword [esp + 0xc8]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push 0x4154c8
push eax
call fcn.00404180
add esp, 0xc
lea eax, [esp + 0x18]
push dword [esp + 0xc8]
push str.taskkill__F__T__IM___s_
push eax
call fcn.00404180
add esp, 0xc
cmp byte [esp + 0xf], 1
jne 0x401fa0
push 0x40
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push 0
push eax
mov dword [esp + 0xbc], 0
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xc8], 0
call fcn.00407b40
mov dword [esp + 0x44], 0x44
mov ecx, dword [esi - 0xc]
add esp, 0xc
add ecx, 0x32
js 0x4022d2
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or edx, eax
jge 0x401b8f
push ecx
lea ecx, [esp + 0x18]
call fcn.00403340
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi - 8]
mov dword [esp + 0x24], eax
push esi
call fcn.00404ad7
add esp, 8
test eax, eax
js 0x4022d2
cmp eax, dword [esi - 8]
jg 0x4022d2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
add eax, 0x10
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
jne 0x401d92
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
mov esi, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
test esi, esi
je 0x401c45
test esi, 0xffff0000
jne 0x401c45
movzx ebx, si
mov ecx, ebx
call fcn.00401150
test eax, eax
je 0x401c59
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403620
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x401c5d
push esi
lea ecx, [esp + 0x28]
call fcn.00402c60
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x401c5d
mov eax, dword [esp + 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [esp + 0xcc]
lea ecx, [esp + 0x9c]
call fcn.00402ff0
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0xa8]
push dword [esp + 0x20]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
mov dword [esp + 0x98], 7
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], dx
call fcn.004045f0
cmp dword [esp + 0x94], 8
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
call fcn.00402590
cmp dword [esp + 0x94], 8
jb 0x401d10
push dword [esp + 0x80]
call fcn.0040492b
add esp, 4
xor eax, eax
cmp dword [esp + 0xac], 8
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
jb 0x401d49
push dword [esp + 0x98]
call fcn.0040492b
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
add edx, 0xfffffff0
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401d89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x1c]
jmp 0x4021e1
push 0xffffffffffffffff
push dword [esp + 0xb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0xb0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xb4]
call esi
push str.Receiver
lea ecx, [esp + 0x30]
call fcn.00402d10
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x401def
cmp dword [esi - 0xc], 0
jl 0x401e0f
push eax
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x401def
sub eax, esi
sar eax, 1
test eax, eax
jg 0x401e26
cmp dword [esi - 0xc], 0
jl 0x401e0f
push str.R_Sync
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x401e0f
sub eax, esi
sar eax, 1
test eax, eax
jg 0x401e26
push ecx
push str.Display
lea ecx, [esp + 0x20]
call fcn.00402de0
test eax, eax
jle 0x401f94
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call fcn.00402bd0
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push dword [esp + 0x28]
call ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00402bd0
push 0
push dword [esp + 0x2c]
call ebx
push dword [esp + 0xcc]
lea ecx, [esp + 0x9c]
call fcn.00402ff0
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0xa8]
push dword [esp + 0x20]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
mov dword [esp + 0x98], 7
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], dx
call fcn.004045f0
cmp dword [esp + 0x94], 8
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
call fcn.00402590
cmp dword [esp + 0x94], 8
jb 0x401efe
push dword [esp + 0x80]
call fcn.0040492b
add esp, 4
xor eax, eax
cmp dword [esp + 0xac], 8
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
jb 0x401f37
push dword [esp + 0x98]
call fcn.0040492b
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
add edx, 0xfffffff0
or ebx, 0xffffffff
mov word [esp + 0x98], ax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401f94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
jmp 0x401d73
push str.Receiver
lea ecx, [esp + 0x30]
call fcn.00402d10
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
test eax, eax
je 0x401fda
cmp dword [esi - 0xc], 0
jl 0x4021dd
push eax
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x401fda
sub eax, esi
sar eax, 1
test eax, eax
jg 0x40202a
cmp dword [esi - 0xc], 0
jl 0x4021dd
push str.R_Sync
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x401ffe
sub eax, esi
sar eax, 1
test eax, eax
jg 0x40202a
cmp dword [esi - 0xc], 0
jl 0x4021dd
push str.Display
push esi
call fcn.00404bc3
add esp, 8
test eax, eax
je 0x4021dd
sub eax, esi
sar eax, 1
test eax, eax
jle 0x4021dd
mov eax, dword [0x417e00]
mov ecx, 0x417e00
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
test esi, 0xffff0000
jne 0x402061
movzx ebx, si
mov ecx, ebx
call fcn.00401150
test eax, eax
je 0x40206b
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.00403620
jmp 0x40206b
push esi
lea ecx, [esp + 0x20]
call fcn.00402c60
mov ecx, dword [esp + 0x10]
call fcn.00402910
mov edx, dword [esp + 0xcc]
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
cmp word [edx], ax
jne 0x4020a4
xor ecx, ecx
jmp 0x4020bf
mov ecx, edx
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020b0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xb8]
call fcn.00403520
cmp dword [esp + 0xc4], 8
mov eax, dword [esp + 0xc0]
push dword [esp + 0x20]
lea ecx, [esp + 0xb4]
cmovae ecx, dword [esp + 0xb4]
mov dword [esp + 0x98], 7
lea eax, [ecx + eax*2]
lea ecx, [esp + 0xb4]
cmovae ecx, dword [esp + 0xb4]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], dx
call fcn.004045f0
cmp dword [esp + 0x94], 8
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
call fcn.00402590
cmp dword [esp + 0x94], 8
jb 0x402164
push dword [esp + 0x80]
call fcn.0040492b
add esp, 4
xor eax, eax
cmp dword [esp + 0xc4], 8
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
jb 0x40219d
push dword [esp + 0xb0]
call fcn.0040492b
add esp, 4
mov edx, dword [esp + 0x1c]
xor eax, eax
add edx, 0xfffffff0
or ebx, 0xffffffff
mov word [esp + 0xb0], ax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4021dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4021fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402213
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402230
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40224d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40226a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x402dc0
push 5
push 4
lea eax, [esp + 0xd4]
push eax
call fcn.00404af6
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40229d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4022b4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00404930
mov esp, ebp
pop ebp
ret 0x10
call fcn.00403880
push 0x80070057
call fcn.00401000
int3