joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4345c3
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x57f46b
call fcn.0042c498
mov ebx, ecx
call fcn.00432f4c
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.004202bd
mov esi, str.XiangCaoWifi.ini
push esi
call fcn.004525b1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00420e5e
push str.xcwifigf
push 0x583584
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00433053
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x434639
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00420228
push str.xcwifigf
mov ecx, esi
call fcn.00423a31
test eax, eax
jne 0x4346b5
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044ea80
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x434666
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.xcwifigf
push eax
push edi
push 0x583584
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x434697
xor eax, eax
jmp 0x4346a4
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004202e4
jmp 0x4346ba
mov edi, str.xcwifigf
push edi
mov ecx, esi
call fcn.00423a31
test eax, eax
jne 0x43477d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044ea80
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.0041fc67
push str.XiangCaoWifi.ini
mov byte [ebp - 4], 1
call fcn.004525b1
pop ecx
push eax
push str.XiangCaoWifi.ini
lea ecx, [ebp - 0x230]
call fcn.00420e5e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x583584
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x43474e
xor eax, eax
jmp 0x43475b
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004202e4
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0042019a
push edi
mov ecx, esi
call fcn.00423a31
test eax, eax
jne 0x4347b9
push edi
push 0x583584
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004331ba
push eax
mov ecx, esi
call fcn.00422101
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0042019a
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0042019a
call fcn.0042c453
ret
Function at 0x435b2d
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004525b1
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c529
push dword [ebp + 8]
mov esi, eax
push esi
mov dword [ebp - 4], esi
call fcn.0045d198
add esp, 0x10
call fcn.0043121f
test al, al
je 0x435b8f
push eax
push eax
pop edi
push eax
pop ebp
pop ebx
pop ebx
pop edx
pop ecx
pop edi
pop edx
push eax
pop eax
push ecx
push esp
pop ebp
push ebp
pop esi
pop ecx
push esp
pop ebp
pop esp
push esi
push ebx
push edx
pop edi
push edx
push esi
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 0xc], edi
test eax, eax
js 0x435c33
cmp word [esi + edi*2], 0x5c
jne 0x435c24
call fcn.00431378
test al, al
je 0x435bd2
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
mov esi, dword [ebp - 4]
call fcn.004315e5
test al, al
je 0x435bfc
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
movzx ebx, word [esi + edi*2]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435c1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x435c43
mov eax, dword [ebp - 8]
mov word [esi + edi*2], bx
inc edi
mov dword [ebp - 0xc], edi
cmp edi, eax
jle 0x435ba2
xor ebx, ebx
inc ebx
push esi
call fcn.0042c532
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
jmp 0x435c33
Function at 0x435edc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], edi
call fcn.004368c5
lea eax, [ebp - 0x20c]
push eax
call fcn.004525b1
add esp, 0x14
mov ebx, eax
call fcn.004312a9
test al, al
je 0x435f41
pop ecx
push ecx
push eax
push ebp
pop edx
push ecx
pop ecx
pop edx
push ecx
pop ebp
pop esi
pop eax
pop ebp
push edi
push edi
push esp
push esi
call fcn.004312ee
test al, al
je 0x435f5f
push ecx
pop ecx
pop ebp
pop edx
push ebx
push eax
push esp
push eax
pop esi
pop edx
push ebp
push ecx
push ebx
push ebp
push ebp
pop ebp
push ebx
pop esp
push ecx
push ebx
pop edx
call fcn.004316b4
test al, al
je 0x435f7e
pop edi
pop esi
pop edx
push ecx
pop edi
pop esi
pop ecx
pop edx
pop eax
pop esp
pop esi
pop esi
pop ecx
push esp
push ebx
push ecx
mov edi, dword [ebp - 0x210]
test ebx, ebx
je 0x436092
mov esi, 0x58268c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004525cc
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004525cc
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004525cc
add esp, 0x18
call fcn.004313bd
test al, al
je 0x435fd8
push ebx
push ebp
pop ebp
pop ebp
push esi
pop edi
pop esi
pop edx
pop edx
push ebp
push ebp
pop esp
push ebp
push ebp
push esi
push edx
push esp
pop ebp
pop ebx
push edi
pop esp
pop edx
push ecx
pop edi
pop eax
pop edi
call fcn.004314d1
test al, al
je 0x435ffa
push esi
pop esp
push esp
pop ebx
push edi
pop ecx
push ebx
push esi
pop ebx
pop esi
push ecx
push eax
pop edi
pop eax
pop esi
push esi
pop esi
pop ecx
push ebx
pop edi
pop ebp
push edi
pop eax
pop ebx
pop eax
call fcn.00431402
test al, al
je 0x43601f
pop eax
push esi
pop ebp
pop edx
push edi
pop eax
push ecx
push edx
pop esp
pop edi
pop ebx
push esi
push ebx
pop eax
push ebx
pop eax
push esi
pop ebp
pop ebp
push edx
push edi
pop ebx
pop edi
pop esi
push ebp
pop ebp
pop ebp
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43603d
lea eax, [ebp - 0x20c]
push eax
call fcn.00435b2d
pop ecx
call fcn.004315a0
test al, al
je 0x436064
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
cmp word [ebp - 0x20c], 0
jne 0x436072
xor eax, eax
jmp 0x43607f
lea eax, [ebp - 0x20c]
push eax
call fcn.004525b1
pop ecx
mov ecx, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004202e4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x4362fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5eda30], 0
push ebx
push esi
push edi
je 0x43634b
call fcn.004315a0
test al, al
je 0x436445
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
jmp 0x436445
call fcn.004312ee
test al, al
je 0x43636b
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044ea80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4363db
lea eax, [ebp - 0x20c]
push eax
call fcn.0045e601
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0044ebda
pop ecx
pop ecx
test eax, eax
jne 0x4363d4
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0044ebda
pop ecx
pop ecx
test eax, eax
je 0x4363db
mov byte [0x5eda30], 1
call fcn.00431081
test al, al
je 0x4363fe
pop esi
push edx
pop esp
pop ebx
pop esp
pop ebx
push ebp
push eax
push edx
pop edx
pop esi
pop ecx
pop ecx
pop edx
pop eax
push edi
pop ecx
push ecx
push ebx
push eax
push esp
push edi
push ebp
pop esp
pop esi
push ebp
call fcn.004316b4
test al, al
je 0x436424
push edx
push ecx
pop ecx
pop esp
push ecx
push ebx
push esp
pop esp
push esp
push edi
pop edx
push ebx
pop edi
push eax
pop edi
pop esp
pop eax
pop esi
push ecx
push ecx
pop esp
pop edi
pop ebp
push edx
pop esp
push ecx
push ebx
push ebp
pop edx
call fcn.0043121f
test al, al
je 0x436445
push ebp
push esp
push ebx
push edi
push ecx
pop ecx
pop ebp
pop edx
push ebp
push edi
push edx
pop edi
pop esp
push edx
pop ecx
pop eax
push ebp
pop esp
pop ebx
pop ebx
pop esi
pop esi
push eax
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [0x5eda30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x43b828
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x57fda6
call fcn.0042c498
mov eax, dword [ebp + 8]
and dword [ebp - 0x290], 0
test eax, eax
je 0x43ba22
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fc8f
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00437eeb
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0044ea80
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
je 0x43ba12
call fcn.004316b4
test al, al
je 0x43b8b8
pop eax
pop edi
pop edx
push eax
pop edi
pop esi
push edx
push esi
push ecx
push ecx
push ebp
pop edi
pop edx
push ebx
push esi
push edx
pop ebp
push esp
push eax
push ebx
push edx
push esp
push ecx
push edx
pop edx
pop ebx
push edx
pop edi
pop eax
push eax
push eax
pop edi
call fcn.00431378
test al, al
je 0x43b8d3
push edx
push edx
push ecx
push ebx
push eax
push eax
push ecx
pop edx
push ecx
pop ebp
pop edx
pop ebp
push ecx
push eax
pop esp
push esi
push esp
pop edx
call fcn.0043173e
test al, al
je 0x43b8f2
pop eax
pop eax
pop ebp
push ecx
push ebx
push ecx
push edi
push eax
pop esp
pop ebx
pop esp
pop esi
push ebp
pop ebp
pop ebp
pop edx
pop edi
push edi
push edi
pop esp
push ebx
push esi
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
push eax
push esi
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43b9e1
mov ebx, dword [ebp - 0x290]
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x43b944
lea eax, [ebp - 0x260]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.004202e4
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00437eeb
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004203ae
test eax, eax
je 0x43b998
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043704c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.004203ae
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x43b99f
mov byte [ebp - 0x285], 1
test bl, 1
je 0x43b9b3
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.0042019a
cmp byte [ebp - 0x285], 0
jne 0x43ba28
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0042019a
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43b91d
call fcn.00431081
test al, al
je 0x43ba0b
pop ebx
pop edi
pop eax
push esi
push ebx
pop ecx
pop ecx
push ecx
push ebx
push edx
push esi
pop esi
push esi
pop ebx
pop ebp
push esp
push edx
push ecx
push esi
push edi
push eax
push edi
push edx
push edi
pop ecx
pop ebp
push eax
mov esi, dword [ebp - 0x28c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042019a
mov eax, esi
call fcn.0042c453
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0042019a
jmp 0x43ba14
Function at 0x4406f3
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0043166f
test al, al
je 0x440714
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.0043110b
test al, al
je 0x440739
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.00431150
test al, al
je 0x44075e
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.004312ee
test al, al
je 0x440781
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.00431195
test al, al
je 0x4407a0
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp dword [ebp + 0xc], ecx
jle 0x440896
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x4407bf
inc edx
cmp edx, 2
jg 0x4407fd
cmp al, 0x7f
ja 0x4407fd
movzx eax, al
mov al, byte [eax + 0x586240]
cmp al, 0x7f
je 0x4407fd
cmp al, 0x40
jae 0x4407d8
test edx, edx
jne 0x4407fd
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x4407b2
test ecx, ecx
je 0x440896
imul eax, ecx, 6
mov ecx, dword [ebp + 0x14]
add eax, 7
sar eax, 3
cmp dword [ecx], eax
jge 0x440805
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x4407ff
push 0xffffffffffffffee
pop eax
jmp 0x440898
call fcn.0043155b
test al, al
je 0x44081e
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
mov edx, dword [ebp + 0x10]
xor eax, eax
push 3
xor ebx, ebx
mov dword [ebp + 0xc], eax
pop edi
test esi, esi
jle 0x44088e
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov cl, byte [eax + 0x586240]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x440882
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x44086d
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x44087a
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x440882
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x440832
mov eax, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44089d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4408b1
xor eax, eax
jmp 0x4409ef
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x4408da
dec edx
sub edx, 1
jne 0x4408dc
add eax, 2
jmp 0x4408dc
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4408ef
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4409ee
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x440985
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x586200]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x586200]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x586200]
mov byte [edi + 2], al
mov al, byte [esi + 0x586200]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x44091a
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x440988
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4409e1
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x44099d
movzx ecx, byte [eax + 1]
jmp 0x44099f
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x586200]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x586200]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4409d6
and ecx, 0xf
mov al, byte [ecx*4 + 0x586200]
mov byte [edi + 2], al
jmp 0x4409da
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440be8
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x5804ec
call fcn.0042c498
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.0045fc82
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x440c24
push 0x582c2f
mov ecx, esi
call fcn.00421d74
jmp 0x440d8c
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x440c49
push ebx
call fcn.0045fc8d
push dword [ebp - 0x54]
call fcn.0045fc82
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x440c13
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x440d61
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x440d3a
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.004389d5
lea eax, [edi + 0x10c]
push eax
call fcn.005787d5
push 0x5862dc
push eax
call fcn.00451970
add esp, 0x2c
test eax, eax
jne 0x440d96
cmp dword [edi + 0x1a0], 0x47
je 0x440d96
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.00421d74
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.004353ec
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004231e4
mov edi, dword [edi]
test edi, edi
jne 0x440c91
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x440d59
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x440d59
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00423239
lea ecx, [ebp - 0x60]
call fcn.004351ff
push ebx
call fcn.0045fc8d
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004290a7
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004231e4
mov eax, esi
call fcn.0042c453
ret 4
cmp byte [ebp - 0x20], 0
jne 0x440da0
xor eax, eax
jmp 0x440daa
lea eax, [ebp - 0x20]
push eax
call fcn.004559d0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.004232cf
jmp 0x440d59
Function at 0x440dd6
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.0044ea80
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5862ec
call fcn.004525b1
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00462c3c
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0044ea80
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0044ea80
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.0044ea80
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x440ed4
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.004389d5
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00421d74
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret 4
Function at 0x444a89
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x57f329
call fcn.0042c464
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00430dfa
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00430e2e
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x444ac9
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444b29
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x444b04
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x444b29
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00430e0d
call fcn.0042c43e
ret 0xc