joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x34c44da0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, str.SZO
mov ebx, 0x42f314
nop
nop
mov ecx, 0x5ae20853
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x404310
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push esi
mov esi, dword [sym.imp.WSOCK32.dll_WSAStartup]
popal
adc dword [eax + 0x43646840], 0xfffffffb
add byte [ecx + 0x49], dl
fimul word [ebx + 0x40c0c815]
jge 0x40436b
push esp
inc eax
add byte [ebx - 0xfbbf3e], al
salc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
stosd dword es:[edi], eax
and dl, dh
inc eax
add byte [ebx - 0xafbf40], al
salc
mov ebx, dword [eax + ecx*8]
rol byte [eax + 0x63], 0x68
in al, 0xf1
jle 0x40435b
push es
wait
push ecx
call esi
mov esi, dword [eax + ecx*8]
rol byte [eax], 0x68
lodsb al, byte [esi]
int1
inc eax
add byte [ebx - 0xadbfc2], al
salc
mov eax, dword [sym.imp.MSVCRT.dll__iob]
adc eax, str._____b_windowsize___Size_of_TCP_send_receive_buffer__in_bytes_n
cmp dword [edx + 0x40], 0xffffffe5
call esi
mov ecx, dword [0x40c023]
push str._____p_postfile_____File_containing_data_to_POST._Remember_also_to_set__T_n
add ecx, 0x40
push ecx
movsb byte es:[edi], byte [esi]
salc
add dword [sym.imp.MSVCRT.dll__iob], edx
push 0x5040a46e
add edx, 0x76
push edx
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add esp, 0x44
cmp ecx, 0x40
push 0x16f094
push eax
call esi
mov bh, 0xd
xchg esp, eax
rol byte [eax], 0x68
pop eax
invalid

Function at 0x406810
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
popfd
mov ecx, esp
or byte [ecx], dh
loopne 0x406839
inc eax
inc esi
cdq
mov eax, dword [esi]
push eax
call 0x46203423
push esi
call fcn.004066e0
sbb dword [ecx - 0x3da2b7fc], 4
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
lcall 0xec81, 0x3f8b5590
adc byte [edx], bl
add byte [ebx - 0x75], dl
pop ebp
or byte [esi + 0x57], dl
mov eax, dword [ebx + 4]
pop esp
clc
dec dword [edi]
test byte [eax + 1], ah
add byte [eax], al
inc esi
leave
adc byte [ebp - 0x767bf037], al
add dword [eax], eax
add byte [ebx - 0x74f38b], cl
adc al, 0x8d
push esi
lea edx, [ecx + 0x52]
push eax
call dword [sym.imp.WSOCK32.dll_connect]
add dword [edi], 0xffffffff
jne 0x4069b8
mov esi, dword [0x5244c1d8]
call esi
mov eax, dword [0xf9650fc0]
add byte [eax], al
add bh, bh
salc
add eax, 0x250ab580
cmp eax, 0x870ba6b3
jne 0x4069f4
mov edi, dword [ebx + 0x20]
dec esi
jae 0x4068cd
mov eax, edi
xchg edx, eax
invalid
mov dword [ebp - 0x58000210], ecx
mov ebp, edx
clc
invalid
fadd qword [ebx + 0x10]
mov dword [edi], edx
adc al, 0x66
cmp dword [eax + 0x2a], 0
jne 0x4069cc
cmp eax, dword [ebx + 0x2c]
add dword [edx], ecx
add byte [ebx + 0x70411848], cl
and byte [esi + 0x41042c], al
xor edx, dword [ebx]
repe cmpsb byte [esi], byte es:[edi]
mov ecx, dword [eax + 0x18]
inc ecx
jo 0x4069f2
xchg byte [esp + eax], ch
inc ecx
add byte [ebx], dh
adc esi, ebx
cmpsb byte [esi], byte es:[edi]
dec edx
lodsd eax, dword [esi]
pop edi
mov dword [ebx + 0x30], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
mov word [eax], cs
add ch, bh
dec ebx
jne 0x406a3a
inc edi
add byte [edi + 0x5e], bl
pop edi
pop esi
pop ebx
mov ebx, dword [ebx]
pop ebp
aam 8
add byte [eax - 0x741e6f70], dl
loope 0x40698d
xor al, byte [ebx + 0x458d00ba]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4238a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp dword [0x42b444], 0
jne 0x4238c4
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4238c4
xor eax, eax
jmp 0x4238f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x4238d3
xor eax, eax
jmp 0x4238f9
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x1f4
jle 0x4238f1
mov eax, section..text
sub eax, 0x51615
mov dword [0x42b448], eax
mov eax, dword [0x42b448]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x423a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x423a78
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x423b1c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x423b17
mov ecx, dword [ebp - 8]
push ecx
call fcn.00423f80
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x423ad6
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x423ad6
xor eax, eax
jmp 0x423b1c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x423a6f
mov esp, ebp
pop ebp
ret
Function at 0x42a4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x42a512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a508
mov eax, 1
add ebx, ebx
jne 0x42a52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a520
jne 0x42a53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a520
xor ecx, ecx
sub eax, 3
jb 0x42a550
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a5c2
mov ebp, eax
add ebx, ebx
jne 0x42a55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a58c
inc ecx
add ebx, ebx
jne 0x42a578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a56d
jne 0x42a589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a56d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a5ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a59d
jmp 0x42a50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a5ac
add edi, ecx
jmp 0x42a50e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a5ca
cmp byte [edi], 1
jne 0x42a5ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42a5cf
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a63e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a5fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a148]
or eax, eax
je 0x42a638
mov dword [ebx], eax
add ebx, 4
jmp 0x42a619
call dword [esi + 0x2a144]
mov ebp, dword [esi + 0x2a14c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42a672
sub esp, 0xffffff80
jmp 0x401219
Function at 0x401040
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
mov eax, 0x203c
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
call fcn.00401258
sub esp, eax
mov eax, dword [ecx]
lea ebx, [ebp - 0x2018]
add ecx, 4
mov dword [ebp - 0x201c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], ebx
mov dword [esp], 6
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll___stdio_common_vsprintf]
test eax, eax
jle 0x4010dc
mov esi, eax
mov dword [esp], 0xfffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push edx
lea edx, [ebp - 0x201c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov eax, dword [ebp - 0x201c]
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x4011b0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_narrow_argv
call sub.ucrtbase.dll__initialize_narrow_environment
call 0x401220
mov ebx, dword [eax]
call sub.ucrtbase.dll___p___argv
mov esi, dword [eax]
call sub.ucrtbase.dll__get_initial_narrow_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00401290
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7f4934f8
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2533573
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401068
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x4a4]
sub esp, 0x524
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp + 0x4a0], eax
mov eax, dword [ebp + 0x4ac]
push ebx
push esi
push edi
mov edi, 0x103
push edi
mov dword [ebp - 0x80], eax
xor esi, esi
lea eax, [ebp + 0x299]
push esi
push eax
mov ebx, ecx
mov byte [ebp + 0x298], 0
call fcn.0040ff00
push edi
lea eax, [ebp + 0x39d]
push esi
push eax
mov byte [ebp + 0x39c], 0
call fcn.0040ff00
push edi
lea eax, [ebp + 0x195]
push esi
push eax
mov byte [ebp + 0x194], 0
call fcn.0040ff00
push edi
lea eax, [ebp + 0x91]
push esi
push eax
mov byte [ebp + 0x90], 0
call fcn.0040ff00
push edi
lea eax, [ebp - 0x73]
push esi
push eax
mov byte [ebp - 0x74], 0
call fcn.0040ff00
add esp, 0x3c
mov ecx, ebx
lea edi, [ebp + 0x298]
call fcn.00401633
test al, al
jne 0x401116
xor al, al
jmp 0x40122d
push str.MozillaFirefox_
mov ebx, 0x104
lea eax, [ebp + 0x298]
push ebx
push eax
call fcn.00405995
lea eax, [ebp + 0x298]
push eax
lea eax, [ebp + 0x39c]
push ebx
push eax
call fcn.004058d8
push str.profiles.ini
lea eax, [ebp + 0x39c]
push ebx
push eax
call fcn.00405995
add esp, 0x24
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40110f
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x75], 0
push esi
jmp 0x4011ab
lea eax, [ebp + 0x39c]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
push 0x41804a
push str.Name
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 8
mov edi, str.default
lea esi, [ebp - 0x74]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4011ed
inc dword [ebp - 0x7c]
push dword [ebp - 0x7c]
push str.Profile_d
lea eax, [ebp + 0x194]
push 0x14
push eax
call fcn.00405899
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
push ebx
lea eax, [ebp + 0x90]
push eax
push 0x41804a
push str.Path
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x401171
jmp 0x40122a
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x298]
push ebx
push eax
mov byte [ebp - 0x75], 1
call fcn.00405995
push 0x418094
lea eax, [ebp + 0x298]
push ebx
push eax
call fcn.00405995
lea eax, [ebp + 0x298]
push eax
push ebx
push dword [ebp - 0x80]
call fcn.004058d8
add esp, 0x24
mov al, byte [ebp - 0x75]
mov ecx, dword [ebp + 0x4a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
add ebp, 0x4a4
leave
ret
Function at 0x4012e9
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1ac
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor ebx, ebx
push 0x63
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0xd]
push ebx
push eax
mov byte [ebp + 0xc], bl
call fcn.0040ff00
add esp, 0xc
push 0x64
pop edi
mov dword [ebp - 0x134], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push 0x4180a0
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x63
lea eax, [ebp - 0x57]
push ebx
push eax
mov dword [ebp - 0x12c], 1
mov byte [ebp - 0x58], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push 0x80000002
mov dword [ebp - 0x128], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.BaseBoardProduct
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea eax, [ebp - 0xbb]
push ebx
push eax
mov byte [ebp - 0xbc], bl
call fcn.0040ff00
push 0x63
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.0040ff00
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.Identifier
push dword [ebp - 0x124]
call esi
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp - 0x124]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x130]
push str._x_s_s_s_s
push 0x200
push dword [ebp - 0x138]
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, dword [ebp + 0x70]
add esp, 0x20
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
add ebp, 0x74
leave
ret
Function at 0x401633
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x84], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x84]
cmp esi, ebx
je 0x4016ac
push esi
push 0x80
push eax
call fcn.004058d8
add esp, 0xc
push str.S_1_5_32_544
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4016c4
push edi
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
neg eax
sbb eax, eax
inc eax
jmp 0x401790
push 0x80
push eax
call fcn.0040152d
pop ecx
pop ecx
test al, al
jne 0x40167d
xor al, al
jmp 0x401790
push 0x3ff
lea eax, [ebp - 0x587]
push ebx
push eax
mov byte [ebp - 0x588], bl
call fcn.0040ff00
lea eax, [ebp - 0x84]
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea eax, [ebp - 0x588]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x58c]
push eax
push 1
push ebx
lea eax, [ebp - 0x588]
push eax
push 0x80000003
mov dword [ebp - 0x58c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4016bd
push 0x103
lea eax, [ebp - 0x187]
push ebx
push eax
mov byte [ebp - 0x188], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x188]
push eax
push ebx
push ebx
push str.AppData
push dword [ebp - 0x58c]
mov esi, 0x104
mov dword [ebp - 0x590], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40177f
push dword [ebp - 0x58c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4016bd
push esi
push edi
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x40179e
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x84], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x84]
cmp esi, ebx
je 0x401817
push esi
push 0x80
push eax
call fcn.004058d8
add esp, 0xc
push str.S_1_5_32_544
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40182f
push edi
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
neg eax
sbb eax, eax
inc eax
jmp 0x4018fb
push 0x80
push eax
call fcn.0040152d
pop ecx
pop ecx
test al, al
jne 0x4017e8
xor al, al
jmp 0x4018fb
push 0x3ff
lea eax, [ebp - 0x587]
push ebx
push eax
mov byte [ebp - 0x588], bl
call fcn.0040ff00
lea eax, [ebp - 0x84]
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea eax, [ebp - 0x588]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x58c]
push eax
push 1
push ebx
lea eax, [ebp - 0x588]
push eax
push 0x80000003
mov dword [ebp - 0x58c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401828
push 0x103
lea eax, [ebp - 0x187]
push ebx
push eax
mov byte [ebp - 0x188], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x188]
push eax
push ebx
push ebx
push str.Local_AppData
push dword [ebp - 0x58c]
mov esi, 0x104
mov dword [ebp - 0x590], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4018ea
push dword [ebp - 0x58c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401828
push esi
push edi
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret