joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f996
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax

Function at 0x471d88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x471e07
push ebx
push edi
xor edi, edi
push str.2411780a82e856b84c8adf1dcc074c07
mov dword [ebp + 8], edi
call fcn.00498880
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x471dc4
mov cl, byte [edi + str.2411780a82e856b84c8adf1dcc074c07]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x471dae
cmp ebx, 1
jle 0x471dfb
cmp byte [esi], 0x37
jne 0x471dfb
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x471dd9
cmp al, 0x5a
jne 0x471dfb
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.00456380
test eax, eax
je 0x471dfb
mov edx, dword [ebp + 8]
test edx, edx
je 0x471dfb
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x471e05
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x473189
Capabilities:
Check mutex on windows

Disassembly:
add byte [ebx - 0x3da2a13a], cl
add al, 0
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.004606d2
test al, al
je 0x4731b2
push ebp
jl 0x47320b
pop eax
inc esp
int1
cmp edi, esi
jge 0x47314b
sbb dword [eax + 0x5a10f6a1], ebx
add byte [esi], dl
pop ecx
das
cli
mov gs, eax
scasb al, byte es:[edi]
sar dh, cl
inc dword [eax + eax*8 - 0x76dde68c]
rol dword [edx], 1
lodsb al, byte [esi]
pop eax
call fcn.00460465
test al, al
je 0x4731d4
and cl, byte [ecx + 0x58ac02d1]
ror ecx, cl
push 0xffffffffffffff90
call 0xb97fc5b6
clc
scasb al, byte es:[edi]
dec esi
sal ebx, 0x92
xor byte [eax - 0x70], bh
adc ebp, eax
test eax, 0x84fffed0
sal byte [esp + edx - 0x16], 0x45
cli
lds ebp, [ecx + edi*8]
pop edx
pop ebp
adc al, 0xab
les edi, [edx - 3]
xor eax, 0xa63d9f8
adc dword [ebx], 0xffffffff
jne 0x4731fc
call fcn.00460282
test al, al
je 0x4731f1
ljmp 0x5af9:0x2cc5fa45
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
pop esp
add byte [ebx + 0x689fc75], cl
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
add byte [eax], al
add bh, dh
fcomp dword [edi + 0x1b]
rol byte [eax - 0x77], 0x46
add al, 0x5e
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x473ad6
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 0x473aea
xor eax, eax
jmp 0x473c28
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 0x473b13
dec edx
sub edx, 1
jne 0x473b15
add eax, 2
jmp 0x473b15
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x473b28
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x473c27
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x473bbe
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 + 0x5cd0d0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5cd0d0]
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 + 0x5cd0d0]
mov byte [edi + 2], al
mov al, byte [esi + 0x5cd0d0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x473b53
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 0x473bc1
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x473c1a
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x473bd6
movzx ecx, byte [eax + 1]
jmp 0x473bd8
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5cd0d0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5cd0d0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x473c0f
and ecx, 0xf
mov al, byte [ecx*4 + 0x5cd0d0]
mov byte [edi + 2], al
jmp 0x473c13
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 0x473e21
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x5c2d3c
call fcn.004aa3a5
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.00494e45
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x473e5d
push 0x5c6615
mov ecx, esi
call fcn.0040e2d0
jmp 0x473fc5
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x473e82
push ebx
call fcn.00494513
push dword [ebp - 0x54]
call fcn.00494e45
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x473e4c
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 0x473f9a
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 0x473f73
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.0040ad50
lea eax, [edi + 0x10c]
push eax
call fcn.005b57b5
push 0x5cd1ac
push eax
call fcn.004897b0
add esp, 0x2c
test eax, eax
jne 0x473fcf
cmp dword [edi + 0x1a0], 0x47
je 0x473fcf
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040e2d0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.00423cf0
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00460925
mov edi, dword [edi]
test edi, edi
jne 0x473eca
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x473f92
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x473f92
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0040ded0
lea ecx, [ebp - 0x60]
call fcn.0046b198
push ebx
call fcn.00494513
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.00410750
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00460925
mov eax, esi
call fcn.004aa360
ret 4
cmp byte [ebp - 0x20], 0
jne 0x473fd9
xor eax, eax
jmp 0x473fe3
lea eax, [ebp - 0x20]
push eax
call fcn.00498880
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040e000
jmp 0x473f92
Function at 0x47400f
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x634274]
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.00486960
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x625fd8
call fcn.0049899e
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00498e46
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00486960
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00486960
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.00486960
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 0x47410d
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0040ad50
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040e2d0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455afe
mov esp, ebp
pop ebp
ret 4
Function at 0x47bcdf
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x5c3a7a
call fcn.004aa3a5
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.00486960
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 0x47bdd6
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x47bd5b
lea eax, [ebp - 0x218]
push eax
call fcn.0049899e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402510
and dword [ebp - 4], 0
push 0x625fd4
call fcn.0049899e
pop ecx
push eax
push 0x625fd4
lea ecx, [ebp - 0x230]
call fcn.00404190
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0047b942
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x47bdc7
call fcn.00402450
mov eax, edi
jmp 0x47be88
or dword [ebp - 4], 0xffffffff
call fcn.00402450
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x47be86
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x47be1d
lea eax, [ebp - 0x218]
push eax
call fcn.0049899e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402510
mov esi, 0x625fd4
mov dword [ebp - 4], 1
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00404190
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0047b942
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402450
test esi, esi
je 0x47be86
mov eax, esi
jmp 0x47be88
xor eax, eax
call fcn.004aa360
ret 4
Function at 0x47be90
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 [0x634274]
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 0x47beb8
xor eax, eax
jmp 0x47bfee
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 0x47beb1
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00486960
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 0x47bfdc
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 0x47bfb6
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00486960
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 0x5c8358
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47bfaa
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00487ac0
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x47bfe4
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 0x47bf21
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.00455afe
mov esp, ebp
pop ebp
ret 4
Function at 0x47cadc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x47cb01
xor eax, eax
jmp 0x47cb94
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00486960
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47cb92
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x47cb70
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0048a488
pop ecx
pop ecx
test eax, eax
je 0x47cb82
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 0x47cb4f
jmp 0x47cb85
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.00455afe
mov esp, ebp
pop ebp
ret 4
Function at 0x47d01e
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x5c3c2c
call fcn.004aa3a5
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00486960
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 0x47d089
lea eax, [ebp - 0x218]
push eax
call fcn.0049899e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00402510
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.0049899e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00404190
xor ebx, ebx
cmp word [esi], bx
jne 0x47d0c3
mov eax, ebx
jmp 0x47d0ca
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404190
mov esi, 0x5c8470
push esi
call fcn.0049899e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00404190
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 0x47d1d8
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00486960
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0049897c
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0047b677
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00486960
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.0049899e
pop ecx
test eax, eax
jne 0x47d1c6
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0049897c
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x47d1d8
xor esi, esi
inc esi
jmp 0x47d1da
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402450
mov eax, esi
call fcn.004aa360
ret 4
Function at 0x47d1f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x640370]
test al, al
jne 0x47d28b
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00486960
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 0x47d282
lea eax, [ebp - 0x20c]
push eax
call fcn.00494cf8
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00487ac0
pop ecx
pop ecx
test eax, eax
jne 0x47d27a
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00487ac0
pop ecx
pop ecx
test eax, eax
je 0x47d282
mov byte [0x640370], bl
jmp 0x47d288
mov bl, byte [0x640370]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret
Function at 0x47dd54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634274]
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.00486960
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 0x47ddbf
lea eax, [ebp - 0x20c]
push 0x625fd4
push eax
call fcn.0049890b
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0047d299
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455afe
mov esp, ebp
pop ebp
ret 4

Function at 0x47e2f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x47e31d
xor al, al
jmp 0x47e3e4
call fcn.004607e6
test al, al
je 0x47e33b
sal byte [ebp + edx - 0x24], 7
fadd qword [edi]
sub bh, byte [esi + esi - 0x71175a78]
xchg edi, eax
mov ecx, 0xa8d89c82
cli
add bh, byte [eax - 0x75]
pop ebp
cld
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ecx], eax
call fcn.0045566c
mov edi, eax
mov dword [ebp - 8], edi
pop ecx
test edi, edi
je 0x47e316
call fcn.004607e6
test al, al
je 0x47e383
sub bl, cl
in al, 0x9e
pop edi
jge 0x47e356
cdq
shr byte [ecx + 0x30c726b9], 1
test dword [ecx], esp
mov edi, dword [ebp - 8]
call fcn.004600e4
test al, al
je 0x47e3a0
push cs
mov bl, 0xb1
aam 0x62
wait
xor eax, 0xf97c9f19
scasd eax, dword es:[edi]
jns 0x47e323
pop ebp
lcall 0x84e8, 0xfc5d8be6
sbb eax, 0xc084fffe
call fcn.00460129
test al, al
je 0x47e3be
outsd dx, dword [esi]
cmp bh, byte [ecx]
cmp dword [edx - 0x49d88bd2], ebp
scasb al, byte es:[edi]
mov ecx, 0xd4f628fd
adc byte [0xda075063], al
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x18]
push dword [ecx]
push eax
push edi
call fcn.004863e0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480e0a
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], 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 0x48169c
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 0x481753
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 0x5ca694
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x5ca694
call ebx
push dword [ebp - 0xc]
call ebx
push 0x5ca694
call ebx
push dword [ebp - 8]
call ebx
push 0x5ca694
call ebx
push edi
push dword [ebp - 0x10]
call fcn.00498ed0
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x481733
push edi
push dword [ebp - 0xc]
call fcn.00498ed0
pop ecx
pop ecx
test eax, eax
je 0x48174f
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 0x481753
mov ecx, dword [ebp - 0x10]
jmp 0x4816e3
mov byte [ebp - 1], 1
call fcn.004606d2
test al, al
je 0x481777
invalid
call fcn.004604aa
test al, al
je 0x481791
mov edx, 0xccb0659d
or bh, al
sbb bh, bl
sal byte [ebp + 0xf], 1
insb byte es:[edi], dx
adc ebx, dword [edx + 0x78]
dec esi
call fcn.004607a1
test al, al
je 0x4817aa
push eax
mov ds, word [eax + 0x741c7924]
fld xword [ebp + eax*8 - 0x20ba1ee5]
ja 0x48181c
cmp byte [ebp - 1], 0
jne 0x4817d1
mov esi, dword [ebp + 8]
lea edx, [esi + 0xa8]
push edx
call fcn.00498880
pop ecx
test eax, eax
je 0x4817d1
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00482617
mov al, 1
jmp 0x4817d3
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, byte [esi + ebx]
cmp al, 0xff
jle 0x481832
movsx eax, al
cmp eax, 0xff
jge 0x481832
push eax
call fcn.004984fc
pop ecx
test eax, eax
je 0x481832
mov byte [esi + ebx], 0
dec esi
test esi, esi
jg 0x48180d
call fcn.00460579
test al, al
je 0x48184e
ja 0x481859
mov dh, 0x63
xlatb
dec esp
jmp 0x481840
call fcn.00460351
test al, al
je 0x481876
imul eax, dword [ebx + 0x2d07e3d2], 0x62aa8edc
shl bl, cl
pop es
sub eax, 0x62aa8edc
stosb byte es:[edi], al
bound esi, qword [esi]
aas
aas
wait
lea esp, [edx - 0x1e9d992d]
mov ah, byte [0x449e7435]
inc esi
insd dword es:[edi], dx
push cs
inc edx
dec esi
loop 0x48185f
call fcn.0046082b
test al, al
je 0x481897
mov al, 0xef
std
inc dword [eax + eax*8 - 0x5529e78c]
salc
stosb byte es:[edi], al
adc eax, 0x312ef52e
sti
mov dword [0xa0b305bc], eax
adc byte [eax], bh
cdq
xor byte [ebx + 0x49a4ac06], ah
mov word [esi], es
call fcn.0046082b
test al, al
je 0x4818b8
mov ah, 0xfc
mov edx, 0x18a6f1eb
dec edx
pushal
sbb eax, 0x5bfd500e
and dh, byte [ebx + edi - 0x6f8b1e20]
stc
add ebp, eax
vpaddw xmm7, xmm2, xmm7
call fcn.00460282
test al, al
je 0x4818df
std
pop ebx
inc ebx
outsb dx, byte [esi]
pop ebx
sbb al, 0xd6
into
push cs
sub al, 0xc4
ficomp word [esp + ebp - 0x2437c156]
out dx, al
pushfd
int1
mov dword [0xaed0369b], eax
push esi
sub eax, 0x5f14458b
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10