joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10151490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101b4820]
xor eax, ebp
mov dword [ebp - 4], eax
cvtss2sd xmm0, dword [ebp + 0x10]
sub esp, 8
movsd qword [esp], xmm0
push 0x1019e014
lea eax, [ebp - 0x104]
push eax
call fcn.10063fea
add esp, 0x10
mov ecx, dword [ebp + 0x14]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
push eax
call fcn.100658ac
add esp, 4
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062ba0
mov esp, ebp
pop ebp
ret

Function at 0x10151520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x101515d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edx, byte [ebp + 8]
cmp edx, 0xff
je 0x101515fc
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + 8]
mov byte [eax], cl
lea edx, [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
add eax, 5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 1], edx
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x10153470
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov eax, 0x861110
call eax
mov edx, 0x861260
mov ecx, eax
call edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x101534ac
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xcc
jge 0x101535d8
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c3c0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x1c], eax
mov eax, 0x83cbe0
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jne 0x101534e4
jmp 0x101535d8
mov edx, dword [ebp - 0x1c]
push edx
mov eax, 0x835720
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x28], eax
push 0x40
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c4b0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov edx, 0x7da660
mov ecx, dword [ebp - 0x28]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101535d3
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov edx, dword [ebp + 8]
movsx eax, word [edx]
cmp ecx, eax
jne 0x101535d3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 2]
cmp ecx, dword [eax + 2]
je 0x10153550
jmp 0x101534a3
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x17]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x17]
cmp eax, edx
je 0x10153567
jmp 0x101534a3
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x18]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x18]
cmp ecx, eax
je 0x1015357e
jmp 0x101534a3
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x101535a7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x16]
cmp eax, edx
jl 0x101535a5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x16]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x101535ca
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x16]
cmp eax, 0xffffffff
je 0x101535ca
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x16]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x16]
cmp edx, ecx
je 0x101535ca
jmp 0x101534a3
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x101534a3
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x101535e5
mov eax, dword [ebp - 0x14]
jmp 0x101535e8
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x10159cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x40]
cmp eax, 0x3e8
jae 0x10159cd1
jmp 0x10159d9b
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 0x14], 0
je 0x10159d07
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x40], 0
jle 0x10159d07
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x14]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
add ecx, 4
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10009e10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10009e40
jmp 0x10159d35
lea ecx, [ebp - 0xc]
call fcn.1001e5e0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
call fcn.10002600
movzx edx, al
test edx, edx
je 0x10159d8f
lea ecx, [ebp - 0xc]
call fcn.1000a3d0
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 0x14], 0
je 0x10159d75
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10159d75
jmp 0x10159d2d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x40], 0
jle 0x10159d8d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
jmp 0x10159d2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov esp, ebp
pop ebp
ret
Function at 0x1015cc10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101b4820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x50], 0
je 0x1015cc3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
sub eax, dword [ecx + 0x50]
cmp eax, 0x1388
jae 0x1015cc44
jmp 0x1015cd03
push 0x55
push 0x50
push 0xf2
lea ecx, [ebp - 0x5c]
call fcn.1000fbb0
push 0xa
mov edx, dword [ebp - 0x60]
add edx, 4
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10151070
add esp, 0xc
push 0xa
mov ecx, dword [ebp - 0x60]
add ecx, 0xf
push ecx
lea edx, [ebp - 0x4e]
push edx
call fcn.10151070
add esp, 0xc
mov eax, dword [0x101bca74]
mov ecx, dword [eax]
mov dword [ebp - 0x3a], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x36], edx
mov ax, word [eax + 8]
mov word [ebp - 0x32], ax
push 0x23
push 0x101bca00
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10151070
add esp, 0xc
mov ecx, 0x101dfba6
call fcn.100c23e0
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp - 0x5b]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.10149bf0
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101a1478]
movss dword [0x101bcff4], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062ba0
mov esp, ebp
pop ebp
ret

Function at 0x1015cd20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x24]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x80]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x58]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jae 0x1015cd52
jmp 0x1015cdfd
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
push ecx
call fcn.1015d600
add esp, 8
test eax, eax
je 0x1015cda1
mov dword [0x8793704], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
movss xmm0, dword [0x101a1478]
movss dword [0x101bcff4], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
jmp 0x1015cdfd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x80], 0xa
jne 0x1015cdcb
mov eax, dword [ebp - 4]
mov byte [eax + 0x55], 1
jmp 0x1015cdfd
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101a1478]
movss dword [0x101bcff4], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov esp, ebp
pop ebp
ret
Function at 0x1015df10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x55]
test ecx, ecx
jne 0x1015df24
jmp 0x1015df85
push 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x98]
call fcn.10099510
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
call fcn.100995b0
movzx ecx, al
test ecx, ecx
je 0x1015df5d
push 0x19
mov ecx, 0x101e1de4
call fcn.10100fe0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xd
mov edx, 0x791050
call edx
add esp, 4
test eax, eax
jne 0x1015df7d
push 0x1b
mov eax, 0x791050
call eax
add esp, 4
test eax, eax
je 0x1015df85
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1015fe40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0xe61f84]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_send]
pop ebp
ret
Function at 0x1016dd20
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 4
jb 0x1016ddf3
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101a1078]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx edx, byte [eax + edx]
xor edx, dword [ebp - 4]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101a1078]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101a1078]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 3
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101a1078]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp + 0x10], edx
jmp 0x1016dd35
cmp dword [ebp + 0x10], 0
je 0x1016de35
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101a1078]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jmp 0x1016ddf3
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul esi
not esi
mov esi, 0xd9
dec eax
rcl edi, 0x26
add edx, 0x6a
sbb edi, 0x5d
or ebx, 0xca
rcl ebx, 0xaa
mov eax, 0x1d
inc esi
bswap ebx
dec edx
or edi, 0x8e
dec esi
inc edi
dec esi
imul edx
rcl ebx, 0x73
not edx
sub eax, 0xc6
mov ebx, 0x6d
bswap edi
sub esi, 0x8c
not edi
sub esi, 0x56
dec edx
mov edx, 0x94
rcr edi, 0x7e
inc eax
not eax
sbb edx, 0x41
imul edx
not eax
neg ebx
add ebx, 0x90
bswap edx
neg eax
bswap edi
mov eax, 0x9e
inc edx
and ebx, 0x9a
not ebx
mov eax, 0xf2
not esi
and esi, 0xb1
inc esi
not edx
inc esi
imul edi
xor ecx, ecx
xor edi, edi
inc edx
imul edi
dec esi
rcl eax, 0x8c
dec ebx
mov esi, 0xdd
neg ebx
ror edx, 0x75
not eax
or eax, 0x62
ror eax, 0xb2
ror edx, 0x36
ror edi, 0x72
mov esi, 0x2a
sub ebx, 0xd3
add ebx, 0xc0
inc edi
bswap edx
imul ebx
and edx, 0xd7
bswap eax
add edi, 0xc8
inc edx
rcl edx, 0x9b
sub ebx, 0x54
add eax, 0x1c
dec ebx
inc edx
inc ebx
inc eax
neg esi
not ebx
rcr edi, 0x98
or ebx, 0xa2
ror ebx, 3
bswap esi
sbb ebx, 0x2d
and eax, 0xe3
sbb edx, 0x20
mov eax, 0xd3
bswap eax
sub ebx, 0x1c
mov eax, 0xf4
bswap ebx
dec eax
ror esi, 0x63
imul ebx
sbb edx, 0x43
dec esi
imul edi
mov ecx, dword [ebp + 0xc]
rcr eax, 0xd9
ror ebx, 0x68
add edi, 0xbf
bswap eax
imul ebx
rol eax, 0x8c
dec eax
rcr edi, 0x59
rol eax, 0x4e
not eax
imul ebx
and esi, 0xa0
imul eax
neg edi
mov ebx, 0x1b
sub edi, 0xd
dec edx
rol ebx, 0x30
not esi
neg eax
neg ebx
add esi, 0xe4
ror edi, 0x48
inc esi
rol eax, 0x2d
add ebx, 0x92
add esi, 0x89
not esi
mov edi, 0x4a
add esi, 0x7d
and eax, 0x84
sbb esi, 0xc3
imul edi
rol edx, 0xcc
inc edx
not edx
mov esi, 0xf
not edx
rcr esi, 0x21
bswap eax
or edi, 0xa5
or edx, 0xf
or esi, 0x29
inc edi
sbb eax, 0x70
rcr esi, 0x29
neg ebx
add ebx, 0xa3
rcr eax, 0xec
rcr ebx, 0xa9
mov edi, dword [ebp + 8]
mov ebx, ebx
xor esi, esi
xor eax, eax
not byte [edi]
mov ebx, ebx
mov eax, eax
mov eax, esi
mov eax, eax
xor ebx, esi
mov esi, eax
xor esi, eax
mov ebx, eax
mov eax, eax
add byte [edi], 0x26
mov ebx, ebx
mov eax, eax
xor ebx, eax
mov eax, ebx
mov eax, eax
mov ebx, esi
xor ebx, esi
mov esi, esi
mov esi, ebx
sub byte [edi], 0x87
mov eax, esi
xor ebx, esi
xor eax, eax
xor ebx, eax
mov esi, ebx
mov eax, esi
mov eax, ebx
mov eax, eax
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4013dd
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406224
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446e5c]
jne 0x40622e
repz ret
jmp fcn.00407f25
Function at 0x10002021
Capabilities:
Query environment variable

Disassembly:
cmp dword [esp + 0xc], 0
push ebx
push ebp
je 0x1000209d
xor ebp, ebp
push ebp
push dword [esp + 0x18]
push dword [esp + 0x14]
call sym.java.dll__JNU_GetStringPlatformChars_12
mov ebx, eax
test ebx, ebx
je 0x1000209d
push edi
push ebp
push ebp
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebp, eax
test ebp, ebp
je 0x10002088
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10002088
push ebp
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
push edi
test eax, eax
je 0x10002081
push dword [esp + 0x14]
call sym.java.dll__JNU_NewStringPlatform_8
push edi
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000208a
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor ebp, ebp
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x18]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, ebp
pop edi
jmp 0x1000209f
xor eax, eax
pop ebp
pop ebx
ret 0xc

Function at 0x10002819
Capabilities:
Identify system language via api

Disassembly:
cmp dword [esp + 0xc], 0
je 0x10002828
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x1000282e
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
push esi
movzx eax, ax
push edi
push eax
call fcn.10015450
mov esi, eax
pop ecx
test esi, esi
je 0x1000285a
mov ecx, dword [esp + 0xc]
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000286a
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x10003d57
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call sym.java.dll__JNU_ClassString_4
mov ebp, eax
test ebp, ebp
je 0x10003da0
mov ecx, dword [esi]
push str.__B_V
push str._init_
push ebp
push esi
call dword [ecx + 0x84]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10003da0
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
test edi, edi
jne 0x10003da9
push str.GetEnvironmentStrings_failed
push esi
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
xor ebx, ebx
cmp byte [edi], bl
je 0x10003dbc
mov al, byte [ebx + edi]
inc ebx
test al, al
jne 0x10003daf
cmp byte [ebx + edi], al
jne 0x10003daf
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x2c0]
mov ecx, eax
mov dword [esp + 0x10], ecx
push edi
test ecx, ecx
jne 0x10003dd9
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x10003da0
mov eax, dword [esi]
push ebx
push 0
push ecx
push esi
call dword [eax + 0x340]
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
push dword [esp + 0x10]
mov eax, dword [esi]
push dword [esp + 0x18]
push ebp
push esi
call dword [eax + 0x70]
add esp, 0x10
jmp 0x10003da2
Function at 0x10007bba
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
lea eax, [esp + 0xc]
push edi
push 0
xor ebp, ebp
mov edi, str.J2SE
inc ebp
xor bl, bl
push ebp
push 0
push edi
push eax
call esi
test eax, eax
jne 0x10007bf4
push 8
push ebp
push eax
push edi
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x10007bf4
xor al, al
jmp 0x10007c51
mov esi, dword [esp + 0x18]
push dword [esp + 0x20]
push esi
mov eax, dword [esi]
call dword [eax + 0x2ac]
mov ecx, dword [esi]
mov ebp, eax
push 0
push dword [esp + 0x24]
push esi
call dword [ecx + 0x2e0]
mov edi, eax
test edi, edi
je 0x10007c43
push edi
push ebp
push dword [esp + 0x18]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
mov ecx, dword [esi]
test eax, eax
push 1
pop eax
push 0
push edi
push dword [esp + 0x28]
movzx ebx, bl
push esi
cmovne ebx, eax
call dword [ecx + 0x300]
push 0
push dword [esp + 0x14]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

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

Disassembly:
push ebx
push esi
push dword [0x1001ff58]
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a1e8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10007f66
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.10015450
push esi
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007f66
mov ecx, dword [esp + 0x18]
sub ecx, 1
je 0x10007f75
sub ecx, 1
je 0x10007f6d
dec ecx
sub ecx, 1
je 0x10007f75
xor al, al
pop esi
pop ebx
ret 0x10
and bl, 0x11
cmp bl, 1
je 0x10007f66
mov al, 1
jmp 0x10007f68

Function at 0x10007f79
Capabilities:
Create directory

Disassembly:
push edi
push dword [0x1001ff58]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a1e8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10007fb3
push esi
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
pop esi
je 0x10007fb3
mov al, 1
jmp 0x10007fb5
xor al, al
pop edi
ret 0xc
Function at 0x10007fba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a6ac
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000803c
push esi
call fcn.10015450
pop ecx
test eax, eax
jne 0x10008034
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008043
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x10008034
cmp edi, 0xb7
je 0x10008034
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10008034
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor al, al
pop edi
pop esi
ret 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
jmp 0x1000803e

Function at 0x1000836f
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x1001ff00]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x7b0]
push ebx
push esi
push edi
push dword [0x1001ff58]
movlpd qword [ebp - 0x80], xmm0
push eax
push ecx
call fcn.1000a1e8
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x60]
push 0x400
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x1000840e
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000840e
mov eax, dword [ebp + 0x7bc]
sub eax, 0
je 0x10008406
sub eax, 1
je 0x100083fe
sub eax, 1
jne 0x1000840e
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
jmp 0x10008414
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
jmp 0x10008414
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
jmp 0x10008414
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ecx, dword [ebp + 0x7a4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10014785
add ebp, 0x7a8
leave
ret 0x10
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x411028
Capabilities:
Terminate process

Disassembly:
jmp 0x4122b0
jmp fcn.00413230
cmp ecx, dword [section..data]
jne 0x4122ba
repz ret
jmp 0x4110b4