joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025680
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d507b
mov eax, dword fs:[0]
push eax
mov eax, 0x28c0
call fcn.10092490
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28cc], ecx
mov dword [ebp - 0x28c8], 0
mov dword [ebp - 0x28b4], 0
mov dword [ebp - 0x28bc], 0x2880
lea eax, [ebp - 0x28bc]
push eax
lea ecx, [ebp - 0x2894]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x28c4], eax
cmp dword [ebp - 0x28c4], 0
je 0x1002571a
push 0x10104777
mov ecx, dword [ebp + 8]
call fcn.10001740
mov edx, dword [ebp - 0x28c8]
or edx, 1
mov dword [ebp - 0x28c8], edx
mov eax, dword [ebp + 8]
jmp 0x1002586b
mov dword [ebp - 0x28c0], 0
lea eax, [ebp - 0x2894]
mov dword [ebp - 0x28b8], eax
cmp dword [ebp - 0x28b4], 0
jne 0x1002578b
mov ecx, dword [ebp - 0x28b8]
movzx edx, byte [ecx + 0x199]
mov eax, dword [ebp - 0x28b8]
movzx ecx, byte [eax + 0x198]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x28b8]
movzx ecx, byte [eax + 0x197]
shl ecx, 8
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x28b8]
movzx ecx, byte [eax + 0x196]
shl ecx, 8
shl ecx, 8
shl ecx, 8
add edx, ecx
mov dword [ebp - 0x28b4], edx
push 0
mov edx, dword [ebp - 0x28b8]
add edx, 0x10c
push edx
mov ecx, dword [ebp - 0x28cc]
call fcn.100250f0
mov dword [ebp - 0x28c0], eax
cmp dword [ebp - 0x28c0], 0
je 0x100257df
mov eax, dword [ebp - 0x28b8]
cmp dword [eax + 0x1a0], 6
jne 0x100257df
mov ecx, dword [ebp - 0x28b8]
add ecx, 0x194
push ecx
mov ecx, dword [ebp - 0x28cc]
call fcn.10025010
jmp 0x1002581f
mov edx, dword [ebp - 0x28cc]
movsx eax, byte [edx]
test eax, eax
jne 0x10025804
mov ecx, dword [ebp - 0x28b8]
add ecx, 0x194
push ecx
mov ecx, dword [ebp - 0x28cc]
call fcn.10025010
mov edx, dword [ebp - 0x28b8]
mov eax, dword [edx]
mov dword [ebp - 0x28b8], eax
cmp dword [ebp - 0x28b8], 0
jne 0x10025730
mov ecx, dword [ebp - 0x28cc]
push ecx
lea ecx, [ebp - 0x28b0]
call fcn.10001740
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28b0]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002160
mov eax, dword [ebp - 0x28c8]
or eax, 1
mov dword [ebp - 0x28c8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28b0]
call fcn.100018b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret 4
Function at 0x100268f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.10026810
add esp, 0xc
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x418]
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x10], 0
jmp 0x1002694a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x100269ce
mov edx, dword [ebp - 0xc]
add edx, 1
movzx eax, dl
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x424]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
movzx edx, cl
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx ecx, al
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov edx, dword [ebp - 0x424]
xor eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], al
jmp 0x10026941
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret
Function at 0x100279e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [0x1011e7b0], 0
mov ecx, dword [ebp + 8]
call fcn.10017390
push 0x114
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10092830
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 2
jne 0x10027a97
call fcn.100aefe0
cmp eax, 0xb
jge 0x10027a7a
push 0x1010497c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
push edx
call fcn.10026d60
add esp, 4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x10027a95
mov eax, dword [ebp + 8]
push eax
call fcn.10027400
add esp, 4
mov dword [ebp - 0x12c], eax
jmp 0x10027aa1
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret

Function at 0x10027ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10027f32
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.InstallDate
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x3e8
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100a13a0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], edx
mov esp, ebp
pop ebp
ret
Function at 0x10028650
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5042
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x74], 0x40
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 0x40000000
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.10094d40
add eax, 1
adc edx, 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x128], 0
cmp dword [ebp - 0x10], 0
ja 0x10028711
jb 0x100286de
cmp dword [ebp - 0x14], 2
ja 0x10028711
push 0
push 2
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.100a13a0
push 0
push 0x40000000
push edx
push eax
call fcn.100a13a0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
jmp 0x10028783
cmp dword [ebp - 0x10], 0
ja 0x10028752
jb 0x1002871f
cmp dword [ebp - 0x14], 4
ja 0x10028752
push 0
push 4
mov edx, dword [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.100a13a0
push 0
push 0x40000000
push edx
push eax
call fcn.100a13a0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
jmp 0x10028783
push 0
push 8
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call fcn.100a13a0
push 0
push 0x40000000
push edx
push eax
call fcn.100a13a0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push 1
push 3
lea ecx, [ebp - 0x11c]
call fcn.10018df0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.10028d40
lea ecx, [ebp - 0x34]
call fcn.10002230
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.1002a800
add esp, 8
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10002160
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.100018b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.100117e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret 4
Function at 0x10028920
Capabilities:
Get common file path
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x230], ecx
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx ecx, byte [ebp - 0x110]
push ecx
push str.._c:
lea edx, [ebp - 0x220]
push edx
call fcn.1008feb5
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.10092830
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100289be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call fcn.10090672
add eax, 0x40
push eax
call fcn.1009201b
add esp, 0xc
or eax, 0xffffffff
jmp 0x10028a2e
push 0
lea edx, [ebp - 0x114]
push edx
push 0xc
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0x2d1080
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10028a1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_GET_DEVICE_NUMBER_Error:__ld_n
call fcn.10090672
add eax, 0x40
push eax
call fcn.1009201b
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x10028a2e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret
Function at 0x10036e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.10092490
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
jmp 0x10036e6f
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x10036e96
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor edx, ecx
movzx eax, byte [ebp - 1]
or eax, edx
mov byte [ebp - 1], al
jmp 0x10036e66
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x100440c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.10092490
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100441c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1004416b
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1002c910
add esp, 0x14
push 0x100e4208
mov edx, dword [ebp + 0xc]
push edx
push 0x100e4204
mov eax, dword [ebp + 8]
push eax
push str.fopen_
push 5
call fcn.1002d400
add esp, 0x18
call fcn.1009523d
cmp dword [eax], 2
jne 0x1004414f
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.1002c910
add esp, 0x14
jmp 0x10044167
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.1002c910
add esp, 0x14
xor eax, eax
jmp 0x100441b7
call fcn.10044340
push eax
call fcn.1002d740
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10044192
mov ecx, dword [ebp - 4]
push ecx
call fcn.10090f67
add esp, 4
xor eax, eax
jmp 0x100441b7
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.1002d970
add esp, 8
mov eax, dword [ebp - 4]
push eax
push 1
push 0x6a
mov ecx, dword [ebp - 8]
push ecx
call fcn.1002de60
add esp, 0x10
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10044510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10092490
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x10044584
cmp dword [ebp + 0xc], 0
je 0x10044584
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
and edx, 0
je 0x1004455c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1009097e
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x10044578
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1009097e
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10044584
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10047420
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.10092490
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x10047445
mov ecx, dword [ebp - 4]
sub ecx, 3
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x100475a5
cmp dword [ebp - 4], 3
jl 0x100474f0
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
shl eax, 0x10
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 1]
shl edx, 8
or eax, edx
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x100f3060]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0xc
and ecx, 0x3f
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x100f3060]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0xc]
shr edx, 6
and edx, 0x3f
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x100f3060]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x100f3060]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x1004758e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
shl edx, 0x10
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 2
jne 0x10047512
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 1]
shl ecx, 8
or ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x12
and edx, 0x3f
mov eax, dword [ebp + 8]
mov cl, byte [edx + 0x100f3060]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp + 8]
mov dl, byte [eax + 0x100f3060]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 1
jne 0x1004755b
mov dword [ebp - 0x10], 0x3d
jmp 0x1004756e
mov ecx, dword [ebp - 0xc]
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [ecx + 0x100f3060]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x10]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
mov byte [eax], 0x3d
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 3
mov dword [ebp + 0xc], eax
jmp 0x1004743c
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10056b50
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.10092490
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp + 0x14]
jne 0x10056b88
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
cmp eax, 0x6a
je 0x10056bab
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
cmp edx, 0x6b
je 0x10056bab
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1002c910
add esp, 0x14
or eax, 0xffffffff
jmp 0x10056cbd
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp ecx, 0x6b
jne 0x10056c69
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x10056bde
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jge 0x10056c35
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xd]
cmp eax, 0xba
jne 0x10056c04
jmp 0x10056c35
movzx ecx, byte [ebp - 0xd]
cmp ecx, 0xbb
je 0x10056c33
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1002c910
add esp, 0x14
or eax, 0xffffffff
jmp 0x10056cbd
jmp 0x10056bd5
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x10056c67
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1002c910
add esp, 0x14
or eax, 0xffffffff
jmp 0x10056cbd
jmp 0x10056c72
mov eax, dword [ebp + 0x14]
sub eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0xcc
je 0x10056ca6
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1002c910
add esp, 0x14
or eax, 0xffffffff
jmp 0x10056cbd
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100924c0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10063da0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10092830
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xc1059ed8
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0x367cd507
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3070dd17
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xf70e5939
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xffc00b31
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x68581511
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x64f98fa7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0xbefa4fa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x1c
mov eax, 1
pop ebp
ret
Function at 0x10063e20
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x70
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10092830
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x6a09e667
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xbb67ae85
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x3c6ef372
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xa54ff53a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x510e527f
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x9b05688c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x1f83d9ab
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0x20
mov eax, 1
pop ebp
ret

Function at 0x100643e0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x367cd507
mov dword [ecx + 0xc], 0x629a292a
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x3070dd17
mov dword [edx + 0x14], 0x9159015a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xffc00b31
mov dword [ecx + 0x24], 0x67332667
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x68581511
mov dword [edx + 0x2c], 0x8eb44a87
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0xbefa4fa4
mov dword [ecx + 0x3c], 0x47b5481d
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x30
mov eax, 1
pop ebp
ret

Function at 0x100644b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x84caa73b
mov dword [ecx + 0xc], 0xbb67ae85
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xfe94f82b
mov dword [edx + 0x14], 0x3c6ef372
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 0xade682d1
mov dword [ecx + 0x24], 0x510e527f
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0x2b3e6c1f
mov dword [edx + 0x2c], 0x9b05688c
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x137e2179
mov dword [ecx + 0x3c], 0x5be0cd19
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xd0], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x10072030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.10092490
mov dword [ebp - 4], 0
jmp 0x1007204f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x1007209d
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
shl eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp - 4], edx
jge 0x1007209b
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax + 1]
and ecx, 0x80
je 0x1007209b
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
or eax, 1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x10072046
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
and eax, 0x80
je 0x100720d2
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
neg ecx
sbb ecx, ecx
and ecx, 0xffffff94
add ecx, 0x87
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0x10]
movzx eax, byte [edx - 1]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x10]
mov byte [ecx - 1], al
mov esp, ebp
pop ebp
ret
Function at 0x1008efb4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10117d48]
jne 0x1008efbe
repz ret
jmp fcn.10096136

Function at 0x100904af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x100904d6
call fcn.10095250
mov dword [eax], esi
call fcn.1009523d
push 0x16
pop esi
mov dword [eax], esi
call fcn.100999a6
mov eax, esi
jmp 0x1009052b
test dword [ebp + 0xc], 0xfffffff9
jne 0x100904bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10090503
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10095263
pop ecx
call fcn.1009523d
mov eax, dword [eax]
jmp 0x1009052b
test al, 0x10
jne 0x10090529
test al, 1
je 0x10090529
test byte [ebp + 0xc], 2
je 0x10090529
call fcn.10095250
mov dword [eax], 5
call fcn.1009523d
mov dword [eax], 0xd
jmp 0x100904fa
xor eax, eax
pop esi
pop ebp
ret