joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e19d0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x4e19e0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x4e19dd
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x4e1a00
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x4e1a38
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x4e1a2e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x4e1a3a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x4e1a20
xor eax, eax
pop ebx
pop esi
ret

Function at 0x4e1f80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xa719a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xa719bc]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 4
test ebx, ebx
je 0x4e1fd5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4e1fce
test esi, esi
je 0x4e1fce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4e1fb0
mov dword [esp], 0xa719a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4e2260
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4e2294
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [0xa719c4], eax
call fcn.004f24a0
test eax, eax
sete al
movzx eax, al
mov dword [0x554bb4], eax
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4e2283

Function at 0x4e2330
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 4], eax
mov eax, dword [0xa719c4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4e2350
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x4e23b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x554bb4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
test eax, eax
mov dword [esp + 0x28], ebp
js 0x4e2460
test eax, eax
jne 0x4e2400
mov eax, dword [0xa719c8]
mov dword [0xa719c8], ebx
mov dword [ebx], eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [0xa719c4]
call esi
mov dword [esp], ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebp, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0xa719c4]
mov dword [ebx], ebp
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x4e23e5
mov edx, esi
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
jmp edx
call fcn.004e22a0
mov eax, dword [0x554bb4]
jmp 0x4e23d4

Function at 0x4e2470
Capabilities:
Set thread local storage value

Disassembly:
push ebx
sub esp, 8
mov edx, dword [0x554bb4]
mov eax, dword [esp + 0x10]
test edx, edx
mov ebx, dword [eax]
js 0x4e24a0
test edx, edx
jne 0x4e2493
mov dword [0xa719c8], ebx
add esp, 8
pop ebx
ret
add esp, 8
mov eax, ebx
pop ebx
jmp fcn.004e2330
call fcn.004e22a0
mov edx, dword [0x554bb4]
jmp 0x4e2484

Function at 0x4e26a0
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov eax, dword [0x554bb4]
mov edi, dword [esp + 0x40]
test eax, eax
js 0x4e2783
test eax, eax
mov esi, dword [0xa719c8]
jne 0x4e2721
test esi, esi
mov dword [esp + 0x2c], esi
je 0x4e2715
mov ecx, esi
lea ebx, [esp + 0x2c]
nop
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4e2707
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 4], 1
mov dword [esp], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call eax
cmp eax, 6
je 0x4e2750
cmp eax, 8
jne 0x4e2777
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x2c], ecx
jne 0x4e26d0
mov eax, 5
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov esi, dword [0xa719c4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4e26c1
mov eax, dword [esp + 0x2c]
mov edx, ebx
mov dword [edi + 0xc], 0
mov dword [esp + 0x2c], esi
mov dword [edi + 0x10], eax
mov eax, edi
call fcn.004e21c0
cmp eax, 7
jne 0x4e271a
mov eax, ebx
call fcn.004e2360
add esp, 0x30
mov eax, 3
pop ebx
pop esi
pop edi
ret
call fcn.004e22a0
mov eax, dword [0x554bb4]
jmp 0x4e26b7
Function at 0x4e2850
Capabilities:
Get thread local storage value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [0x554bb4]
mov ebx, dword [esp + 0x30]
test edx, edx
js 0x4e28cb
test edx, edx
mov esi, dword [0xa719c8]
jne 0x4e28a5
mov ecx, dword [ebx + 0xc]
mov eax, ebx
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x1c]
mov edx, esi
test ecx, ecx
jne 0x4e2895
call fcn.004e21c0
cmp eax, 7
je 0x4e289c
nop
lea esi, [esi]
call sub.msvcrt.dll_abort
call fcn.004e24b0
jmp 0x4e2886
mov eax, esi
nop
call fcn.004e2360
mov esi, dword [0xa719c4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
jmp 0x4e286e
call fcn.004e22a0
mov edx, dword [0x554bb4]
jmp 0x4e2864

Function at 0x4e28e0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4e2912
mov dword [esp], ebx
call fcn.004e26a0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
add esp, 0x2c
ret
mov edx, dword [0x554bb4]
test edx, edx
js 0x4e2980
test edx, edx
mov esi, dword [0xa719c8]
jne 0x4e2950
lea edx, [esp + 0x1c]
mov eax, ebx
mov dword [esp + 0x1c], esi
call fcn.004e24b0
cmp eax, 7
je 0x4e2940
call sub.msvcrt.dll_abort
nop
lea eax, [esp + 0x1c]
call fcn.004e2360
lea esi, [esi]
mov esi, dword [0xa719c4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
jmp 0x4e2926
call fcn.004e22a0
mov edx, dword [0x554bb4]
jmp 0x4e291c

Function at 0x4e2ed0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 0x1c
ret

Function at 0x4e2f10
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x4e2f35
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
jmp eax
Function at 0x402717
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402756
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402756
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402756
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402756
cmp dword [ecx + 0x74], 0xe
jbe 0x402756
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0xeb12d8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeb12e2
pushal
call 0xeb12e8
pop ebp
sub ebp, 0x10
sub ebp, 0xab12d8
jmp 0xeb12fe
mov eax, 0xab12d8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0xe2e60ddb
xor byte [eax], dl
inc eax
dec ecx
jne 0xeb1315
jmp 0xeb1328
push eax
push ss
push eax
push edx
out 0xdb, eax
fcmovnu st(0), st(3)
pop edx
sbb ah, byte [ebx]
fcmovnu st(0), st(3)
fcmovnu st(0), st(0)
push ss
arpl di, bx
fcmovnu st(0), st(3)
invalid
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov esi, dword [ebp + 0xc]
push esi
mov byte [ebp - 0x78], al
xor byte [eax + 0x50], bh
push esi
dec edx
mov dword [eax - 0x45], ebp
add byte [ebx + 0x15ce084d], cl
enter 0x7b3, 0
add byte [eax + 0x51], dl
add edx, 0x40
push 0x406fb9
push edx
jl 0x401e82
add cl, 0x40
add byte [ecx + 0x410235], ah
add esp, 0x14
test dword [ecx + 0x74], eax
invalid
add bh, bh
adc eax, sym.imp.MSVCRT.dll_printf
les ecx, gs:[eax]
push esi
call dword [sym.imp.MSVCRT.dll_exit]
das
nop
nop
nop
nop
in eax, dx
push ecx
call 0x90d0af2f
nop
mov ebp, esp
sub esp, 0x57
xchg byte [ebx + ecx*4], ah
jne 0x401f02
push edi
mov eax, dword [esi + 0x14]
dec eax
inc ebp
inc esi
call 0x72406a00
mov dword [0x410ba0], eax
mov dword [0x410ba4], edx
mov ebx, eax
mov edi, esi
invalid
inc ecx
add byte [ebx - 0x7637fc36], cl
dec esi
adc al, 0xeb
or al, 0x8b
fst dword [edx]
or byte [eax + eax + 0x40d06aa1], ah
add byte [ebx + 0x40d02c15], cl
add byte [ebx], al
enter 0xffffffffffff86fd, 0x3c
or byte [ecx + 0x3bc21382], bh
clc
sysret

Function at 0x4082d9
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x4082dc
mov edx, 0x22789f74
invalid
Function at 0x4022c2
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403f18
call fcn.0040281c
push 1
call fcn.00402599
pop ecx
test al, al
jne 0x402179
push 7
call fcn.00402a30
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402564
mov byte [ebp - 0x24], al
mov eax, dword [0x405338]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402172
test eax, eax
jne 0x4021e3
mov dword [0x405338], ecx
push 0x4032a4
push 0x40328c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4021c6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4022bc
push 0x403288
push 0x403274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405338], 2
jmp 0x4021e8
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00402706
pop ecx
call fcn.00402a24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402218
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402218
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004027cc
call esi
call fcn.00402a2a
mov esi, eax
cmp dword [esi], edi
je 0x402236
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402236
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00402b46
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00402b79
test al, al
jne 0x402261
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40226a
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00402723
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4022bc
call fcn.00402861
ret
call fcn.0040200b
jmp 0x40215a

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x292e2f85
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x44bb3285
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000128f
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
je 0x100012b2
push 0x104
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x100012b2
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x100017d8
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10011265
call fcn.10002bb0
mov eax, dword [ebp + 8]
push 0x104
push eax
xor edi, edi
push edi
push edi
xor ecx, ecx
push 0x10012858
mov word [eax], cx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1000184c
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.1000230d
pop ecx
pop ecx
push edi
push esi
call fcn.1000259c
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.10002085
push eax
push esi
push 0x100124f4
call fcn.1000230d
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10001845
ret
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x100018fd
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x100018a9
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10001810
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x100018fd
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x100018fd
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10001810
mov eax, esi
call fcn.10002be6
ret

Function at 0x10002390
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016040]
jne 0x1000239a
repz ret
jmp fcn.100046fe
Function at 0x1000259c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x100025ab
pop dword [ebp - 0x44]
mov eax, 0x9ae1f98a
add eax, 0x751e2c21
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xaee71fec
add dword [ebp - 0x54], 0x9f6b255f
mov dword [ebp - 0x50], 0x5f71142
add dword [ebp - 0x50], 0x2c3c3b03
mov dword [ebp - 0x4c], 0x981213a1
add dword [ebp - 0x4c], 0xb43a308d
mov dword [ebp - 0x48], 0x19fa2256
add dword [ebp - 0x48], 0xe605ddaa
lea eax, [ebp - 0x54]
push eax
mov eax, 0xec066ee
sub eax, 0xfebf46b6
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x4f514246
sub dword [ebp - 0x54], 0xdaded8f0
mov dword [ebp - 0x50], 0x3a5179a
sub dword [ebp - 0x50], 0xc238b625
mov dword [ebp - 0x4c], 0xc113311d
add dword [ebp - 0x4c], 0xa25c3b4f
mov dword [ebp - 0x48], 0xecedda54
sub dword [ebp - 0x48], 0xecedda54
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x9fda9d72
sub eax, 0x8fd97d3e
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x389dc
push 0
call eax
mov ecx, 0xc600f9ba
add ecx, 0x39ff4a45
mov esi, eax
mov edx, 0x10023a00
add edx, dword [ebp - 0x44]
mov ebx, 0xacda3800
xor dword [ebp - 0x10], 0xfb1103f5
mov edi, dword [edx]
add dword [ebp - 0x14], edi
xor edi, ebx
sub dword [ebp - 0x38], 0xfab916f5
mov dword [esi], edi
mov dword [ebp - 0x2c], 0x51d060d3
add esi, 0xc28db249
sub esi, 0xc28db245
add edx, 4
loop 0x100026c1
add eax, 0x4cfcea21
add eax, 0xb30418ae
mov ebx, eax
add eax, 0xfa4737ab
sub eax, 0xfa4737a6
mov ecx, 0xca2f8e5d
add ecx, 0x45d071a3
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x41a0c8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14963dc
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41a148
arpl word [edx + esi], si
jmp 0xdae2d9e4
stosb byte es:[edi], al
pop ss
pop edi
fisttp word [eax]
or al, 0x7a
wait
out dx, al
aaa
and al, 0x39
arpl word [edi - 0x5af43a4e], bx
or esi, ecx
pop ecx
sbb eax, 0xbebfdbed
sbb dword [eax - 0x28330d51], esp
ja 0x41a189
jbe 0x41a1de
stosb byte es:[edi], al
mov bl, 0xa1
pop ebp
or byte [ebx + 0x7f393d1e], 0x5d
insd dword es:[edi], dx
retf 0x775
pushfd
adc eax, 0x984731af
loop 0x41a1f0
or ecx, dword [ecx - 0x6b]
cmp dword [ebp + ebx*8 - 0x21], 0x43
mov ecx, 0xfa7800b2
scasb al, byte es:[edi]
out dx, eax
pop ecx
sbb bh, byte [ebx - 0x44c4486e]
mov dh, 0x39
push 0x56ad86bc
invalid
mov edi, 0x26ffe247
inc ecx
mov eax, 0x14ed1b87
jne 0x41a218
and bl, ch
fisttp word [eax + esi*2 - 0x2c70824a]
add cl, byte [ebp - 0x40]
adc ecx, dword [eax - 0x4a]
out 0x67, eax
stosd dword es:[edi], eax
das
cmp ebp, esi
cmp bh, al
push esi
add edx, dword [ecx]
dec ecx
adc al, byte [ecx - 0x6b]
or al, 0xd7
sub dword [ebp - 0x3c9d8d0b], eax
invalid
mov dh, 0x7d
invalid
ja 0x41a255
sub bh, byte [ebp + 0x66cd00dd]
xchg edx, eax
xchg esp, eax
jns 0x41a28b
and dword [ecx + 0x4b2bfebe], ebp
int3
out 0xe5, eax
xor eax, 0x5d396981
push edx
sub al, 0x77
jmp esp
mov dword [0x1fb2b9eb], eax
inc esp
cli
adc cl, byte [edx]
movsb byte es:[edi], byte [esi]
mov ebp, 0xae313073
aaa
mov eax, 0x95acc2ac
in al, 0xaf
adc byte [edi - 0x48184328], cl
push edi
neg dword [ebp + 0x2eed2397]
invalid
Function at 0x6d3f378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d410030]
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 0x6d3f3830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f9f14
pop ecx
pop ecx
test eax, eax
je 0x6d3f3819
test ebx, ebx
je 0x6d3f380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d3f9f14
pop ecx
pop ecx
test eax, eax
jle 0x6d3f3819
push ebx
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
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 0x6d3f37da
xor edi, edi
cmp ebx, edi
jne 0x6d3f3834
xor eax, eax
jmp 0x6d3f38a0
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 0x6d3f3863
call fcn.6d3f5895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d3f3830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d3f3830
call fcn.6d3f5895
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 0x6d3f3853
cmp dword [ebp - 0x70], edi
je 0x6d3f3896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x9c
leave
ret
Function at 0x6d3f555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d3f53ca
push 8
mov esi, eax
call fcn.6d3f582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d3f55c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d3f55cf
and dword [ebx + 4], 0
jmp 0x6d3f55e4
xor eax, eax
jmp 0x6d3f56af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d3f5695
push edi
call fcn.6d3f7a10
pop ecx
cmp eax, 4
jl 0x6d3f55bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d3f55bb
add eax, 0xfffffffd
push 0x6d40982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f562a
push 0x6d409828
push dword [ebp - 0x74]
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push 0x3b
push edi
call fcn.6d3f93f0
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push dword [ebp - 0x78]
call fcn.6d3f7a10
push edi
mov ebx, eax
call fcn.6d3f7a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d3f582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d3f9f14
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d3f9f14
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d3f5420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d3f55bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d3f5895
push ebx
call fcn.6d3f5895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x214
leave
ret

Function at 0x6d3f8259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d410030]
jne 0x6d3f8263
repz ret
jmp fcn.6d3fe721