joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4305ae
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x59fd75
call fcn.005980e1
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x290], ebx
test eax, eax
je 0x4307b4
push eax
lea ecx, [ebp - 0x40]
call fcn.00401b60
lea eax, [ebp - 0x40]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00427991
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push esi
push eax
call fcn.00443040
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
je 0x4307a6
call fcn.0042babd
test al, al
je 0x430639
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x290]
call fcn.0042bb8c
test al, al
je 0x430652
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
push eax
push esi
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x430734
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x43069b
lea eax, [ebp - 0x260]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00427991
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004035e0
test eax, eax
je 0x4306ef
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042f313
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.004035e0
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x4306f6
mov byte [ebp - 0x285], 1
test bl, 1
je 0x43070a
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.00401d10
cmp byte [ebp - 0x285], 0
jne 0x4307ba
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401d10
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x430674
call fcn.0042b9a9
test al, al
je 0x43075c
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.0042b9ee
test al, al
je 0x43077c
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.0042bdb4
test al, al
je 0x430798
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d10
mov eax, esi
call fcn.0059809c
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.00401d10
jmp 0x4307a6
Function at 0x4314a7
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x6280b8]
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.00443040
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5a4078
call fcn.00452872
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004537ea
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00443040
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00443040
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.00443040
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 0x4315a5
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409df0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00401cb0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret 4
Function at 0x431a49
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 0x431a5d
xor eax, eax
jmp 0x431b9b
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 0x431a86
dec edx
sub edx, 1
jne 0x431a88
add eax, 2
jmp 0x431a88
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x431a9b
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x431b9a
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x431b31
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 + 0x5a52c0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5a52c0]
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 + 0x5a52c0]
mov byte [edi + 2], al
mov al, byte [esi + 0x5a52c0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x431ac6
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 0x431b34
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x431b8d
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x431b49
movzx ecx, byte [eax + 1]
jmp 0x431b4b
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5a52c0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5a52c0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x431b82
and ecx, 0xf
mov al, byte [ecx*4 + 0x5a52c0]
mov byte [edi + 2], al
jmp 0x431b86
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 0x4374a4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5a136e
call fcn.005980ad
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0043ae98
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0043aecc
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4374e4
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 0x437544
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 0x43751f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437544
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.0043aeab
call fcn.00598087
ret 0xc
Function at 0x4379cc
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5a1409
call fcn.005980e1
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x437ac3
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x437a48
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401d80
and dword [ebp - 4], 0
push 0x61e2a0
call fcn.00452872
pop ecx
push eax
push 0x61e2a0
lea ecx, [ebp - 0x230]
call fcn.004024d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043762f
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x437ab4
call fcn.00401d10
mov eax, edi
jmp 0x437b75
or dword [ebp - 4], 0xffffffff
call fcn.00401d10
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x437b73
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x437b0a
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401d80
mov esi, 0x61e2a0
mov dword [ebp - 4], 1
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004024d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043762f
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00401d10
test esi, esi
je 0x437b73
mov eax, esi
jmp 0x437b75
xor eax, eax
call fcn.0059809c
ret 4
Function at 0x437b7d
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x437ba5
xor eax, eax
jmp 0x437cdb
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437b9e
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00443040
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437cc9
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x437ca3
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00443040
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437c97
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00441d4d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x437cd1
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x437c0e
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret 4
Function at 0x4387c9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x4387ee
xor eax, eax
jmp 0x438881
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43887f
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x43885d
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004529b0
pop ecx
pop ecx
test eax, eax
je 0x43886f
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43883c
jmp 0x438872
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041feb9
mov esp, ebp
pop ebp
ret 4
Function at 0x438c7f
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5a158f
call fcn.005980e1
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x438cea
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00401d80
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00452872
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004024d0
xor ebx, ebx
cmp word [esi], bx
jne 0x438d24
mov eax, ebx
jmp 0x438d2b
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004024d0
mov esi, str..lnk
push esi
call fcn.00452872
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004024d0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x438e39
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00443040
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00443040
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00452850
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043738a
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00452872
pop ecx
test eax, eax
jne 0x438e27
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00452850
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x438e39
xor esi, esi
inc esi
jmp 0x438e3b
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00401d10
mov eax, esi
call fcn.0059809c
ret 4
Function at 0x438e53
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x62d980]
test al, al
jne 0x438eec
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x438ee3
lea eax, [ebp - 0x20c]
push eax
call fcn.00452cce
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5a4b4c
push eax
call fcn.00441d4d
pop ecx
pop ecx
test eax, eax
jne 0x438edb
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00441d4d
pop ecx
pop ecx
test eax, eax
je 0x438ee3
mov byte [0x62d980], bl
jmp 0x438ee9
mov bl, byte [0x62d980]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041feb9
mov esp, ebp
pop ebp
ret
Function at 0x4399b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439a20
lea eax, [ebp - 0x20c]
push 0x61e2a0
push eax
call fcn.004527df
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00438efa
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret 4
Function at 0x43b123
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x24c
mov eax, 0x5a19e4
call fcn.005980e1
mov eax, dword [ebp + 8]
and dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443040
add esp, 0xc
call fcn.0042bd2a
test al, al
je 0x43b185
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.0042bd6f
test al, al
je 0x43b1a5
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0042ba78
test al, al
je 0x43b1c3
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
mov ebx, dword [ebp - 0x24c]
lea eax, [ebp - 0x218]
push 0x104
xor esi, esi
push eax
push esi
jmp 0x43b2fb
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43b2ed
call fcn.0042babd
test al, al
je 0x43b21e
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [ebp - 0x24c]
call fcn.0042bb8c
test al, al
je 0x43b237
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x43b267
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401d80
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0042f925
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00401d10
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x258]
call fcn.00430bdb
pop ecx
pop ecx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.00402010
mov esi, dword [ebp - 0x254]
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
mov dword [ebp - 0x254], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43b1dd
call fcn.0059809c
ret
Function at 0x43c3a7
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x43cc6a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
push esi
push edi
lea ecx, [eax + 0x210]
mov dword [ebp - 0x14], eax
mov esi, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x214]
je 0x43cd21
mov eax, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], edi
lea ecx, [eax + 0xa8]
add eax, 0x28
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push ecx
call ebx
push 0x5a37cc
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x5a37cc
call ebx
push dword [ebp - 0xc]
call ebx
push 0x5a37cc
call ebx
push dword [ebp - 8]
call ebx
push 0x5a37cc
call ebx
push edi
push dword [ebp - 0x10]
call fcn.00452d80
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x43cd01
push edi
push dword [ebp - 0xc]
call fcn.00452d80
pop ecx
pop ecx
test eax, eax
je 0x43cd1d
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x43cd21
mov ecx, dword [ebp - 0x10]
jmp 0x43ccb1
mov byte [ebp - 1], 1
call fcn.0042be3e
test al, al
je 0x43cd44
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0042bd2a
test al, al
je 0x43cd5e
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0042ba33
test al, al
je 0x43cd79
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
cmp byte [ebp - 1], 0
jne 0x43cda0
mov esi, dword [ebp + 8]
lea edx, [esi + 0xa8]
push edx
call fcn.00452890
pop ecx
test eax, eax
je 0x43cda0
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0043db67
mov al, 1
jmp 0x43cda2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43da82
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x210]
mov dword [ebx + 0x214], eax
call fcn.0042ba33
test al, al
je 0x43dad0
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
xor esi, esi
mov edi, 0x114
lea eax, [ebp - 0x118]
push edi
push esi
push eax
call fcn.00443040
add esp, 0xc
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x43db0b
mov ecx, ebx
call fcn.0043d25d
jmp 0x43db20
mov edi, esi
test esi, esi
jne 0x43db20
mov ecx, ebx
call fcn.0043d110
inc edi
mov esi, eax
cmp edi, 0xa
jl 0x43db0d
mov eax, dword [ebx + 0x214]
mov ecx, 0x1b0
sub eax, dword [ebx + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret

Function at 0x4584de
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045835d

Function at 0x459c5e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045991e