joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cf5c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jge 0x47cf7e
push str.in_Json::Value::operator___int_index_:_index_cannot_be_negative
push 0x29a
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop ebp
jmp fcn.0047cf84

Function at 0x47d522
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
sub eax, 0
je 0x47d5b4
sub eax, 1
je 0x47d5ad
sub eax, 1
je 0x47d59d
sub eax, 1
je 0x47d54e
dec eax
sub eax, 1
jne 0x47d5b4
cmp byte [esi], al
setne al
jmp 0x47d5b6
mov edx, SysReAllocString
xor ecx, ecx
call fcn.004d6d70
movsd xmm1, qword [esi]
comisd xmm1, xmm0
jb 0x47d584
mov edx, SysReAllocString
or ecx, 0xffffffff
call fcn.004d6d70
movsd xmm1, qword [esi]
comisd xmm0, xmm1
jb 0x47d584
movaps xmm0, xmm1
pop esi
jmp fcn.004d6c1f
push str.double_out_of_Int64_range
push 0x29a
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.0047daef
test al, al
jne 0x47d5ad
push str.LargestUInt_out_of_Int64_range
jmp 0x47d589
mov eax, dword [esi]
mov edx, dword [esi + 4]
pop esi
ret
xor eax, eax
xor edx, edx
pop esi
ret

Function at 0x47d64a
Capabilities:
Terminate process

Disassembly:
jmp 0x47d6de
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
sub eax, 0
je 0x47d75e
sub eax, 1
je 0x47d747
sub eax, 1
je 0x47d757
sub eax, 1
je 0x47d706
dec eax
sub eax, 1
jne 0x47d75e
cmp byte [esi], al
setne al
jmp 0x47d760
movsd xmm0, qword [esi]
comisd xmm0, xmmword [0x4fd800]
jb 0x47d72e
or ecx, 0xffffffff
mov edx, ecx
call fcn.004d6d30
comisd xmm0, xmmword [esi]
jb 0x47d72e
movsd xmm0, qword [esi]
pop esi
jmp fcn.004d6c10
push str.double_out_of_UInt64_range
push 0x29a
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.0047dc0e
test al, al
jne 0x47d757
push str.LargestInt_out_of_UInt64_range
jmp 0x47d733
mov eax, dword [esi]
mov edx, dword [esi + 4]
pop esi
ret
xor eax, eax
xor edx, edx
pop esi
ret

Function at 0x47d85c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 0xffffffff
jne 0x47d874
push dword [ebp + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
mov esi, eax
mov eax, SysReAllocString
cmp esi, 0x7fffffff
cmovae esi, eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
jne 0x47d8ac
push str.in_Json::Value::duplicateStringValue__:_Failed_to_allocate_string_value_buffer
push 0x29a
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
push dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x47f3a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x1c]
test edx, edx
jle 0x47f487
cmp dword [ebp + 0xc], 0
push edi
push 0x10
pop edi
jne 0x47f432
sub eax, esi
mov dword [ebp - 0x18], eax
lea eax, [edx - 1]
shr eax, 4
inc eax
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x14]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
push ebx
push 0
push dword [ebp - 0x24]
call fcn.0047f545
mov ecx, dword [ebp - 0x18]
add esp, 0x1c
mov edx, edi
mov al, byte [ecx + esi]
xor byte [esi], al
inc esi
sub edx, 1
jne 0x47f40a
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
sub dword [ebp - 0x18], edi
add esp, 0xc
add ebx, edi
sub dword [ebp - 0x1c], 1
jne 0x47f3eb
jmp 0x47f486
mov ecx, esi
sub ebx, eax
sub ecx, eax
dec edx
shr edx, 4
inc edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x28], edi
mov al, byte [ebx + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
sub edi, 1
jne 0x47f44b
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x24]
call fcn.0047f545
push 0x10
pop edi
push edi
push esi
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add dword [ebp - 0x18], edi
add esp, 0x1c
mov eax, dword [ebp - 0x20]
add ebx, edi
add esi, edi
sub dword [ebp - 0x1c], 1
jne 0x47f443
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d62a0
leave
ret
Function at 0x47fec1
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
xor esi, esi
inc ebx
push edi
mov dword [ebp - 0x808], ebx
mov edx, ebx
mov edi, 0x100
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
inc esi
movzx edx, cl
cmp esi, edi
jl 0x47fee9
mov esi, ebx
mov edx, 0x56cbf0
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x56cc18
jl 0x47ff1b
mov byte [0x56a9f0], 0x63
mov byte [0x56bb53], 0
mov ecx, dword [ebp + ebx*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 0x808]
mov byte [eax + 0x56a9f0], bl
mov byte [ebx + 0x56baf0], al
mov ebx, eax
inc ebx
mov dword [ebp - 0x808], ebx
cmp ebx, edi
jl 0x47ff4c
xor esi, esi
mov edi, 0xff
movzx edx, byte [esi + 0x56a9f0]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x56aaf0], ecx
rol ecx, 8
mov dword [esi*4 + 0x56aef0], ecx
rol ecx, 8
mov dword [esi*4 + 0x56b2f0], ecx
rol ecx, 8
mov dword [esi*4 + 0x56b6f0], ecx
movzx ecx, byte [esi + 0x56baf0]
test ecx, ecx
je 0x480042
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3cc]
cdq
idiv edi
mov eax, dword [ebp + edx*4 - 0x804]
mov dword [ebp - 0x808], eax
jmp 0x480049
and dword [ebp - 0x808], 0
test ecx, ecx
je 0x480066
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3e0]
cdq
idiv edi
mov ebx, dword [ebp + edx*4 - 0x804]
jmp 0x480068
xor ebx, ebx
test ecx, ecx
je 0x480085
mov eax, dword [ebp + ecx*4 - 0x404]
add eax, dword [ebp - 0x3d0]
cdq
idiv edi
mov edi, dword [ebp + edx*4 - 0x804]
jmp 0x480087
xor edi, edi
test ecx, ecx
je 0x4800a9
mov eax, dword [ebp + ecx*4 - 0x404]
mov ecx, 0xff
add eax, dword [ebp - 0x3d8]
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x4800ab
xor eax, eax
shl eax, 8
xor eax, edi
mov edi, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, dword [ebp - 0x808]
mov dword [esi*4 + 0x56bbf0], eax
rol eax, 8
mov dword [esi*4 + 0x56bff0], eax
rol eax, 8
mov dword [esi*4 + 0x56c3f0], eax
rol eax, 8
mov dword [esi*4 + 0x56c7f0], eax
inc esi
cmp esi, 0x100
jl 0x47ffc3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d62a0
leave
ret
Function at 0x480104
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub eax, 0x80
je 0x48014c
sub eax, 0x40
je 0x480144
sub eax, 0x40
je 0x48013c
mov eax, 0xfffff800
jmp 0x480242
mov dword [edi], 0xe
jmp 0x480152
mov dword [edi], 0xc
jmp 0x480152
mov dword [edi], 0xa
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push ecx
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0048024f
add esp, 0xc
test eax, eax
jne 0x480241
mov edx, dword [ebp - 0x11c]
shl edx, 4
add edx, dword [ebp - 0x118]
push 4
pop ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
mov eax, dword [edx]
sub edx, 0x1c
mov dword [esi], eax
add esi, ecx
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x48020f
push ebx
mov ebx, ecx
movzx eax, byte [edx + 3]
push 4
movzx ecx, byte [eax + 0x56a9f0]
movzx eax, byte [edx + 2]
mov ecx, dword [ecx*4 + 0x56c7f0]
movzx eax, byte [eax + 0x56a9f0]
xor ecx, dword [eax*4 + 0x56c3f0]
movzx eax, byte [edx + 1]
movzx eax, byte [eax + 0x56a9f0]
xor ecx, dword [eax*4 + 0x56bff0]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x56a9f0]
xor ecx, dword [eax*4 + 0x56bbf0]
mov dword [esi], ecx
pop ecx
add esi, ecx
add edx, ecx
sub ebx, 1
jne 0x4801b1
dec edi
sub edx, 0x20
test edi, edi
jg 0x4801af
pop ebx
mov eax, dword [edx]
add edx, ecx
mov dword [esi], eax
add esi, ecx
push 0x118
push 0
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + ecx]
mov dword [esi + ecx], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + ecx + 4], eax
lea eax, [ebp - 0x11c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004d62a0
leave
ret
Function at 0x480d3f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push edi
test edx, edx
je 0x480d7b
mov edi, dword [ebp + 8]
xor eax, eax
mov byte [edx], al
test edi, edi
je 0x480d7b
push esi
mov esi, eax
cmp dword [ebp + 0xc], eax
jle 0x480d72
movzx ecx, byte [esi + edi]
movzx eax, al
xor ecx, eax
inc esi
mov al, byte [ecx + 0x4fd8c0]
cmp esi, dword [ebp + 0xc]
jl 0x480d5d
xor al, 0x55
mov byte [edx], al
mov al, 1
pop esi
jmp 0x480d7d
xor al, al
pop edi
pop ebp
ret

Function at 0x480d80
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x4ea338
call fcn.004d631c
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov edi, 0x80
push ebx
xor eax, eax
mov dword [ebp - 0x3c], esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040ea6a
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x30], edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x480e3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x480e3a
cmp dword [ebp - 0x30], edi
ja 0x480e3f
cmp dword [ebp - 0x2c], 0x80
jbe 0x480e13
push ebx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.0041aae7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
setne bl
lea ecx, [ebp - 0x28]
call fcn.00401f5a
mov al, bl
call fcn.004d62c6
ret

Function at 0x481063
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
lea edi, [ebp - 0x24]
mov dword [ebp - 0x84], 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4810dd
push 0x44
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00480d80
add esp, 0xc
test al, al
je 0x4810dd
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00480cda
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00402b70
lea ecx, [ebp - 0x80]
call fcn.00401f5a
and dword [esi], 0
push esi
call fcn.004810ff
pop ecx
test al, al
jne 0x4810ee
and dword [esi], 0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d62a0
leave
ret
Function at 0x4812f6
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48131d
push esi
or esi, 0xffffffff
cmp edi, 0xffffffff
cmovb esi, edi
push esi
push ebx
call sub.ADVAPI32.dll_SystemFunction036
add ebx, esi
sub edi, esi
jne 0x481306
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x481321
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x30
mov eax, 0x4ea3e5
call fcn.004d631c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0xf0000000
push 1
push ebx
push ebx
push eax
mov dword [ebp - 0x34], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x48136a
mov dword [esi + 0x10], ebx
mov ecx, esi
push ebx
mov dword [esi + 0x14], 0xf
push 0x14
mov byte [esi], bl
call fcn.00404eea
jmp 0x48143c
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 0x8004
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x48134f
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x48138d
mov edi, dword [edi]
push ebx
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x48134f
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x3c]
push 4
pop ecx
push ebx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
call edi
test eax, eax
je 0x48134f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
inc eax
mov dword [ebp - 4], ebx
push eax
call fcn.00406123
push ebx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.004061a7
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
push ebx
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 2
push dword [ebp - 0x30]
call edi
mov dword [esi + 0x10], ebx
mov ecx, esi
test eax, eax
jne 0x48141c
push ebx
mov dword [esi + 0x14], 0xf
push 0x14
mov byte [esi], bl
call fcn.00404eea
jmp 0x481434
cmp dword [ebp - 0x2c], 0x14
jne 0x481409
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
mov dword [esi + 0x14], ebx
push eax
call fcn.00401e5d
lea ecx, [ebp - 0x28]
call fcn.00401f34
mov eax, esi
call fcn.004d62c6
ret
Function at 0x4817be
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x566f9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
push edi
cmp esi, 0x40
jle 0x481806
push dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
push ecx
push esi
push eax
call fcn.004814e6
add esp, 0x10
cmp dword [ebp + 0x14], 0
push 0x20
pop esi
push 0x1c
pop eax
cmovne esi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 0x40
lea eax, [ebx + 0x68]
push 0x36
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea edi, [ebx + 0xa8]
push 0x5c
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
test esi, esi
jle 0x48183d
mov ecx, dword [ebp - 0x28]
mov al, byte [ecx]
xor byte [edi - 0x40], al
mov al, byte [ecx]
xor byte [edi], al
inc ecx
inc edi
sub esi, 1
jne 0x48182d
push dword [ebp + 0x14]
push ebx
call fcn.00483d79
push 0x40
lea eax, [ebx + 0x68]
push eax
push ebx
call fcn.00483e3f
push 0x20
lea eax, [ebp - 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004d62a0
leave
ret
Function at 0x483d79
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, 0x367cd507
mov ecx, dword [ebp + 0xc]
push ebx
push esi
and dword [eax], 0
mov ebx, 0xa54ff53a
and dword [eax + 4], 0
mov esi, 0x9b05688c
test ecx, ecx
mov dword [ebp - 4], 0xc1059ed8
mov eax, 0xbb67ae85
mov ecx, 0x5be0cd19
cmovne eax, edx
mov edx, 0x3070dd17
mov dword [ebp - 8], eax
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x510e527f
mov dword [ebp - 0xc], eax
mov eax, 0xf70e5939
cmovne ebx, eax
mov eax, 0x64f98fa7
push edi
mov edi, 0x1f83d9ab
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0x68581511
cmovne esi, eax
mov eax, 0xffc00b31
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xbefa4fa4
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
pop edi
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp + 0xc]
pop esi
mov dword [eax + 0xe8], ecx
pop ebx
leave
ret
Function at 0x4ba380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x14
and dword [edi], 0
call fcn.004b1906
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4ba3a1
push 7
pop eax
jmp 0x4ba418
cmp dword [0x56645c], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x4ba3ef
mov eax, dword [0x566560]
test eax, eax
je 0x4ba3c1
push 0xc8
call eax
pop ecx
jmp 0x4ba3c3
xor eax, eax
test eax, eax
jne 0x4ba3ef
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4ba473
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4ba3fc
push 0x14
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 8], 0
jne 0x4ba413
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
pop ecx
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4d317a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 8]
test edi, edi
jle 0x4d31aa
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov al, byte [ebx + eax]
xor byte [ecx + edx], al
lea eax, [edx + 1]
xor edx, edx
cmp eax, dword [esi + 4]
cmovl edx, eax
inc ebx
cmp ebx, edi
jl 0x4d318f
add dword [esi + 0xc], edi
pop edi
mov dword [esi + 8], edx
pop esi
pop ebx
pop ebp
ret
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.10014060
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