joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36623e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0xb8
mov eax, dword [0x3663a11c]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x7c]
and dword [ebp + 0x7c], 0
test eax, eax
push esi
push edi
mov dword [ebp + 0x78], eax
je 0x36623f66
push 0x14
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
call fcn.36631820
xor eax, eax
mov ecx, dword [ebp + eax - 0x48]
xor dword [ebp + eax - 0x5c], ecx
add eax, 4
cmp eax, 0x14
jb 0x36623ed0
lea eax, [ebp - 0x30]
push eax
call fcn.3662ae60
mov esi, dword [ebp + 0x70]
push 5
pop ecx
push 0x14
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x18]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.3662aea0
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.3662af70
cmp dword [ebp + 0x78], 0x14
jbe 0x36623f1b
push 0x14
pop esi
jmp 0x36623f1e
mov esi, dword [ebp + 0x78]
push esi
lea eax, [ebp + 0x44]
push eax
push dword [ebp - 0x34]
call fcn.36623e37
test eax, eax
je 0x36623f59
add dword [ebp - 0x34], esi
sub dword [ebp + 0x78], esi
je 0x36623f66
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x74]
lea eax, [ebp + 0x44]
push eax
call fcn.36623deb
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.36623db8
jmp 0x36623ebd
push 0x80090020
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x36623f6d
mov dword [ebp + 0x7c], 1
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x7c]
pop edi
pop esi
call fcn.3662acac
add ebp, 0x5c
leave
ret 0x1c
Function at 0x3662588a
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov eax, 0x36636c44
call fcn.3662ab98
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.3662649c
mov edi, eax
cmp edi, ebx
jne 0x366258c3
mov esi, 0x8007000e
jmp 0x36625987
push dword [ebp + 8]
push edi
call fcn.36626609
cmp eax, ebx
jl 0x3662596e
push ebx
push edi
call fcn.36626d89
cmp eax, ebx
jl 0x3662596e
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.36626c5c
cmp eax, ebx
jl 0x3662596e
cmp dword [ebp - 0x14], ebx
jne 0x3662596e
push ebx
push edi
call fcn.36626d89
cmp eax, ebx
jl 0x3662596e
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.36626d2b
cmp eax, ebx
jl 0x3662596e
push 9
push 0x36606294
lea ecx, [ebp - 0x34]
call fcn.3661ae99
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.3661afe2
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [ebp - 0x34]
inc esi
mov byte [ebp - 4], bl
call fcn.3661aef4
cmp esi, ebx
jne 0x3662596e
push edi
call fcn.36626d09
cmp eax, ebx
jl 0x3662596e
push edi
call fcn.36621cb4
cmp eax, ebx
jl 0x3662596e
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.36626bfe
cmp eax, ebx
jl 0x3662596e
push edi
call fcn.36621cb4
cmp eax, ebx
jge 0x36625975
mov esi, 0x80090005
jmp 0x36625987
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
call fcn.3662548f
mov esi, eax
cmp esi, ebx
je 0x3662598f
mov ecx, dword [ebp - 0x10]
call fcn.366243e2
cmp edi, ebx
je 0x36625999
push edi
call fcn.366264b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.3661aef4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x366259b8
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov eax, 0x36636c66
call fcn.3662ab98
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.3662649c
mov esi, eax
cmp esi, ebx
jne 0x366259f1
mov edi, 0x8007000e
jmp 0x36625aa8
push esi
call fcn.366265c4
cmp eax, ebx
jl 0x36625a79
push ebx
push esi
call fcn.36626ab5
cmp eax, ebx
jl 0x36625a79
push esi
call fcn.366265c4
cmp eax, ebx
jl 0x36625a79
push 9
push 0x36606294
lea ecx, [ebp - 0x30]
call fcn.3661ae99
push eax
push esi
mov byte [ebp - 4], 1
call fcn.36626b7f
lea ecx, [ebp - 0x30]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.3661aef4
cmp edi, ebx
jl 0x36625a79
push esi
call fcn.36626b42
cmp eax, ebx
jl 0x36625a79
push esi
call fcn.36626b97
cmp eax, ebx
jl 0x36625a79
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.366256fe
mov edi, eax
cmp edi, ebx
jl 0x36625aa2
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.36626a9d
cmp eax, ebx
jl 0x36625a79
push esi
call fcn.36626b97
cmp eax, ebx
jge 0x36625a80
mov edi, 0x80090005
jmp 0x36625aa2
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.36626479
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.3661b28a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.3661aef4
push esi
call fcn.366264b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.3661aef4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x3662b340
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x20
cmp eax, 1
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
jne 0x3662b3b6
test ebx, ebx
jbe 0x3662b40a
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
sub ebp, esi
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call dword [esp + 0x44]
mov dl, byte [ebp + esi]
mov al, byte [esp + 0x10]
xor dl, al
lea eax, [ebx - 1]
push eax
lea eax, [edi + 1]
push eax
push edi
mov byte [esi], dl
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
mov al, byte [esi]
inc esi
mov byte [edi + ebx - 1], al
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x3662b36e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x1c
test ebx, ebx
jbe 0x3662b40a
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
sub ebp, esi
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x44]
push 1
push ecx
lea edx, [esp + 0x18]
push edi
push edx
call dword [esp + 0x44]
mov cl, byte [esi]
mov al, byte [esp + 0x10]
xor al, cl
mov byte [ebp + esi], al
lea eax, [ebx - 1]
push eax
lea eax, [edi + 1]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
mov cl, byte [esi]
inc esi
mov eax, dword [esp + 0x38]
mov byte [edi + ebx - 1], cl
dec eax
mov dword [esp + 0x38], eax
jne 0x3662b3cc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x1c

Function at 0x3662c850
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea edx, [eax + 7]
push esi
shr edx, 3
mov esi, dword [esp + 0x14]
push edi
lea ecx, [edx*8]
sub ecx, eax
mov eax, 0xff
sar eax, cl
mov ecx, ebp
mov ebx, ecx
shr ecx, 2
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x14]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
cmp ebp, 0x80
rep movsb byte es:[edi], byte [esi]
jge 0x3662c8c3
mov esi, 0x80
add eax, ebp
sub esi, ebp
mov bl, byte [eax - 1]
mov ecx, eax
sub ecx, ebp
mov cl, byte [ecx]
add ecx, ebx
and ecx, 0xff
inc eax
dec esi
mov cl, byte [ecx + 0x3660a010]
mov byte [eax - 1], cl
jne 0x3662c8a1
mov eax, dword [esp + 0x14]
mov ecx, eax
xor ebx, ebx
sub ecx, edx
mov bl, byte [ecx + 0x80]
lea esi, [ecx + 0x80]
mov ecx, dword [esp + 0x20]
and ecx, 0xff
and ecx, ebx
mov cl, byte [ecx + 0x3660a010]
mov byte [esi], cl
mov ecx, 0x7f
sub ecx, edx
js 0x3662c911
lea eax, [ecx + eax + 1]
lea esi, [ecx + 1]
xor ecx, ecx
xor ebx, ebx
mov cl, byte [edx + eax - 1]
mov bl, byte [eax]
xor ecx, ebx
dec eax
dec esi
mov cl, byte [ecx + 0x3660a010]
mov byte [eax], cl
jne 0x3662c8f9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x3662ee60
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret 4
Function at 0x3662f0a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov eax, esi
mov ebx, dword [esp + 0x48]
push edi
lea edi, [esp + 0x30]
mov ecx, dword [eax]
mov ebp, 0x10
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov eax, ebx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
sub ecx, ebx
mov dword [esp + 0x2c], edx
sub edi, ebx
mov dl, byte [ecx + eax]
xor dl, byte [eax]
inc eax
dec ebp
mov byte [edi + eax - 1], dl
jne 0x3662f0f8
xor eax, eax
xor edx, edx
xor ecx, ecx
mov al, byte [eax + str._.C]
xor byte [esp + ecx + 0x10], al
mov al, byte [esp + ecx + 0x10]
and eax, 0xff
inc ecx
cmp ecx, 0x30
jb 0x3662f10b
add eax, edx
and eax, 0xff
inc edx
cmp edx, 0x12
jb 0x3662f109
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc], ecx
xor ecx, ecx
mov cl, byte [eax + 0xf]
mov esi, ebx
sub esi, eax
mov edi, 0x10
xor edx, edx
mov dl, byte [esi + eax]
xor edx, ecx
mov cl, byte [edx + str._.C]
mov dl, byte [eax]
xor dl, cl
mov cl, dl
mov byte [eax], dl
and ecx, 0xff
inc eax
dec edi
jne 0x3662f15e
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
Function at 0x36632500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
cmp dword [0x3663abe4], 0
je 0x3663251c
mov eax, dword [0x3663a34c]
jmp 0x36632637
push 0x94
push 0
lea eax, [ebp - 0x94]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x94], 0x94
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x36632628
xor edx, edx
cmp dword [ebp - 0x84], 2
sete dl
mov dword [0x3663a34c], edx
cmp dword [0x3663a34c], 0
je 0x366325e0
push 0x3660b1dc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x366325de
push 0x3660b1c0
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3663abcc], eax
cmp dword [0x3663abcc], 0
je 0x366325b0
mov dword [0x3663a344], 0x4000
push 0x3660b1b4
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3663abd0], eax
push 0x3660b19c
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3663abd4], eax
jmp 0x36632628
push 0x3660b190
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x36632628
push 0x3660b180
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3663abd8], eax
push 0x3660b170
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3663abdc], eax
mov dword [0x3663abe4], 1
mov eax, dword [0x3663a34c]
mov esp, ebp
pop ebp
ret

Function at 0x36632900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 2
call fcn.36632960
test eax, eax
jne 0x36632919
xor eax, eax
jmp 0x36632950
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 3
push 0
push 0x3660b1f0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x3663294b
xor eax, eax
jmp 0x36632950
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x36634321
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], al
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov word [ebx + 0xc], ax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
jne 0x36634369
mov ecx, 0x2000
lea edi, [esi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], eax
call fcn.36633d9f
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], 0
mov ecx, 0x8000
push 2
mov word [ebx + 0x3c], cx
mov dword [ebx + 0x34], ecx
add eax, ecx
pop edx
movzx edi, byte [eax]
mov esi, dword [ebx + 0x20]
shl esi, 5
xor esi, edi
and esi, 0x7fff
inc eax
dec edx
mov dword [ebx + 0x20], esi
jne 0x3663438d
cmp byte [ebp + 0x24], 0
je 0x366343b4
mov edi, ebx
call fcn.36633c01
jmp 0x366343c3
xor eax, eax
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x366343b6
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.36633085
push 0x4b
pop edx
call fcn.36633085
call fcn.366340c4
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x366343fd
mov edi, dword [ebx + 0x14]
mov ecx, 0x2000
lea esi, [edi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24

Function at 0x36635500
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
push edi
xor edx, edx
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x3663554f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x36635524
pop edi
lea eax, [esi + 0x100]
pop esi
pop ebp
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x36635561
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x36635575
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x366355bb
xor ecx, ecx
cmp edi, 0x100
jb 0x36635598
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x366355e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x10001e10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a99e
pop ecx
pop ecx
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor esi, esi
sub eax, esi
je 0x10001e6c
sub eax, 1
je 0x10001e69
sub eax, 1
je 0x10001e64
sub eax, 1
je 0x10001e60
sub eax, 1
je 0x10001e5c
sub eax, 1
je 0x10001e58
sub eax, 1
jne 0x10001e53
push 6
jmp 0x10001e66
mov esi, dword [ebp + 0x10]
jmp 0x10001e6c
push 5
jmp 0x10001e66
push 4
jmp 0x10001e66
push 3
jmp 0x10001e66
push 2
pop esi
jmp 0x10001e6c
xor esi, esi
inc esi
push 2
push edi
call fcn.1000cf4a
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x10001e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10010
call fcn.1000cf70
mov eax, dword [0x1003b040]
xor eax, esp
mov dword [esp + 0x1000c], eax
mov eax, dword [esp + 0x1001c]
push ebx
push ebp
mov ebp, dword [esp + 0x1001c]
push esi
push edi
push eax
xor edi, edi
push ebp
mov ebx, edi
call fcn.1000a99e
pop ecx
pop ecx
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001f13
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x7fff
push eax
lea eax, [esp + 0x20]
push eax
push edi
push edi
push esi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea ebx, [esp + 0x1c]
test esi, esi
mov esi, dword [esp + 0x18]
cmovne ebx, eax
push 2
push esi
call fcn.1000cf4a
pop ecx
pop ecx
test ebx, ebx
je 0x10001f36
push ebx
call fcn.10014ace
pop ecx
mov ecx, dword [ebp]
push eax
push ebx
push ebp
call dword [ecx + 0x28c]
mov edi, eax
mov ecx, dword [esp + 0x1001c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000cf58
add esp, 0x10010
ret 0xc
Function at 0x10003380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, edi
mov ebp, edi
mov ebx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [esp + 0x10], eax
cmp word [eax], di
je 0x1000341b
mov ebp, eax
push ebp
call fcn.10014ace
mov edx, eax
mov dword [esp + 0x1c], edx
pop ecx
test edx, edx
jle 0x10003406
mov eax, dword [esp + 0x2c]
push edx
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100033fe
cmp ebx, esi
je 0x100033e7
mov dword [ebx], eax
add ebx, 4
mov dword [esp + 0x20], ebx
jmp 0x100033fe
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.10002b1e
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
lea ebp, [ebp + eax*2]
add ebp, 2
cmp word [ebp], di
jne 0x100033b0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov ecx, dword [esp + 0x2c]
push str.java_lang_String
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, eax
test edx, edx
je 0x1000347c
mov eax, dword [esp + 0x2c]
sub ebx, ebp
push edi
push edx
sar ebx, 2
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2b0]
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1000347c
test ebx, ebx
je 0x10003482
mov esi, dword [esp + 0x2c]
push dword [ebp + edi*4]
mov eax, dword [esi]
push edi
push ecx
push esi
call dword [eax + 0x2b8]
mov ecx, dword [esp + 0x10]
inc edi
cmp edi, ebx
jb 0x1000345e
mov esi, dword [esp + 0x14]
jmp 0x10003482
mov ecx, edi
mov dword [esp + 0x10], edi
test ebp, ebp
je 0x10003498
sub esi, ebp
and esi, 0xfffffffc
push esi
push ebp
call fcn.1000228c
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x18
ret 8

Function at 0x100034b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push dword [ebp + 0x10]
or esi, 0xffffffff
push dword [ebp + 8]
mov edi, esi
call fcn.1000a99e
pop ecx
mov ebx, eax
lea eax, [ebp - 0x10]
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
push 2
cmovne esi, dword [ebp - 8]
cmovne edi, dword [ebp - 4]
push ebx
call fcn.1000cf4a
pop ecx
pop ecx
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10003500
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
test eax, eax
je 0x1000354c
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000354c
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x1000354c
movzx eax, word [ebp - 4]
jmp 0x100035a6
push 0x24
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.1000e4c0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x2c]
sub eax, edi
je 0x100035a1
sub eax, 5
je 0x1000359a
sub eax, 1
je 0x10003593
sub eax, 3
je 0x1000358c
sub eax, 3
je 0x10003585
xor eax, eax
jmp 0x100035a6
mov eax, 0xaa64
jmp 0x100035a6
mov eax, 0x8664
jmp 0x100035a6
mov eax, 0x200
jmp 0x100035a6
mov eax, 0x1c0
jmp 0x100035a6
mov eax, 0x14c
pop edi
pop esi
leave
ret 8

Function at 0x10003630
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1003b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100036aa
push str.GlobalMemoryStatusEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100036a3
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push ecx
call eax
test eax, eax
je 0x10003682
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
jmp 0x100036b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error__d_n
call fcn.10001324
push 1
call fcn.10010318
push eax
call fcn.100153c9
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000cf58
leave
ret 8
Function at 0x100036e0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0xc
cmp byte [esp + 0x18], 0
push ebx
push ebp
push esi
sete al
push edi
movzx eax, al
push eax
push str.SeDebugPrivilege
call fcn.10002d7f
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x18]
xor esi, esi
push eax
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.10002df6
mov edi, dword [esp + 0x24]
add esp, 0x10
mov eax, edi
sub eax, dword [esp + 0x10]
test eax, 0xfffffffc
jne 0x1000373f
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.1000304f
mov edi, dword [esp + 0x1c]
pop ecx
pop ecx
sub edi, dword [esp + 0x10]
sar edi, 2
test edi, edi
je 0x10003788
mov eax, dword [ebx]
push str.java_lang_String
push ebx
call dword [eax + 0x18]
test eax, eax
je 0x10003788
mov ecx, dword [ebx]
push esi
push eax
push edi
push ebx
call dword [ecx + 0x2b0]
mov ebp, eax
test ebp, ebp
je 0x10003788
test edi, edi
je 0x1000378a
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
push dword [ecx + esi*4]
push esi
push ebp
push ebx
call dword [eax + 0x2b8]
inc esi
cmp esi, edi
jb 0x1000376f
jmp 0x1000378a
mov ebp, esi
lea ecx, [esp + 0x10]
call fcn.10002d3b
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret 0xc