joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427aed
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x874
mov eax, 0x48e7f3
call fcn.0046e801
mov esi, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x864], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [edi], eax
mov dword [edi + 4], eax
call fcn.00428d1f
mov dword [edi], eax
mov esi, dword [esi]
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], esi
mov eax, dword [esi]
mov dword [ebp - 0x858], eax
jmp 0x427cb3
mov ebx, dword [eax + 0x10]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x868]
mov dword [ebp - 0x854], ebx
push eax
push ecx
lea eax, [ebp - 0x85c]
mov dword [ebp - 0x850], ecx
push eax
lea eax, [ebp - 0x850]
mov dword [ebp - 0x85c], ecx
push eax
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 0x868], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x427ca2
cmp dword [ebp - 0x850], eax
jbe 0x427ca2
mov esi, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x86c], 0x400
push eax
lea eax, [ebp - 0x814]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x427c8c
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x848]
call fcn.0041133e
push ecx
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00428da0
pop ecx
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 1
mov bl, al
call fcn.004114ce
test bl, bl
mov ebx, dword [ebp - 0x854]
je 0x427c8c
and dword [ebp - 0x84c], 0
lea eax, [ebp - 0x84c]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427c46
cmp dword [ebp - 0x84c], eax
je 0x427c46
movzx eax, byte [0x4c5777]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x878]
jmp 0x427c83
lea eax, [ebp - 0x84c]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427c8c
cmp dword [ebp - 0x84c], eax
je 0x427c8c
movzx eax, byte [0x4c5777]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x880]
push ecx
push eax
mov ecx, edi
call fcn.00428ec3
inc esi
push 0
pop eax
cmp esi, dword [ebp - 0x850]
jb 0x427b92
mov esi, dword [ebp - 0x860]
lea ecx, [ebp - 0x858]
call fcn.004036c2
mov eax, dword [ebp - 0x858]
cmp eax, esi
jne 0x427b3b
lea ecx, [ebp + 8]
call fcn.00428b83
mov eax, edi
call fcn.0046e7b0
ret

Function at 0x427ccb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
add edx, 0x18
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edx + 0x14], 8
jb 0x427ce0
mov edx, dword [edx]
push esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
pop esi
cmove ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x427ec4
Capabilities:
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4bc760]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4bc760]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.004111d6
and dword [esp + 0x98], 0
xor ebx, ebx
mov eax, dword [esi + 8]
inc ebx
sub eax, dword [esi + 4]
push 0x34
pop ecx
cdq
idiv ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
cmp eax, ebx
jbe 0x427fb2
mov edi, ecx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x20]
add eax, edi
push eax
call fcn.004115da
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
push 0x34
cdq
pop ecx
idiv ecx
mov ecx, dword [esp + 0x10]
dec eax
cmp ecx, eax
jae 0x427f95
push ecx
push 0x4a3b00
lea ecx, [esp + 0x5c]
call fcn.004112d3
lea eax, [esp + 0x54]
mov byte [esp + 0x98], bl
push eax
lea ecx, [esp + 0x24]
call fcn.004115da
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call fcn.004114ce
mov ecx, dword [esp + 0x10]
push 0x34
pop eax
add edi, eax
inc ecx
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x427f38
mov edi, dword [esp + 0x1c]
xor edx, edx
lea ecx, [esp + 0x14]
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push edx
cmovae eax, dword [esp + 0x3c]
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push dword [esi]
mov dword [esp + 0x38], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x428020
mov eax, dword [edi + 0x10]
lea edx, [edi + 0x18]
cmp dword [edx + 0x14], 8
jb 0x427ff0
mov edx, dword [edx]
lea ecx, [esi + 0x28]
cmp dword [ecx + 0x14], 8
jb 0x427ffb
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push edx
push ebx
push 0
push ecx
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x428022
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.004114ce
mov al, bl
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0046a41b
mov esp, ebp
pop ebp
ret 4
Function at 0x428050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa8
mov eax, 0x48e92b
call fcn.0046e801
mov ebx, ecx
mov dword [ebp - 0xa0], ebx
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xac], edi
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.0040ed39
mov dword [edi], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x9c], 1
call fcn.00428801
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x98], esi
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
jmp 0x428234
and dword [ebp - 0x80], 0
cmp dword [ebx + 0x3c], 8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x84], eax
jb 0x4280e0
mov ecx, dword [ebx + 0x28]
jmp 0x4280e3
lea ecx, [ebx + 0x28]
lea edx, [ebp - 0x80]
push edx
xor edx, edx
push edx
push edx
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428223
cmp dword [ebp - 0x80], eax
je 0x428223
push dword [ebp - 0x80]
call fcn.0043d413
mov edx, dword [ebp - 0xa0]
pop ecx
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
lea edx, [edx + 0x10]
call fcn.00427ccb
test eax, eax
je 0x428217
cmp eax, 2
jbe 0x428141
add eax, 0xfffffffa
cmp eax, 1
ja 0x428217
cmp dword [ebx + 0x3c], 8
jb 0x42814c
mov eax, dword [ebx + 0x28]
jmp 0x42814f
lea eax, [ebx + 0x28]
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x88]
push 0
push 0
push eax
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428217
lea ecx, [ebp - 0x48]
call fcn.004111d6
and dword [ebp - 0x90], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
add eax, 0xfffffffe
test eax, 0xfffffffe
jbe 0x4281f0
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x88]
movzx ecx, byte [edi + esi*2 + 1]
movzx eax, byte [edi + esi*2]
shl cx, 8
or cx, ax
movzx eax, cx
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041141f
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48]
call fcn.004115da
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.004114ce
mov eax, dword [ebp - 0x80]
inc esi
add eax, 0xfffffffe
shr eax, 1
cmp esi, eax
jb 0x42819e
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
movzx eax, byte [0x4c5777]
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.00429029
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004114ce
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x8c]
call fcn.004036c2
mov eax, dword [ebp - 0x8c]
cmp eax, esi
jne 0x4280c8
lea ecx, [ebp - 0xa8]
call fcn.00428b5a
mov eax, edi
call fcn.0046e7b0
ret 4
Function at 0x428251
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x48e974
call fcn.0046e7ce
mov edi, ecx
mov dword [ebp - 0x24], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.00428d1f
mov dword [ebx], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c]
inc esi
mov ecx, edi
push eax
mov dword [ebp - 0x20], esi
call fcn.00428801
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4283b3
add edi, 0x28
mov ebx, dword [eax + 0x10]
xor edx, edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x10], edx
jb 0x4282b3
mov eax, dword [edi]
jmp 0x4282b5
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push edx
push edx
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42839d
cmp dword [ebp - 0x10], eax
je 0x42839d
push dword [ebp - 0x10]
call fcn.0043d413
mov edx, dword [ebp - 0x24]
and dword [ebp - 0x18], 0
pop ecx
mov ecx, ebx
mov dword [ebp - 0x14], eax
lea edx, [edx + 0x10]
call fcn.00427ccb
sub eax, 4
je 0x428347
dec eax
jne 0x428396
cmp dword [edi + 0x14], 8
jb 0x428308
mov eax, dword [edi]
jmp 0x42830a
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428396
cmp dword [ebp - 0x10], 4
jne 0x428330
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
bswap eax
jmp 0x428333
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4c5777]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
jmp 0x42838c
cmp dword [edi + 0x14], 8
jb 0x428351
mov eax, dword [edi]
jmp 0x428353
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428396
cmp dword [ebp - 0x10], 4
jne 0x428377
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
jmp 0x42837a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x4c5777]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.00428ec3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.004036c2
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x4282a1
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00428b5a
mov eax, ebx
call fcn.0046e79c
ret 4
Function at 0x4284f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x48e9f4
call fcn.0046e7ce
mov edi, ecx
mov dword [ebp - 0x2c], edi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov dword [ebx + 4], esi
call fcn.00428d4a
mov dword [ebx], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], esi
push eax
mov ecx, edi
mov dword [ebp - 0x28], 1
call fcn.00428801
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x4286ad
add edi, 0x28
mov dword [ebp - 0x20], edi
and dword [ebp - 0x14], 0
cmp dword [edi + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
jb 0x42855f
mov eax, dword [edi]
jmp 0x428561
mov eax, edi
lea edx, [ebp - 0x14]
push edx
xor edx, edx
push edx
push edx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42869a
cmp dword [ebp - 0x14], eax
je 0x42869a
push dword [ebp - 0x14]
call fcn.0043d413
mov edx, dword [ebp - 0x2c]
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x18]
lea edx, [edx + 0x10]
call fcn.00427ccb
cmp eax, 3
je 0x4285b2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp + 8]
jmp 0x42869a
cmp dword [edi + 0x14], 8
jb 0x4285bc
mov eax, dword [edi]
jmp 0x4285be
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 0
push 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42868e
xor edi, edi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
and dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], edx
jbe 0x428654
cmp ebx, ecx
jae 0x428625
cmp edi, ebx
ja 0x428625
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x30], eax
cmp ecx, edx
jne 0x42861c
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428bd7
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x428643
mov al, byte [edi + eax]
jmp 0x428641
cmp ecx, edx
jne 0x42863b
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00428bd7
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
test ecx, ecx
je 0x428643
mov al, byte [ebx]
mov byte [ecx], al
mov eax, dword [ebp - 0x1c]
inc ecx
inc eax
mov dword [ebp - 0x48], ecx
inc ebx
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x14]
jb 0x4285f4
movzx eax, byte [0x4c5777]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push eax
push ecx
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00428f6b
mov byte [ebp - 4], 1
test edi, edi
je 0x428689
push edi
call fcn.0043d41c
xor eax, eax
pop ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x20]
jmp 0x428691
mov ebx, dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24]
call fcn.004036c2
mov eax, dword [ebp - 0x24]
cmp eax, esi
jne 0x42854b
lea ecx, [ebp - 0x38]
call fcn.00428b5a
mov eax, ebx
call fcn.0046e79c
ret 4
Function at 0x42b5a0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42b73e
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42b73e
cmp eax, 0x29
jne 0x42b5db
cmp dword [esi + 0x10], 0
jne 0x42b73e
test dword [esi + 0x50], edx
je 0x42b744
cmp eax, 0x2e
jne 0x42b5f6
push 5
lea ecx, [esi + 0x24]
call fcn.0042b83f
mov ecx, esi
call fcn.0042b577
jmp 0x42b726
cmp eax, 0x5c
jne 0x42b651
mov ecx, esi
call fcn.0042b577
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42b628
cmp byte [esi + 0x48], 0x62
jne 0x42b628
push 4
lea ecx, [esi + 0x24]
call fcn.0042b83f
mov ecx, esi
call fcn.0042b577
jmp 0x42b72d
test eax, eax
je 0x42b645
cmp byte [esi + 0x48], 0x42
jne 0x42b645
push 4
lea ecx, [esi + 0x24]
call fcn.0042b83f
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42b61c
mov ecx, esi
call fcn.0042c17c
jmp 0x42b726
cmp eax, 0x5b
jne 0x42b6b1
mov ecx, esi
call fcn.0042b577
lea ecx, [esi + 0x24]
call fcn.0042c997
cmp dword [esi + 0x4c], 0x5e
jne 0x42b679
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042b577
test dword [esi + 0x50], 0x20000000
je 0x42b699
cmp dword [esi + 0x4c], 0x5d
jne 0x42b699
push 0x5d
lea ecx, [esi + 0x24]
call fcn.0042c9e1
mov ecx, esi
call fcn.0042b577
mov ecx, esi
call fcn.0042c764
cmp dword [esi + 0x4c], 0x5d
je 0x42b5ea
push 4
jmp 0x42b746
cmp eax, 0x28
jne 0x42b6ce
mov ecx, esi
call fcn.0042b577
mov ecx, esi
call fcn.0042c258
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x42b71b
jmp 0x42b744
cmp eax, 0x5e
jne 0x42b6da
push 2
jmp 0x42b614
cmp eax, 0x24
jne 0x42b6e6
push 3
jmp 0x42b614
cmp eax, 0x2a
je 0x42b73a
cmp eax, 0x2b
je 0x42b73a
cmp eax, 0x3f
je 0x42b73a
cmp eax, 0x7b
je 0x42b73a
cmp eax, 0x7d
jne 0x42b704
test dword [esi + 0x50], edx
je 0x42b736
cmp eax, 0x5d
jne 0x42b70e
test dword [esi + 0x50], edx
je 0x42b6aa
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042c3cc
mov ecx, esi
call fcn.0042b577
test bl, bl
je 0x42b72d
mov ecx, esi
call fcn.0042c308
mov cl, 1
mov bl, cl
jmp 0x42b5a9
push 6
jmp 0x42b746
push 0xa
jmp 0x42b746
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00486f29
int3
Function at 0x42e261
Capabilities:
Enumerate processes

Disassembly:
push 0x31c
mov eax, 0x48f04a
call fcn.0046e801
lea eax, [ebp - 0x7c]
xor ebx, ebx
push eax
call fcn.0041181c
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x318], esi
cmp esi, 0xffffffff
je 0x42e450
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42e449
mov edi, 0x2736
lea ecx, [ebp - 0x48]
mov edx, edi
call fcn.00411075
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411634
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
sete bl
call fcn.004114ce
test bl, bl
je 0x42e34f
xor ebx, ebx
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0041133e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041181c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], bl
call fcn.004114ce
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.004123f3
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e343
call fcn.004114ce
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e2e5
jmp 0x42e449
mov bl, 1
call fcn.004114ce
jmp 0x42e449
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.00411075
lea ecx, [ebp - 0xb0]
mov edi, dword [eax + 0x10]
call fcn.004114ce
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.004113b4
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
xor ebx, ebx
push ebx
push eax
call fcn.00412147
mov esi, eax
lea ecx, [ebp - 0x48]
sub esi, edi
call fcn.004114ce
push esi
push edi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411670
push ecx
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.00428e30
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004114ce
mov esi, dword [ebp - 0x318]
push ecx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041133e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0041181c
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.004114ce
push ecx
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x48]
call fcn.00428da0
pop ecx
lea ecx, [ebp - 0x48]
test al, al
jne 0x42e437
mov byte [ebp - 4], 4
call fcn.004114ce
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e3d2
jmp 0x42e43e
mov bl, 1
call fcn.004114ce
lea ecx, [ebp - 0x328]
call fcn.00428b83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.004114ce
mov al, bl
call fcn.0046e7b0
ret
Function at 0x42eada
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x48f1f7
call fcn.0046e801
mov dword [ebp - 0x70], edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
xor ebx, ebx
mov dword [ebp - 4], eax
inc ebx
lea ecx, [ebp - 0x60]
mov edx, 0x2733
mov dword [ebp - 0x74], ebx
mov esi, eax
call fcn.00411075
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00404e6d
push 3
pop ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004114ce
mov eax, dword [ebp + 8]
test eax, eax
je 0x42ec7b
mov ecx, dword [ebp - 0x70]
dec eax
mov dword [ebp + 8], eax
mov al, byte [ecx]
mov byte [ebp + esi - 0x64], al
inc esi
mov dl, byte [ebp - 0x63]
inc ecx
mov dword [ebp - 0x70], ecx
mov ch, byte [ebp - 0x62]
mov cl, byte [ebp - 0x64]
mov byte [ebp - 0x6b], ch
mov byte [ebp - 0x69], dl
mov byte [ebp - 0x6a], cl
cmp esi, ebx
jne 0x42ebc6
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x67], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x66], cl
mov byte [ebp - 0x65], al
xor esi, esi
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + esi - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.0041c35e
inc esi
cmp esi, 4
jl 0x42eb97
mov dl, byte [ebp - 0x69]
xor esi, esi
mov cl, byte [ebp - 0x6a]
mov ch, byte [ebp - 0x6b]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42eb3c
mov dword [ebp - 0x70], esi
test esi, esi
je 0x42ec7b
mov eax, esi
cmp esi, ebx
jge 0x42ebfd
cmp eax, ebx
jae 0x42ec8f
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x42ebe4
mov ch, byte [ebp - 0x62]
mov dl, byte [ebp - 0x63]
mov cl, byte [ebp - 0x64]
and dword [ebp - 0x64], 0
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x68], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x67], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x65], ch
lea eax, [esi + 1]
mov byte [ebp - 0x66], dl
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x42ec67
mov ebx, dword [ebp - 0x64]
mov esi, eax
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + ebx - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.0041c35e
inc ebx
cmp ebx, esi
jl 0x42ec3e
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x42ec7b
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.0041c35e
dec ebx
jne 0x42ec6d
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403790
mov eax, edi
call fcn.0046e7b0
ret
call fcn.0046bcdd
int3
Function at 0x430575
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x48f3ef
call fcn.0046e801
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x430594
mov ecx, esi
call fcn.0040fe36
add esi, 0x48
cmp esi, ebx
jne 0x43058a
mov eax, dword [edi]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 7
mov ebx, eax
xor esi, esi
pop edx
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x430707
and dword [ebp - 0x48], 0
xor eax, eax
and dword [ebp - 0x30], eax
and dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x41]
push eax
push 1
call fcn.00430829
push 0x4a5048
call fcn.00403def
pop ecx
push eax
push 0x4a5048
lea ecx, [ebp - 0x58]
call fcn.0040532a
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4306f8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4306bb
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0046ff10
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.004301c8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404f11
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405141
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x80]
push edx
push eax
call fcn.0046ff10
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.004301c8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404f11
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00405141
jmp 0x4306ed
push 0x4a5078
call fcn.00403def
pop ecx
push eax
push 0x4a5078
lea ecx, [ebp - 0x28]
call fcn.004053cd
push 0x4a5078
call fcn.00403def
pop ecx
push eax
push 0x4a5078
lea ecx, [ebp - 0x40]
call fcn.004053cd
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004307a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040fe36
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x4305aa
call fcn.0046e7b0
ret