joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101bc260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db961
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.CZipStorage.0
call fcn.101bc010
mov dword [ebp - 4], 0
call fcn.1007c659
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x101bc2bb
push 0x80004005
call fcn.10039f90
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 1
call fcn.101bbe30
push 3
push 0x10213f14
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0x10000
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x20], 0
call fcn.10039d10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101bc320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db996
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CZipStorage.0
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 1
call fcn.101bbe50
mov edx, dword [esi + 0x30]
or ecx, 0xffffffff
sub edx, 0x10
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x101bc37f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.101bc070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101c0370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
jne 0x101c038c
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1007b8b0
add esp, 4
mov byte [ebp - 1], 1
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x101c03cd
push esi
mov byte [ebp - 1], al
call fcn.1007b8b9
mov al, byte [ebp - 1]
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x101c03d5
xor ecx, ecx
jmp 0x101c03ef
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101c03e0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.10039d10
push esi
call fcn.1007b8b9
mov al, byte [ebp - 1]
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x101c0430
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc100
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.101b4200
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.101c0540
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x101c04c3
lea eax, [ebp - 0x10]
push eax
call fcn.101b5710
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
add esp, 4
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x101c04c3
xor edi, edi
jmp 0x101c04d5
mov edi, dword [ebp - 0x18]
imul edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0
imul edi, dword [ebp - 0x20]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x101c04f3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.101bfda0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x101c0537
xor al, al
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov al, 1
pop ebp
ret

Function at 0x101c05e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x101c0607
xor al, al
pop esi
pop ebp
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x101c0625
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov al, 1
pop edi
pop esi
pop ebp
ret
Function at 0x101c0920
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.101b4200
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.101c0540
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, dword [ebp - 0x10]
cmp eax, 2
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x101c0990
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.101bfda0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101c0a20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret

Function at 0x101c0d60
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx ecx, si
shr esi, 0x10
test edi, edi
jne 0x101c0d7c
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x101c0e7d
jmp 0x101c0d90
mov edx, 0x15b0
cmp ebx, edx
cmovb edx, ebx
sub ebx, edx
mov dword [ebp + 0x10], ebx
cmp edx, 0x10
jl 0x101c0e42
mov ebx, edx
shr ebx, 4
mov eax, ebx
neg eax
shl eax, 4
add edx, eax
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
dec ebx
jne 0x101c0db6
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x101c0e51
movzx eax, byte [edi]
inc edi
add ecx, eax
add esi, ecx
dec edx
jne 0x101c0e46
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul edx, edx, 0xffff000f
add esi, edx
test ebx, ebx
jne 0x101c0d90
shl esi, 0x10
pop ebx
or esi, ecx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x46878c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00468603

Function at 0x40302f
Capabilities:
Terminate process

Disassembly:
push 0x60
push 0x40fde8
call fcn.00407554
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [0x40e0a4]
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x94
push edi
push 0
mov ebx, dword [0x40e0a0]
call ebx
push eax
call dword [0x40e09c]
push eax
pop esi
test esi, esi
jne 0x402e9a
push 0x12
call fcn.00402dea
pop ecx
jmp 0x403024
mov dword [esi], edi
push esi
call dword [0x40e098]
push esi
push 0
test eax, eax
jne 0x402eb8
call ebx
push eax
call dword [0x40e094]
jmp 0x403024
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [0x40e094]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x402eea
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x434280], esi
mov dword [0x434288], eax
mov dword [0x43428c], ecx
mov dword [0x434290], edx
mov dword [0x434284], edi
call fcn.00402e0e
mov dword [ebp - 0x20], eax
sub ebx, ebx
inc ebx
push ebx
call fcn.004074f8
pop ecx
or eax, eax
jne 0x402f32
push 0x1c
call fcn.00402dea
pop ecx
call fcn.00404531
test eax, eax
jne 0x402f43
push 0x10
call fcn.00402dea
pop ecx
call fcn.00407455
mov dword [ebp - 4], ebx
call fcn.00407215
test eax, eax
jge 0x402f5c
push 0x1b
call fcn.00406706
pop ecx
call dword [0x40e090]
mov dword [0x435a58], eax
call fcn.004070e0
mov dword [0x433e30], eax
call fcn.00407027
test eax, eax
jge 0x402f82
push 8
call fcn.00406706
pop ecx
call fcn.00406db4
test eax, eax
jge 0x402f93
push 9
call fcn.00406706
pop ecx
push ebx
call fcn.00406822
pop ecx
test eax, eax
je 0x402fa5
push eax
call fcn.00406706
pop ecx
call fcn.00406d57
test byte [ebp - 0x44], bl
je 0x402fb5
movzx ecx, word [ebp - 0x40]
jmp 0x402fb8
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call main
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x402fd5
push eax
call fcn.00406982
call fcn.004069a4
jmp 0x40300a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x403029
mov eax, 0xff
call fcn.00407599
ret
call fcn.00407746
jmp 0x402e4f

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
sub eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
sub ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
or esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x403203
pop dword [ebp - 0x10]
mov eax, 0xc45c4818
add eax, 0x3be3e9eb
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2555c6f9
add dword [ebp - 0x20], 0x28fc7e52
mov dword [ebp - 0x1c], 0x38c87dd4
add dword [ebp - 0x1c], 0xf96ace71
mov dword [ebp - 0x18], 0xcc3a9cd6
sub dword [ebp - 0x18], 0x7fee58a8
mov dword [ebp - 0x14], 0xfc1bf065
sub dword [ebp - 0x14], 0xfc1bf065
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xd6f1f8e2
add dword [ebp - 0x20], 0x9d807074
mov dword [ebp - 0x1c], 0x1690bb15
add dword [ebp - 0x1c], 0x2adba660
mov dword [ebp - 0x18], 0xadd2f051
sub dword [ebp - 0x18], 0x4a6383e5
mov dword [ebp - 0x14], 0x5373d440
sub dword [ebp - 0x14], 0x5373d440
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x8c55264d
sub eax, 0x8c14b5a5
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3506d
push 0
call eax
mov ecx, 0xd06556ea
sub ecx, 0xd065152f
xor ebx, ebx
add ebx, eax
mov esi, 0x8b94e747
add esi, 0x74ac18b9
add esi, dword [ebp - 0x10]
mov edi, 0x705079a9
xor dword [ebp - 4], eax
mov edx, dword [esi]
add dword [ebp - 0xc], esi
add edx, edi
add dword [ebp - 8], edi
mov dword [ebx], edx
add dword [ebp - 8], 0x6c904aa7
add ebx, 0x1f2bd61a
add ebx, 0xe0d429ea
add esi, 0x308fcfb8
sub esi, 0x308fcfb4
loop 0x40331c
add eax, 0xf9bf
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x403c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, 0x815c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004058d0
mov ebx, dword [0x408028]
mov eax, dword [ebp + 0xc]
test ebx, ebx
mov dword [ebp - 0x814c], eax
je 0x403cb0
mov eax, dword [0x408090]
test eax, eax
jne 0x403e80
mov ebx, 0x104
lea edx, [ebp - 0x128]
xor esi, esi
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x148]
mov edi, ebx
mov dword [esp], edx
mov dword [esp + 4], esi
mov esi, ebx
call sub.msvcrt.dll_memset
cld
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, str.true
mov dword [esp], 0x1d
call fcn.004020c0
cld
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [0x408020]
seta dl
setb cl
xor ebx, ebx
cmp dl, cl
sete bl
test esi, esi
sete dl
xor eax, eax
test ebx, ebx
setne al
test edx, eax
je 0x403d60
mov eax, dword [0x408090]
test eax, eax
jne 0x403d37
xor eax, eax
add esp, 0x815c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], eax
mov edi, 0x35
mov ecx, 1
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], str.Bundled_JRE:_tCannot_use_64_bit_runtime_on_32_bit_OS._n
call sub.msvcrt.dll_fwrite
jmp 0x403d2a
mov dword [esp], 1
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
call fcn.004020c0
test eax, eax
je 0x403d2a
mov edx, 0x8000
xor eax, eax
lea esi, [ebp - 0x8148]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [esp], esi
mov edi, dword [ebp - 0x814c]
lea edx, [ebp - 0x128]
mov dword [esp + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
call fcn.004033a0
mov eax, dword [0x408090]
test eax, eax
jne 0x403ebc
cmp byte [ebp - 0x8148], 0x5c
je 0x403ea7
cmp byte [ebp - 0x8147], 0x3a
je 0x403ea7
mov dword [esp], 0x4081a4
mov eax, dword [ebp - 0x814c]
mov edi, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_strncpy
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strlen
cmp byte [eax + 0x4081a3], 0x5c
je 0x403e1f
mov edx, 0x5c
mov word [eax + 0x4081a4], dx
mov dword [esp + 4], esi
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strcat
mov dword [esp], 0x4081a4
call fcn.00402840
test eax, eax
je 0x403d2a
mov dword [esp], 0x410664
cmp ebx, 1
mov esi, 0x4081a4
mov dword [esp + 4], esi
sbb ebx, ebx
and ebx, 0xffffff00
add ebx, 0x104
mov dword [0x4102d4], ebx
call sub.msvcrt.dll_strcpy
mov eax, 1
jmp 0x403d2c
mov dword [esp + 0xc], eax
mov ecx, 0x13
mov edx, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], str.bundledJreSearch___n
call sub.msvcrt.dll_fwrite
jmp 0x403cb0
mov dword [esp + 4], esi
mov dword [esp], 0x4081a4
call sub.msvcrt.dll_strcpy
jmp 0x403e2f
mov dword [esp + 8], esi
mov ecx, str.Bundled_JRE:_t_s_n
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x403dc7
Function at 0x4dde14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00484424
xor edx, edx
push ebp
push 0x4dde86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x70]
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0xc]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x10]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x1c]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x30], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dde90
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10005a4a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10024050]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x10005aed
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.10018ada
pop ecx
pop ecx
test eax, eax
je 0x10005ad6
test ebx, ebx
je 0x10005aca
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10018ada
pop ecx
pop ecx
test eax, eax
jle 0x10005ad6
push ebx
call fcn.10006dc1
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x10005a97
xor edi, edi
cmp ebx, edi
jne 0x10005af1
xor eax, eax
jmp 0x10005b5d
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x10005b20
call fcn.10006dc1
pop ecx
cmp dword [ebp - 0x70], edi
je 0x10005aed
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10005aed
call fcn.10006dc1
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005b10
cmp dword [ebp - 0x70], edi
je 0x10005b53
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008c61
add ebp, 0x9c
leave
ret
Function at 0x10008c61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024050]
jne 0x10008c6b
repz ret
jmp fcn.1000d082

Function at 0x10018ada
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10018ae9
pop dword [ebp - 8]
mov eax, 0x10018ae9
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xf8673b2a
sub dword [ebp - 0x18], 0xaa14f5df
mov dword [ebp - 0x14], 0x387890f9
add dword [ebp - 0x14], 0xf9babb4c
mov dword [ebp - 0x10], 0xbe08aa03
sub dword [ebp - 0x10], 0x71bc65d5
mov dword [ebp - 0xc], 0x5674e147
add dword [ebp - 0xc], 0xa98b1eb9
lea eax, [ebp - 0x18]
push eax
mov eax, 0xdec606ad
sub eax, 0xcec4465d
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x1e8557af
add dword [ebp - 0x18], 0x55ed11a7
mov dword [ebp - 0x14], 0x4143d079
add dword [ebp - 0x14], 0x2890fc
mov dword [ebp - 0x10], 0x6738e90f
add dword [ebp - 0x10], 0xfc36835d
mov dword [ebp - 0xc], 0xf1abf2ff
add dword [ebp - 0xc], 0xe540d01
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x55138900
sub eax, 0x4511c8b4
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3d79e
push 0
call eax
mov ecx, 0x3ebb3324
sub ecx, 0x3ebae35b
xor edx, edx
add edx, eax
mov ebx, 0x3f3de2fa
sub ebx, 0x2f3b38fa
add ebx, dword [ebp - 8]
mov edi, 0x27c5e234
mov esi, dword [ebx]
xor dword [ebp - 4], eax
xor esi, edi
mov dword [ebp - 4], 0x2b6aeca7
mov dword [edx], esi
xor dword [ebp - 4], esi
add edx, 0x5e7a39c0
sub edx, 0x5e7a39bc
add ebx, 0x36c3efbf
add ebx, 0xc93c1045
loop 0x10018c02
add eax, 0x131f7
mov ebx, eax
add eax, 0x53ad93c9
add eax, 0xac526c3c
mov ecx, 0x6fd8576a
sub ecx, 0x5fd8576a
add ecx, dword [ebp - 8]
call ebx
leave
ret