Function at 0x402030
Capabilities:
Check os version
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x43b14c]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
call fcn.00401780
call fcn.00401830
push 0x4018e0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.00418440
call fcn.0040c1c0
test eax, eax
jne 0x402bec
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
xor edi, edi
push edi
push 2
mov dword [esp + 0x94], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x8c]
mov ebx, eax
push ecx
push ebx
mov dword [esp + 0x40], ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4022bc
lea edx, [esp + 0x8c]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40229f
jmp 0x402100
mov eax, dword [esp + 0x94]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x18], eax
je 0x40212a
lea eax, [esp + 0x8c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402100
jmp 0x40229f
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4d8], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x402172
mov ecx, 0x104
lea eax, [esp + 0x2c]
call fcn.004015c0
mov ebx, dword [esp + 0x2c]
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x402198
mov esi, ebx
call fcn.00401fc0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00419ba5
add esp, 8
test eax, eax
jl 0x4022cd
cmp eax, dword [ebx - 8]
jg 0x4022cd
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
mov byte [esp + 0x4dc], 1
call fcn.00403020
mov byte [esp + 0x4d8], 2
mov edx, dword [eax]
mov eax, dword [esp + 0xa4]
push edx
push eax
push esi
push str.pid__d__ppid__d___s
lea edi, [esp + 0x28]
call fcn.004044d0
mov byte [esp + 0x4e8], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
call fcn.00401aa0
mov ecx, dword [esp + 0xa4]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], ecx
mov edi, 1
mov byte [esp + 0x4d8], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x4d8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40229b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4022bc
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0xa
mov dword [esp + 0x24], eax
jl 0x4020b0
call fcn.00409d40
test eax, eax
je 0x4022d7
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x80070057
call fcn.00401760
lea ecx, [esp + 0x44]
push ecx
mov ecx, 0x42cfec
call fcn.00403210
mov dword [esp + 0x4d8], 3
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0x4d8], 4
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4d8], 5
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx - 0xc]
test ebx, ebx
jle 0x40237c
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4023a7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402379
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402379
call fcn.004014f0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402370
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x4023a3
push ecx
jmp 0x40239a
mov eax, str.asdc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402384
sub eax, edx
sar eax, 1
push str.asdc
mov ebx, eax
lea eax, [esp + 0x24]
call fcn.00401450
mov edi, dword [esp + 0x20]
mov eax, 0x441048
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4023b0
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x441048
lea eax, [esp + 0x30]
call fcn.00401450
lea esi, [esp + 0x14]
call fcn.00417c90
mov byte [esp + 0x4d8], 6
mov esi, dword [eax]
mov ebx, dword [esp + 0x2c]
push esi
push ebx
push edi
call fcn.00401020
add esp, 0xc
test eax, eax
jne 0x402404
push esi
push ebx
push edi
call fcn.00401130
add esp, 0xc
test eax, eax
je 0x402409
mov eax, 1
cmp eax, 1
mov byte [esp + 0x4d8], 5
mov eax, dword [esp + 0x14]
sete byte [esp + 0x2b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x2b], 0
je 0x402491
lea eax, [ebx - 0x10]
mov byte [esp + 0x4d8], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x4d8], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bc1
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x402bc1
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x4d8], 7
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
mov byte [esp + 0x4dc], 8
mov eax, dword [esp + 0x34]
push edx
push eax
mov ecx, ebx
mov edx, edi
call fcn.0040c550
add esp, 0xc
call fcn.00418440
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
mov byte [esp + 0x4d8], 9
test byte [0x442254], 1
jne 0x40253a
or dword [0x442254], 1
push 0x1c
lea ecx, [esp + 0x50]
push ecx
push fcn.00408b70
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x50]
mov dword [0x442250], edx
mov ecx, dword [0x442250]
push 0x104
lea eax, [esp + 0x2c0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40257a
mov ecx, 0x104
lea eax, [esp + 0x38]
call fcn.004015c0
mov edi, dword [esp + 0x38]
push edi
lea ebx, [esp + 0x2c0]
call fcn.00410480
mov eax, dword [edi - 8]
add esp, 4
push eax
push edi
call fcn.00419ba5
add esp, 8
test eax, eax
jl 0x4022cd
cmp eax, dword [edi - 8]
jg 0x4022cd
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
lea eax, [esp + 0x48]
push eax
mov ecx, 0x42d28c
call fcn.00403160
mov byte [esp + 0x4d8], 0xa
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x4d8], 0xb
push ecx
mov ecx, dword [0x4420d8]
call fcn.00403210
mov ebx, eax
lea esi, [esp + 0x14]
mov byte [esp + 0x4d8], 0xc
call fcn.00417c90
push edi
push 4
mov byte [esp + 0x4e0], 0xd
mov edx, dword [ebx]
mov ecx, dword [esp + 0x50]
push 2
push edx
mov edx, dword [eax]
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str.username_s__mac_s__error_s_s__worktype_d_d__version_s
lea edi, [esp + 0x50]
call fcn.004016c0
mov byte [esp + 0x4f8], 0xc
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 0xb
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 0x402688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x4d8], 0xe
mov edx, dword [esp + 0x30]
push 1
lea ecx, [esp + 0x18]
call fcn.00416a30
add esp, 4
mov byte [esp + 0x4d8], 0xf
mov ecx, dword [eax]
push ecx
push str._report.php_typeclientdata_s
lea edi, [esp + 0x2c]
call fcn.004016c0
mov byte [esp + 0x4e0], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4026fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
xor esi, esi
cmp dword [edi - 0xc], esi
jle 0x4028ca
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], ecx
lea eax, [edi - 0x10]
lea edi, [ecx - 0x10]
mov byte [esp + 0x4d8], 0x10
cmp eax, edi
je 0x40277a
cmp dword [edi + 0xc], esi
lea ebx, [edi + 0xc]
jl 0x402769
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x402769
call fcn.004014f0
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x402760
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add esi, 0x10
mov dword [esp + 0x1c], esi
jmp 0x40277a
mov eax, dword [esp + 0x34]
mov ebx, dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
call fcn.00401450
lea eax, [esp + 0x1c]
push eax
call fcn.00403320
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov bl, 0x11
mov byte [esp + 0x4d8], bl
mov edx, dword [esp + 0x30]
push 1
lea ecx, [esp + 0x40]
call fcn.00416a30
add esp, 4
mov byte [esp + 0x4d8], 0x12
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ecx
push edx
push str.https:___s_report.php_typeclientdata_s
lea edi, [esp + 0x20]
call fcn.004016c0
mov byte [esp + 0x4e4], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
push str.Host:
push ecx
lea ecx, [esp + 0x24]
call fcn.00401270
mov byte [esp + 0x4e0], 0x13
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.00401c40
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40284e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402875
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x4d8], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 0xe
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402a81
lea ecx, [esp + 0x6c]
push ecx
call fcn.00403870
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov byte [esp + 0x4d8], 0x15
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x4d8], 0x16
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov bl, 0x17
mov edx, str.035eebbf588b9c839b68bd177d4d70ac5e3e9fdc3632b43a617d75452128e81c4e033423e2abd7becedc34bdf3c5ffd9
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d8], bl
call fcn.00416c10
lea edi, [esp + 0x14]
mov byte [esp + 0x4d8], 0x18
call fcn.00401360
mov byte [esp + 0x4d8], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40296d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00403020
mov byte [esp + 0x4d8], 0x19
mov eax, dword [eax]
push eax
lea edx, [esp + 0x44]
push edx
call fcn.004053b0
add esp, 8
mov byte [esp + 0x4d8], 0x1a
mov ebx, dword [eax]
lea eax, [esp + 0x1c]
call fcn.004032a0
mov byte [esp + 0x4d8], 0x19
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 0x17
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 0x4029f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
push edi
mov ecx, ebx
call fcn.00405600
lea eax, [ebx - 0x10]
add esp, 0x10
mov byte [esp + 0x4d8], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x4d8], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x402a6f
push eax
call fcn.00418e03
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x4dc], 0xe
call fcn.00402c10
mov byte [esp + 0x4d8], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 0xa
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 0x402ad1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 9
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402af9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4d8], 3
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 0x402bc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4d8], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.00418df4
mov esp, ebp
pop ebp
ret