joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Stop service

Disassembly:
sub esp, 0x470
push esi
push edi
push 0xf0000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x401053
push ebx
push 0x20
push str.RichVideo
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x40104f
lea eax, [esp + 0x60]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebx
push edi
call ebx
pop ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edi, str.RichVideo.exe__unregserver
mov dword [esp + 8], ecx
mov dword [esp + 0x18], 0x44
mov dword [esp + 0xc], ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov word [esp + 0x48], cx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x78]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
push ecx
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
xor eax, eax
pop esi
add esp, 0x470
ret 0x10
Function at 0x40236d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4070e0
cmp edx, dword [eax]
je 0x40238f
add eax, 8
inc ecx
cmp eax, 0x407170
jl 0x402380
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4070e0]
jne 0x4024bd
mov eax, dword [0x4094c0]
cmp eax, 1
je 0x402497
test eax, eax
jne 0x4023c0
cmp dword [0x407034], 1
je 0x402497
cmp edx, 0xfc
je 0x4024bd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4023f7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403eb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403fa0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40243a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403fa0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405bd0
push edi
call fcn.00404490
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403eb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403ec0
lea eax, [ebp - 0xa0]
push 0x405bb0
push eax
call fcn.00403ec0
push dword [esi + 0x4070e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403ec0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004043ff
add esp, 0x2c
pop edi
jmp 0x4024bd
lea eax, [ebp + 8]
lea esi, [esi + 0x4070e4]
push 0
push eax
push dword [esi]
call fcn.00403fa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4170c9
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
outsb dx, byte [esi]
mov eax, dword [0x934d5216]
cli
and dword [edx], esi
xchg ebx, eax
outsd dx, dword [esi]
out dx, eax
jg 0x4170fd
or al, 0x5d
dec esp
dec ebp
out dx, al
call 0xe24515c1
loopne 0x41712e
loop 0x4170e5
sub dl, dh
out dx, eax
out dx, eax
jecxz 0x4170aa
test dword [ebx - 0x24], eax
iretd
invalid
or byte [edi - 0x7e837cb0], bh
jge 0x4170e8
xchg edi, edi
jns 0x4170e7
jecxz 0x41717d
jle 0x417183
mov al, 0x67
out 0x6c, eax
out 0x6c, eax
loop 0x417103
jmp 0x417115
or dword [eax - 0x1a], 0xffffffa1
cli
cdq
shr byte [edi + 0xd], 0xa1
shr dword [eax + 0x6166e156], cl
xor edx, dword [ebx + esi*2]
wait
pop esp
inc esp
add ebx, dword [edi + 0x25]
add al, byte [ebp + 0x25975a30]
jae 0x417171
test dword [eax], esi
pop edx
xchg edi, eax
and eax, 0x67a3f973
sub eax, dword fs:[ecx + 0x7e687044]
outsd dx, dword [esi]
mov dword [0x812b6467], eax
inc esp
jo 0x4171e8
jle 0x4171f1
in al, dx
sar byte [edi + 0x71a12f65], 1
mov edi, 0xaf656d9b
and esi, dword [eax + 0x5e]
or byte [ebp - 0x1649a49f], bl
mov ebx, dword [edx - 7]
mov bl, 0x95
mov ebx, 0x68f016a5
and byte [edi + 0x4ae69c6f], dh
mov al, 0x87
inc esp
imul eax, dword [ecx], 0xb642b43c
lodsd eax, dword [esi]
movsb byte es:[edi], byte [esi]
fdiv qword [ebp + 0x3a]
loop 0x41713f
jge 0x417140
pop ebp
sar dword [edi - 0x1c], cl
sub ebp, ebp
cmp al, 0xc2
pop ss
add byte [edi - 0x59c3923d], al
js 0x417156
add dl, byte [ebp - 0x65]
pop edi
pop ecx
int 0x20
push cs
invalid
cmpsb byte [esi], byte es:[edi]
stosb byte es:[edi], al
dec ebx
xchg edx, eax
test al, 0xbe
popfd
mov al, byte [0x7b4e1333]
adc ecx, dword [esi + 0x7b]
lahf
dec ebx
pop esp
fisubr word [ebx + 0x282e5293]
in al, 0x8c
cwde
or ah, byte [esi]
invalid

Function at 0x4170d1
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
cmp ecx, dword [esi + 0x43f04eab]
ja 0x4170e8
lea edx, [eax - 0x6f]
pop es
or dword [eax], 0xffffffa9
invalid
Function at 0x4b96dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2378
cmp edx, dword [eax]
je 0x4b96ff
add eax, 8
inc ecx
cmp eax, 0x4c2408
jl 0x4b96f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2378]
jne 0x4b982d
mov eax, dword [0x4c6dfc]
cmp eax, 1
je 0x4b9807
test eax, eax
jne 0x4b9730
cmp dword [0x4c22a0], 1
je 0x4b9807
cmp edx, 0xfc
je 0x4b982d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b9767
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ba0c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba550
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b97aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba550
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bea34
push edi
call fcn.004bc420
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ba0c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba0d0
lea eax, [ebp - 0xa0]
push 0x4bea14
push eax
call fcn.004ba0d0
push dword [esi + 0x4c237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba0d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bc394
add esp, 0x2c
pop edi
jmp 0x4b982d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c237c]
push 0
push eax
push dword [esi]
call fcn.004ba550
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813004]
jne 0x401010
repz ret
jmp fcn.00401460

Function at 0x4082b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004058a1
and dword [ebp - 4], 0
cmp dword [0x815798], 0
mov ebx, eax
jne 0x408366
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408417
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408417
push eax
call fcn.0040582f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x815798], eax
call esi
push eax
call fcn.0040582f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x81579c], eax
call esi
push eax
call fcn.0040582f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x8157a0], eax
call esi
push eax
call fcn.0040582f
pop ecx
mov dword [0x8157a8], eax
test eax, eax
je 0x408366
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040582f
pop ecx
mov dword [0x8157a4], eax
mov eax, dword [0x8157a4]
cmp eax, ebx
je 0x4083be
cmp dword [0x8157a8], ebx
je 0x4083be
push eax
call fcn.004058aa
push dword [0x8157a8]
mov esi, eax
call fcn.004058aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4083be
test edi, edi
je 0x4083be
call esi
test eax, eax
je 0x4083b5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4083b5
test byte [ebp - 0xc], 1
jne 0x4083be
or dword [ebp + 0x10], 0x200000
jmp 0x4083f7
mov eax, dword [0x81579c]
cmp eax, ebx
je 0x4083f7
push eax
call fcn.004058aa
pop ecx
test eax, eax
je 0x4083f7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083f7
mov eax, dword [0x8157a0]
cmp eax, ebx
je 0x4083f7
push eax
call fcn.004058aa
pop ecx
test eax, eax
je 0x4083f7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x815798]
call fcn.004058aa
pop ecx
test eax, eax
je 0x408417
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408419
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46027c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004218c6
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00421950
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x4602d7
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x4602ce
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x468d92
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c8530], ecx
inc esi
mov ecx, 0x4c8530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c8eec
jl 0x468da3
mov dword [0x4c5190], esi
mov dword [0x4c8518], esi
pop esi
ret

Function at 0x468dcf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c8518], 0
push esi
push edi
mov esi, 0x4c8530
jne 0x468dee
push 0
call fcn.00425d1a
pop ecx
mov ecx, eax
call fcn.00468d92
mov dword [0x4c5190], 0x270
mov edi, 0xe3
mov dword [0x4c8ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468e03
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x468e38
mov ecx, dword [0x4c8530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret

Function at 0x4692d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x4692fc
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00421950
add esp, 0xc
jmp 0x46930f
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004260f2
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4bb4fc
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.004261a0
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x82a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0082a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x82a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82a06a
add dl, dl
jne 0x82a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82a0dc
xor eax, eax
add dl, dl
jne 0x82a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82a17d
add dl, dl
jne 0x82a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x82a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x82a075
mov eax, 1
add dl, dl
jne 0x82a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x82a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82a0e1
sub eax, ebx
mov ebx, 1
jne 0x82a128
mov ecx, 1
add dl, dl
jne 0x82a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x82a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x82a136
cmp eax, 0x7d00
jae 0x82a16d
cmp eax, 0x500
jb 0x82a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82a075
cmp eax, 0x7f
ja 0x82a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x82a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x82a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x82a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x408770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x40878a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408780
mov eax, 1
add ebx, ebx
jne 0x4087a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408798
jne 0x4087b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408798
xor ecx, ecx
sub eax, 3
jb 0x4087c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40883a
mov ebp, eax
add ebx, ebx
jne 0x4087d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4087e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408804
inc ecx
add ebx, ebx
jne 0x4087f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4087e5
jne 0x408801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4087e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408815
jmp 0x408786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408824
add edi, ecx
jmp 0x408786
pop esi
mov edi, esi
mov ecx, 0x2b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408842
cmp byte [edi], 5
jne 0x408842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x408847
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4088b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8de4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8e6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408874
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8e74]
or eax, eax
je 0x4088b0
mov dword [ebx], eax
add ebx, 4
jmp 0x408891
call dword [esi + 0x8e70]
mov ebp, dword [esi + 0x8e78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4088ea
sub esp, 0xffffff80
jmp 0x402abb
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.0040a513
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.0040a513
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040a513
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.0040a513
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.0040a513
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.0040a513
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.0040a513
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.0040a513
mov dword [0x42565c], eax
call fcn.0040a513
test eax, eax
jns 0x408ea1
push 8
call fcn.0040a513
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.0040a513
pop ecx
push 1
call fcn.0040a513
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.0040a513
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.0040a513
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.0040a513
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40a522
pop dword [ebp - 0xc]
mov eax, 0x40a522
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x8a364831
sub dword [ebp - 0x1c], 0x3be402e6
mov dword [ebp - 0x18], 0xa1802528
sub dword [ebp - 0x18], 0x6f4cd8e3
mov dword [ebp - 0x14], 0xd70f05ef
sub dword [ebp - 0x14], 0x8ac2c1c1
mov dword [ebp - 0x10], 0x77a21459
sub dword [ebp - 0x10], 0x77a21459
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x7c14ac71
sub eax, 0x7bd2ec21
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x8e4f2a77
add dword [ebp - 0x1c], 0xe6233edf
mov dword [ebp - 0x18], 0x1dc31b88
sub dword [ebp - 0x18], 0xdc56ba13
mov dword [ebp - 0x14], 0xd6708d2f
sub dword [ebp - 0x14], 0x730120c3
mov dword [ebp - 0x10], 0xfe4a3166
sub dword [ebp - 0x10], 0xfe4a3166
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xd1661b20
add eax, 0x2edba52c
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3d832
push 0
call eax
mov ecx, 0x4f39
mov edi, eax
mov ebx, 0x6248759
add ebx, 0xfa1ea2a7
add ebx, dword [ebp - 0xc]
mov esi, 0x4690e2e4
sub esi, 0xce55c225
add dword [ebp - 8], eax
mov edx, dword [ebx]
xor dword [ebp - 4], 0x8a8d295
xor edx, esi
add dword [ebp - 8], edi
mov dword [edi], edx
xor dword [ebp - 8], edi
add edi, 0xf5c2f37d
add edi, 0xa3d0c87
add ebx, 0xa0070972
sub ebx, 0xa007096e
loop 0x40a639
add eax, 0xecae0860
add eax, 0x13532757
xor ebx, ebx
add ebx, eax
add eax, 0xa76b9988
add eax, 0x5894667d
mov ecx, 0xa42ce5ab
sub ecx, 0xa3ece5ab
add ecx, dword [ebp - 0xc]
call ebx
leave
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 0x405d10
Capabilities:
Encode data using xor

Disassembly:
pushal
push ss
dec ebx
xchg bl, al
add cl, byte [esi]
ror byte [eax], cl
xor eax, 0x31fd23e9
push esi
inc esi
push ebp
inc esi
pop es
or edx, ecx
js 0x405d0d
cmp eax, 0x53ec9ab
pop esp
aaa
invalid