joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dcd52
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 0x13]
mov dword [esp + 7], edi
lea ecx, [esp + ecx]
mov cx, si
jmp 0x5dcd35
btr edx, eax
xchg dh, cl
add esp, 0xe
and edx, 0xecce779c
xchg byte [esp + 0x15], dl
xchg byte [esp + 1], al
jmp 0x5dcd07
lea esp, [esp + 0xc]
mov dword [esp + 3], esi
mov ecx, dword [esp + 5]
stc
add esp, 7
mov word [esp + 3], sp
jmp 0x5dcd72
mov cx, ax
pop edx
pop dword [esp + 5]
jmp 0x5dcd1d
mov dword [esp + 1], ecx
mov dh, 0x8a
pop edx
mov ch, 0xa2
xchg cx, dx
mov cx, di
jmp 0x5dcda7
lea edx, [eax*4]
lea edx, [ebx + ebp]
mov dh, byte [esp + 6]
push word [esp]
xchg word [esp + 0xb], dx
sub esp, 0x19
jmp 0x5dcd5c
not al
xchg byte [esp + 0x1f], ch
xchg word [esp + 3], ax
mov ch, byte [esp + 6]
sub ecx, eax
jmp 0x5dcdc0
mov dl, 0xe9
mov cx, word [esp + 0x23]
neg cx
mov cx, word [esp + 0x15]
mov dh, byte [esp + 0x1d]
mov eax, dword [esp + 0x1a]
jmp 0x5dcd8e
xchg byte [esp + 0xb], dl
push word [esp + 0x1b]
mov byte [esp + 0x1b], dl
mov dword [esp + 0x16], ebx
pop cx
pop eax
jmp 0x5dce03
add esp, 0x1a
rcr al, 0
lea esp, [esp + 3]
pop ax
lea eax, [ecx + edx]
btr ax, si
jmp 0x5dce5c
mov eax, 0xa441d2a1
lea eax, [eax + edx]
sub ecx, 0x47e3d426
rcl eax, cl
mov ah, 0x17
mov byte [esp], bl
jmp 0x5dce33

Function at 0x5e0836
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 4]
push dword [esp + 7]
std
shl cl, 7
shl bh, 1
jmp 0x5e0872
jmp 0x5e0820
push word [esp + 1]
cpuid
or dh, al
add esp, 7
add esp, 9
jmp 0x5e08a6
xor esi, esi
mov si, bx
push dword [esp + 0xa]
inc al
lea edi, [ecx + 0x4041]
ror bx, 9
jmp 0x5e0838
bt ax, si
mov esi, 0xd0587b16
mov bl, byte [esp + 8]
setge bh
not dl
not bh
jmp 0x5e084e
setnp dh
stc
mov cl, byte [esp]
xchg bh, cl
lea ecx, [edx - 0xb436]
xchg ah, dl
jmp 0x5e08b8
xchg cl, dl
xchg word [esp], dx
xchg bx, ax
cpuid
mov ebx, dword [esp]
pop bp
jmp 0x5e0888
xchg bl, cl
neg edx
mov bh, al
and cx, 0x5fb8
mov cl, al
rdtsc
jmp 0x5e0ada
lea ebx, [edx*4]
rdtsc
mov ebp, 0x2f854d5c
std
xchg edi, ecx
xchg si, bp
call fcn.005e090c
mov di, word [esp + 8]
xchg ecx, edx
lea esp, [esp + 0xc]
std
bswap esi
inc si
jmp 0x5e0958
push dword [esp + 7]
mov dl, 0xc0
mov cx, 0x8ba3
mov bl, 0x98
pop dx
mov byte [esp + 2], dh
jmp 0x5e09ab
mov cx, word [esp]
mov di, word [esp]
sub esp, 0xf
pop bp
mov bp, 0x4fb6
lea esp, [esp + 1]
jmp 0x5e0a76
Function at 0x5e0971
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bp, word [esp + 4]
std
rdtsc
push dword [esp + 4]
jmp 0x5e0992
mov dx, word [esp + 7]
rdtsc
pop dword [esp]
btc eax, ecx
cld
neg cl
jmp 0x5e0a28
sete ah
xchg bp, ax
mov cl, byte [esp]
mov ah, 0x2a
rdtsc
xchg dword [esp], edi
jmp 0x5e0a07
push dword [esp]
mov ebx, 0xdd017167
pop edx
mov ax, sp
xchg ah, al
mov byte [esp + 4], bl
jmp 0x5e09bd
shr ax, cl
mov cx, di
mov word [esp], bx
not dx
mov byte [esp], bh
jmp 0x5e0a57
pop di
add esp, 0
mov bh, 0x55
pop dx
mov al, byte [esp + 1]
bswap edx
jmp 0x5e09f1
mov edx, eax
lea esi, [eax*4]
mov dl, 0xb7
lea esi, [ebp + ebp]
mov word [esp + 1], bp
sub esp, 0
jmp 0x5e09dd
pushfd
bsr bp, bp
inc dx
bt ebp, ebx
pop bx
xchg byte [esp + 1], cl
jmp 0x5e0aa6
xchg cx, dx
xchg al, dl
cld
rdtsc
lea edi, [esp + 0xc2c971]
lea ecx, [eax*4]
jmp 0x5e0a41
neg esi
btr bp, dx
cpuid
mov ax, bp
lea esi, [esp - 0xb9c4]
jmp 0x5e0ab8
mov bp, 0x3c7d
cld
mov bh, 0xc
sub esp, 0x1d
mov ebx, dword [esp + 2]
mov esi, edi
jmp 0x5e0a8d
push word [esp + 0x1c]
not dl
lea edi, [ebp + ebp]
pop edi
push cx
lea ebx, [edi*4]
jmp 0x5e0af1
dec edx
not bh
call fcn.005e0afa
iretd
Function at 0x5e0dc8
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec dx
xchg word [esp + 9], bx
mov word [esp + 6], dx
jmp 0x5e0e4c
not edi
sets ch
lea eax, [ebp - 0x54851999]
lea ecx, [edx + esi]
xchg bh, dh
mov ah, byte [esp]
jmp 0x5e0d9f
pop di
mov ebp, 0x5e800ba3
sbb bh, al
xchg edi, edx
setl dh
dec si
jmp 0x5e0d26
ror ebx, cl
neg si
lea edx, [edx*4]
jmp 0x5e0d7e
lea esp, [esp]
pushfd
lea ebp, [ecx*4]
stc
setnp bh
pop word [esp]
jmp 0x5e0d53
mov eax, 0x7c4a35c1
bsr ebx, esp
neg ecx
call 0x5e0dc8
mov word [edx], cs
cwde
dec dword [edx]
jecxz 0x5e0dc2
scasd eax, dword es:[edi]
aas
pop edx
test eax, 0xccfd4257
pop edi
cmpsb byte [esi], byte es:[edi]
ror dword [ebx + 0x3c8a240c], 1
and al, 0x83
les eax, [eax]
mov ecx, dword [esp]
mov bh, byte [esp]
add esp, 0
xchg byte [esp], ah
mov edx, esp
add esp, 0
jmp 0x5e0d69
rcr ch, cl
mov byte [esp + 5], ah
neg ch
lea ebp, [edx - 0x1c01]
jmp 0x5e0dd0
push eax
ror dword [edx - 0x1b], cl
adc al, 0x87
cld
mov si, dx
mov cl, dl
jmp 0x5e0db2
xchg dword [esp], ebx
rdtsc
rdtsc
mov byte [esp + 1], cl
mov dword [esp], ebx
push word [esp + 3]
jmp 0x5e0e1f
cpuid
mov ebp, edi
mov cl, 0xe7
setno dl
bswap esi
sbb ch, ch
jmp 0x5e0d41
cpuid
lea ebx, [esi + ebp]
mov eax, dword [esp + 1]
not edi
sub esp, 0xf
jmp 0x5e0e30
mov ebx, esi
mov di, word [esp]
mov si, bx
setle dl
pop si
cld
jmp 0x5e0e09
mov dword [esp + 0x10], eax
pop ebp
pop dword [esp + 1]
rol ebp, 0x1c
lea ebx, [edi*4]
mov ah, 0xf6
jmp 0x5e0f03
lea esp, [esp]
lea ecx, [esi - 0x688318a]
cmc
add esp, 0xa
pop dword [esp]
lea esp, [esp + 1]
jmp 0x5e0df7
xchg byte [esp + 0x16], al
lea eax, [ebx + ebp]
mov bp, word [esp + 0xf]
bts eax, eax
jmp 0x5e0ea7
mov di, ax
push word [esp + 4]
xor dl, ah
push word [esp + 4]
xchg word [esp + 0x16], bp
mov di, ax
jmp 0x5e0e62
std
sbb cl, ah
bsf dx, si
pushal
xchg dword [esp + 0x12], ebx
bsr eax, ecx
jmp 0x5e0ed1
xchg dword [esp + 0x27], ebp
sub esp, 0x14
lea esp, [esp + 0x41]
setb dl
mov ebp, edx
xchg cl, ch
jmp 0x5e0e91
xchg word [esp + 0xa], dx
btc eax, esi
cmc
mov ecx, edi
jmp 0x5e0ee7
push dword [esp + 0x14]
xchg dh, cl
lea esp, [esp + 0x12]
setb bl
pop word [esp + 7]
mov dl, 0x8d
jmp 0x5e0ebb
lea edi, [ecx*4]
shl bx, 0xe
stc
mov cl, 0x4f
cmp ax, 0x8b25
jmp 0x5e0f93
mov bl, al
mov edi, esp
mov edx, dword [esp + 0xa]
xchg si, cx
sub esp, 0x1b
mov ah, 0xd2
jmp 0x5e0e78
cpuid
mov dx, di
lea edi, [esi*4]
mov ch, 0xb7
jmp 0x5e0f78
xchg byte [esp], ch
adc bx, sp
lea ebx, [ebx*4]
bswap esi
not si
mov byte [esp], dl
jmp 0x5e0f18
pop dword [esp]
pop cx
pop dx
bsf edi, ebp
xchg ebx, esi
xchg byte [esp], bl
jmp 0x5e0f2e
dec bh
pushal
call fcn.005e0fbb
mov dword [0x2bd8b929], eax
std
ret
mov cx, 0x1cb9
push word [esp]
mov byte [esp], dl
mov dl, bl
setg dl
mov edx, esp
jmp 0x5e0f62
mov bx, word [esp + 0xb]
add esp, 0xa
xchg bl, ch
pushfd
clc
xchg ah, bl
jmp 0x5e0f51
Function at 0x5e1240
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Parse pe header

Disassembly:
mov byte [esp + 2], ch
push word [esp + 1]
jmp 0x5e122a
Function at 0x401240
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x416c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
push 0
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x50
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x30]
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push esi
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
push ecx
mov ecx, dword [esp + 0x34]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x20]
je 0x401330
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4013a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x416cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString_3
push 0x422d40
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_2
push str.00000000000000
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call fcn.004160f0
lea eax, [esp + 0x4c]
push str..Cache
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x401551
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x28]
mov ebp, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x401547
mov edx, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [edx + 0x40]
test eax, eax
jne 0x401547
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CFileFind::GetLastWriteTime
lea ecx, [esp + 0x1c]
push str._Y_m_d_H_M_S
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4014e5
test cl, cl
je 0x4014e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4014e5
add eax, 2
add esi, 2
test cl, cl
jne 0x4014c1
xor eax, eax
jmp 0x4014ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x40152b
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 7
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x4c], 4
lea ecx, [esp + 0x20]
jmp 0x401542
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
test ebp, ebp
jne 0x40144a
pop edi
pop ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 8]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x4015b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x416ce1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x421090
call sub.MFC42.DLL_CString::CString_2
call fcn.004013a0
add esp, 4
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42108c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401680
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp + 0x18]
call fcn.0040c670
lea eax, [esp + 0x20]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.Temp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x18]
call fcn.0040c670
push str.download
lea ecx, [esp + 0x18]
push 0x422cc0
push ecx
call sub.MFC42.DLL_operator_2
mov edx, dword [esp + 0x14]
push 0
push edx
mov byte [esp + 0x238], 2
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jl 0x401739
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp + 0x18]
call fcn.0040c670
lea ecx, [esp + 0x124]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ecx
lea edx, [esp + 0x128]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x18]
call fcn.0040c670
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret

Function at 0x401880
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
lea eax, [esp]
mov dword [esp], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 4]
add esp, 0x20
ret
Function at 0x4019f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x416d23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push 0
push 2
mov dword [esp + 0x144], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401adf
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x14]
push 0xa
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0x150]
mov eax, dword [eax]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401ab6
mov edx, dword [esp + 0x20]
push edx
push 1
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401ab6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
push ebp
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x148], 0
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x401a46
pop edi
pop esi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x144]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x134]
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x401c30
Capabilities:
Create thread
Get system information on windows

Disassembly:
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.aaaaaa
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
mov ecx, esi
call fcn.004015b0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.bbbbbb
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
mov dword [0x422cd0], ecx
call fcn.00401360
push ecx
mov dword [0x422cf0], eax
mov ecx, esp
mov dword [esp + 0x14], esp
push str.cccccc
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
call fcn.00403dd0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.StartRequest_connect
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
mov ecx, dword [esi + 0x18]
call fcn.0040fa20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.StartRequest_end
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x401b20
push 0
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x401d40
push 0
push 0
call edi
push eax
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4210cc
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402730
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x401f90
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x416dab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
mov eax, 4
mov dword [esp + 0xe0], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
mov dword [esp + 0x20], 0x32
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [esp + 0x24], pe_nt_image_headers32
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.VendorIdentifier
push ecx
call esi
lea edx, [esp + 0x10]
lea eax, [esp + 0x58]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.Identifier
push edx
call esi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.MHz
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
lea eax, [esp + 8]
push edx
push 0x421178
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x10
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xd8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xe0
ret

Function at 0x4020c0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x416dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0xff
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0xc]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::CString_2
add esi, 0x1c
push eax
mov ecx, esi
mov dword [esp + 0x118], 0
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call sub.MFC42.DLL_CString::TrimLeft_1
mov ecx, esi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x402160
Capabilities:
Get session information
Get session user name

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x422d40
mov ecx, esi
xor edi, edi
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 5
push 0xffffffffffffffff
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x4021b6
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
pop edi
mov eax, 1
pop esi
pop ecx
ret
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x402b30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x416f0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push esi
mov dword [esp + 4], 0
mov eax, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
push eax
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0xc]
push 0x200
push ecx
push 0
push edx
push eax
mov dword [esp + 0x228], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x402baa
mov esi, dword [esp + 0x218]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 4], 1
jmp 0x402bc5
mov esi, dword [esp + 0x218]
push 0x422d40
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 4], 1
lea ecx, [esp + 0x21c]
mov byte [esp + 0x210], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x220]
mov byte [esp + 0x210], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov byte [esp + 0x210], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x208]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x210
ret 0x10

Function at 0x402c20
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x416f30
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc