joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421365
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x6160b8]
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.00434140
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x593c54
call fcn.00443739
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004446af
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00434140
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00434140
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.00434140
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 0x421463
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.004066d0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00406100
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret 4
Function at 0x4216d8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.0041d0d8
test al, al
je 0x4216fe
pop ebx
push eax
pop ecx
pop esi
push ebx
pop edx
pop eax
pop eax
push ebp
push edi
push ebx
pop ebp
push esi
push ecx
push ecx
push eax
pop edx
push edi
pop ecx
push esp
push ebx
push ecx
call fcn.0041cfc4
test al, al
je 0x421727
push ecx
pop ecx
push esi
push esp
pop ebp
push ebp
push ecx
pop eax
pop esp
pop ecx
pop eax
push ebx
pop eax
push eax
pop edx
pop ebp
push ecx
push edx
pop ebp
push edi
pop ecx
pop eax
push esi
push edx
pop edi
push esp
push esi
pop edx
pop edx
pop edi
push ebp
push ecx
call fcn.0041d093
test al, al
je 0x421747
pop eax
push ebx
push esp
pop ebx
push edi
pop ecx
pop edx
push esi
pop eax
pop edx
pop ecx
push esi
push ebx
push esi
push esp
pop esp
pop eax
push esi
pop edi
pop ecx
push esp
push ebx
pop eax
call fcn.0041cf3a
test al, al
je 0x421766
pop ebx
pop ecx
push eax
pop eax
pop esi
pop edi
push edx
pop ebp
push esi
pop esi
push ecx
push ecx
pop esi
push ebp
pop ecx
push edi
pop ebx
pop ebx
pop ebp
pop eax
pop eax
push edi
call fcn.0041cf3a
test al, al
je 0x421780
pop ebx
pop eax
push esi
pop ebx
pop eax
pop ebx
pop ebx
push ecx
pop ecx
push edx
push edx
pop edi
pop esp
pop ebp
pop eax
pop esi
pop ecx
xor ecx, ecx
xor edx, edx
xor ebx, ebx
cmp dword [ebp + 0xc], ecx
jle 0x421886
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x42179f
inc edx
cmp edx, 2
jg 0x4217e0
cmp al, 0x7f
ja 0x4217e0
movzx eax, al
mov al, byte [eax + 0x595d10]
cmp al, 0x7f
je 0x4217e0
cmp al, 0x40
jae 0x4217b8
test edx, edx
jne 0x4217e0
inc ecx
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jl 0x421792
test ecx, ecx
je 0x421886
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4217e8
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4217e2
push 0xffffffffffffffee
pop eax
jmp 0x421888
call fcn.0041d04e
test al, al
je 0x42180c
push ebx
push edx
pop esi
pop eax
pop ecx
pop esp
pop esi
pop esi
pop ebp
push esp
push edx
pop edi
pop eax
pop ebx
push edx
pop esi
push edi
push ecx
push esp
push eax
pop edx
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
and dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push 3
pop esi
test ebx, ebx
jle 0x421881
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x595d10]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x421878
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x421863
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x421870
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x421878
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x421822
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42188f
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 0x4218a3
xor eax, eax
jmp 0x4219e1
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 0x4218cc
dec edx
sub edx, 1
jne 0x4218ce
add eax, 2
jmp 0x4218ce
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4218e1
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4219e0
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x421977
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 + 0x595cd0]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x595cd0]
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 + 0x595cd0]
mov byte [edi + 2], al
mov al, byte [esi + 0x595cd0]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x42190c
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 0x42197a
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4219d3
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x42198f
movzx ecx, byte [eax + 1]
jmp 0x421991
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x595cd0]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x595cd0]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4219c8
and ecx, 0xf
mov al, byte [ecx*4 + 0x595cd0]
mov byte [edi + 2], al
jmp 0x4219cc
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 0x427285
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5913f7
call fcn.0058929d
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042c68d
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042c6c1
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4272c5
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 0x427325
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 0x427300
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427325
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.0042c6a0
call fcn.00589277
ret 0xc
Function at 0x4277ad
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x591492
call fcn.005892d1
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.00434140
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 0x4278a4
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x427829
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403020
and dword [ebp - 4], 0
push 0x60dce0
call fcn.00443739
pop ecx
push eax
push 0x60dce0
lea ecx, [ebp - 0x230]
call fcn.004034d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00427410
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x427895
call fcn.00402ec0
mov eax, edi
jmp 0x427956
or dword [ebp - 4], 0xffffffff
call fcn.00402ec0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x427954
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4278eb
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403020
mov esi, 0x60dce0
mov dword [ebp - 4], 1
push esi
call fcn.00443739
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004034d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00427410
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00402ec0
test esi, esi
je 0x427954
mov eax, esi
jmp 0x427956
xor eax, eax
call fcn.0058928c
ret 4
Function at 0x42795e
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 [0x6160b8]
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 0x427986
xor eax, eax
jmp 0x427abc
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 0x42797f
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00434140
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 0x427aaa
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 0x427a84
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00434140
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 0x427a78
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x427ab2
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 0x4279ef
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.004144d9
mov esp, ebp
pop ebp
ret 4
Function at 0x4285aa
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6160b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x4285cf
xor eax, eax
jmp 0x428662
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00434140
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 0x428660
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x42863e
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00443779
pop ecx
pop ecx
test eax, eax
je 0x428650
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 0x42861d
jmp 0x428653
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.004144d9
mov esp, ebp
pop ebp
ret 4
Function at 0x428a60
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x591618
call fcn.005892d1
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00434140
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 0x428acb
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403020
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00443739
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004034d0
xor ebx, ebx
cmp word [esi], bx
jne 0x428b05
mov eax, ebx
jmp 0x428b0c
push esi
call fcn.00443739
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004034d0
mov esi, str..lnk
push esi
call fcn.00443739
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004034d0
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 0x428c1a
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00434140
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00434140
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00443717
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0042716b
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00434140
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.00443739
pop ecx
test eax, eax
jne 0x428c08
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00443717
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x428c1a
xor esi, esi
inc esi
jmp 0x428c1c
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402ec0
mov eax, esi
call fcn.0058928c
ret 4
Function at 0x428c34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6160b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x61b4f0]
test al, al
jne 0x428ccd
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00434140
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 0x428cc4
lea eax, [ebp - 0x20c]
push eax
call fcn.00443a97
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
jne 0x428cbc
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
je 0x428cc4
mov byte [0x61b4f0], bl
jmp 0x428cca
mov bl, byte [0x61b4f0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144d9
mov esp, ebp
pop ebp
ret
Function at 0x429796
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6160b8]
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.00434140
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 0x429801
lea eax, [ebp - 0x20c]
push 0x60dce0
push eax
call fcn.004436a6
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00428cdb
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret 4

Function at 0x42a782
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.00434140
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, 0x200
lea ecx, [eax + 0x40]
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x38], eax
inc edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
call fcn.00420cfc
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42a7f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
jmp 0x42a808
cmp dword [ebp + 0x10], 0
je 0x42a806
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42b5bc
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 0x42c72d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.0041d0d8
test al, al
je 0x42c765
pop ebx
push eax
pop ecx
pop esi
push ebx
pop edx
pop eax
pop eax
push ebp
push edi
push ebx
pop ebp
push esi
push ecx
push ecx
push eax
pop edx
push edi
pop ecx
push esp
push ebx
push ecx
call fcn.0041cfc4
test al, al
je 0x42c78e
push ecx
pop ecx
push esi
push esp
pop ebp
push ebp
push ecx
pop eax
pop esp
pop ecx
pop eax
push ebx
pop eax
push eax
pop edx
pop ebp
push ecx
push edx
pop ebp
push edi
pop ecx
pop eax
push esi
push edx
pop edi
push esp
push esi
pop edx
pop edx
pop edi
push ebp
push ecx
call fcn.0041d093
test al, al
je 0x42c7ae
pop eax
push ebx
push esp
pop ebx
push edi
pop ecx
pop edx
push esi
pop eax
pop edx
pop ecx
push esi
push ebx
push esi
push esp
pop esp
pop eax
push esi
pop edi
pop ecx
push esp
push ebx
pop eax
call fcn.0041cf3a
test al, al
je 0x42c7cd
pop ebx
pop ecx
push eax
pop eax
pop esi
pop edi
push edx
pop ebp
push esi
pop esi
push ecx
push ecx
pop esi
push ebp
pop ecx
push edi
pop ebx
pop ebx
pop ebp
pop eax
pop eax
push edi
call fcn.0041cf3a
test al, al
je 0x42c7e7
pop ebx
pop eax
push esi
pop ebx
pop eax
pop ebx
pop ebx
push ecx
pop ecx
push edx
push edx
pop edi
pop esp
pop ebp
pop eax
pop esi
pop ecx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x42c7f6
xor eax, eax
jmp 0x42c895
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x595b14
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
mov edi, str.Wow64RevertWow64FsRedirection
mov dword [ebx + 0x18], eax
push edi
push dword [ebx]
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.0041cccd
test al, al
je 0x42c876
push esi
push eax
push ecx
push ebp
push esp
push esp
push ebx
pop ebx
push ebp
pop esi
push edi
pop esp
push edx
push esp
pop edi
pop esi
pop ecx
push ebp
pop esi
pop esi
pop ebx
pop esp
pop edx
pop edi
mov ebx, dword [ebp - 4]
mov edi, str.Wow64RevertWow64FsRedirection
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebx + 4], 0
je 0x42c7ef
push edi
push dword [ebx + 4]
call esi
push edi
push dword [ebx + 4]
mov dword [ebx + 0x20], eax
call esi
mov dword [ebx + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cbfa
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x591b54
call fcn.005892d1
mov eax, dword [ebp + 8]
and dword [ebp - 0x290], 0
test eax, eax
je 0x42cdfc
push eax
lea ecx, [ebp - 0x40]
call fcn.00402db0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.0042c134
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.00434140
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x42cdec
call fcn.0041cccd
test al, al
je 0x42cc86
pop ecx
pop ecx
pop esp
pop esp
pop esi
pop edx
push esi
push ebp
pop ebp
push esi
pop esi
pop edx
push esi
pop edx
pop edi
push esi
pop ebx
pop esi
pop esi
push edx
mov esi, dword [ebp - 0x28c]
call fcn.0041cf7f
test al, al
je 0x42ccaa
pop ebx
pop edx
pop ecx
push edi
push edi
pop ecx
push ebp
pop ebx
push esi
pop esp
push ebx
push edx
push edi
push ebx
push esi
pop esp
push ebp
pop eax
push ebx
push edx
pop edx
pop ebx
push esp
push ebx
push edx
pop edi
pop eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42cd97
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 0x42ccf6
lea eax, [ebp - 0x260]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403020
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0042c134
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a40
test eax, eax
je 0x42cd4a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042bdcf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.00403a40
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x42cd51
mov byte [ebp - 0x285], 1
test bl, 1
je 0x42cd65
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.00402ec0
cmp byte [ebp - 0x285], 0
jne 0x42ce02
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402ec0
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42cccf
call fcn.0041ceb0
test al, al
je 0x42cdc0
push edx
push edi
pop esp
push edx
push esp
pop ebx
pop ecx
pop edi
push esp
push esi
pop edi
push eax
pop ebp
push eax
push edi
push ebx
pop ecx
push esi
pop ebx
pop ebx
push esi
pop ecx
push esi
pop esp
push edx
push ecx
push eax
pop ebp
pop edi
push ebx
push ecx
pop ecx
call fcn.0041d093
test al, al
je 0x42cde5
push eax
push ecx
pop eax
pop edi
pop esi
pop esp
pop ecx
pop ebx
push ebp
push edi
pop esi
pop edx
pop ebx
pop ebx
pop ebx
push eax
push ebp
push edx
push esi
push esi
pop esp
pop ebx
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.00402ec0
mov eax, esi
call fcn.0058928c
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.00402ec0
jmp 0x42cdee