joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417015
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x421dc0
call fcn.00417964
push 1
call fcn.004173af
pop ecx
test al, al
jne 0x416ebe
push 7
call fcn.00417ad7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041737a
mov byte [ebp - 0x24], al
mov eax, dword [0x424890]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x416eb7
test eax, eax
jne 0x416f28
mov dword [0x424890], ecx
push 0x41a404
push 0x41a3ec
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x416f0b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41700f
push 0x41a3e8
push 0x41a3bc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x424890], 2
jmp 0x416f2d
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041750c
pop ecx
call fcn.00417acb
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x416f5d
push esi
call fcn.0041747f
pop ecx
test al, al
je 0x416f5d
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00417d06
call esi
call fcn.00417ad1
mov esi, eax
cmp dword [esi], edi
je 0x416f7b
push esi
call fcn.0041747f
pop ecx
test al, al
je 0x416f7b
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00417bec
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
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.00417c1f
test al, al
jne 0x416fb4
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x416fbd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00417529
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41700f
call fcn.004179aa
ret
call fcn.00416d24
jmp 0x416e9f

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1003596d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
lea esp, [esp + 0x14]
je 0x1003555a
dec si
btr dx, 0xd
not si
mov esi, dword [eax + 0x3c]
rol dh, cl
dec dh
test ax, 0xec21
add esi, eax
ror dx, cl
jmp 0x1004b8a6

Function at 0x1004f86f
Capabilities:
Check for software breakpoints

Disassembly:
call 0x1004b8f8
cmp si, bp
sub ecx, ebx
bsr si, bp
push ebp
lea esi, [esp + 4]
push dword [esp]
stc
cmp al, dh
sub edi, 4
clc
cmp di, ax
bt cx, 3
clc
push dword [edi]
pop dword [esp + 4]
cmp bh, 0xcc
push 0x8d4b9035
cmp edi, ebx
jmp 0x1004bf72
push esp
lea esp, [esp + 0x20]
jne 0x1003555a
ror cx, cl
bt bx, di
mov ecx, edi
shr esi, 0x1c
jmp 0x1004dbd5
Function at 0x409769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d190
cmp edx, dword [eax]
je 0x40978b
add eax, 8
inc ecx
cmp eax, 0x40d220
jl 0x40977c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d190]
jne 0x4098b9
mov eax, dword [0x40dbb0]
cmp eax, 1
je 0x409893
test eax, eax
jne 0x4097bc
cmp dword [0x40d0e4], 1
je 0x409893
cmp edx, 0xfc
je 0x4098b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4097f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040a490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040a490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c45c
push edi
call fcn.0040af00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a680
lea eax, [ebp - 0xa0]
push 0x40c43c
push eax
call fcn.0040a680
push dword [esi + 0x40d194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ae75
add esp, 0x2c
pop edi
jmp 0x4098b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40d194]
push 0
push eax
push dword [esi]
call fcn.0040a490
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 0x43b63b
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
sub ecx, 0x7c80fb37
mov ecx, 0x7538d3eb
call fcn.0043b68a
add eax, 0x4ae52103
sub ecx, 1
mov ecx, 0xc9c19bd
xor dword [edx], ebx
and eax, ecx
add eax, eax
add edx, 1
mov ecx, 0xbd437f32
sub ecx, 0xd6c4039b
inc ecx
cmp edx, esi
jne fcn.0043b63b
sub ecx, 1
add ecx, ecx
or ecx, ecx
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7efc0eec
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4aa86793
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10005dab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.1001a7c5
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x10005dd6
xor eax, eax
jmp 0x10005e7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x10005dcf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10005dcf
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10001f34
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x10005e2b
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x10005e1a
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.10004ae4
push edi
mov ebx, eax
call fcn.10001f5f
test ebx, ebx
pop ecx
je 0x10005e6d
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.100051ff
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.100052b1
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x1000d158
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1000d191
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1000d0f3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100082cf
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x1000ef48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x1000ef8b
call fcn.1001a7c5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1000ef8b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000efa6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1000eaff
test ebx, ebx
mov esi, eax
je 0x1000efa4
test edi, edi
je 0x1000efa4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x1001044b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1005e655
call fcn.10036201
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x10010470
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100104bc
call fcn.10015b8b
push eax
lea ecx, [ebp - 0x10]
call fcn.10001ac0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000f49e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001540
mov eax, esi
call fcn.100362d9
ret 8

Function at 0x10013082
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x100130c8
call fcn.1001a7c5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100130c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x1001310b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x100130f4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x100130f4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x10013108
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100148e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.1001a7c5
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001491b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10014506
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10014973
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x10014993
cmp dword [edi + 0x54], 0
jne 0x10014993
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1001a7c5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1001493a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x10033763
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10075890]
jne 0x1003376d
repz ret
jmp fcn.10038461

Function at 0x10040e1a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10039aa8
xor ebx, ebx
cmp dword [0x10079748], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10040eef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10040e5a
xor eax, eax
jmp 0x10040fb3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10068108
push edi
call esi
cmp eax, ebx
je 0x10040e53
push eax
call fcn.10039a45
mov dword [esp], 0x100680f8
push edi
mov dword [0x10079748], eax
call esi
push eax
call fcn.10039a45
mov dword [esp], 0x100680e4
push edi
mov dword [0x1007974c], eax
call esi
push eax
call fcn.10039a45
mov dword [0x10079750], eax
lea eax, [ebp - 8]
push eax
call fcn.10036ba5
test eax, eax
pop ecx
pop ecx
je 0x10040ebd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003936a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10040eef
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10039a45
cmp eax, ebx
pop ecx
mov dword [0x10079758], eax
je 0x10040eef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10039a45
pop ecx
mov dword [0x10079754], eax
mov eax, dword [0x10079754]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10040f68
cmp dword [0x10079758], esi
je 0x10040f68
push eax
call fcn.10039ab1
pop ecx
call eax
cmp eax, ebx
je 0x10040f35
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10079758]
call fcn.10039ab1
pop ecx
call eax
test eax, eax
je 0x10040f35
test byte [ebp - 0x18], 1
jne 0x10040f68
lea eax, [ebp - 0xc]
push eax
call fcn.10036bdc
test eax, eax
pop ecx
je 0x10040f50
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1003936a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10040f5f
or dword [ebp + 0x10], 0x200000
jmp 0x10040f99
or dword [ebp + 0x10], 0x40000
jmp 0x10040f99
mov eax, dword [0x1007974c]
cmp eax, esi
je 0x10040f99
push eax
call fcn.10039ab1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10040f99
mov eax, dword [0x10079750]
cmp eax, esi
je 0x10040f99
push dword [ebp - 4]
push eax
call fcn.10039ab1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10079748]
call fcn.10039ab1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10056360
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10079890], 0
jne 0x10056375
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0
push 0x10069c18
mov eax, dword [0x10079890]
push eax
call fcn.1004ecd0
add esp, 8
mov dword [ebp - 4], eax
call dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41c630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x41c652
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c648
mov eax, 1
add ebx, ebx
jne 0x41c66b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c660
jne 0x41c67c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c660
xor ecx, ecx
sub eax, 3
jb 0x41c690
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c702
mov ebp, eax
add ebx, ebx
jne 0x41c69b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c6a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c6cc
inc ecx
add ebx, ebx
jne 0x41c6b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c6ad
jne 0x41c6c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c6ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c6ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c6dd
jmp 0x41c64e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c6ec
add edi, ecx
jmp 0x41c64e
pop esi
mov edi, esi
mov ecx, 0x5a5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c70a
cmp byte [edi], 0xa
jne 0x41c70a
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 0x41c70f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41c787
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c814]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c8a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c73c
mov ecx, edi
jns 0x41c76b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c8a4]
or eax, eax
je 0x41c781
mov dword [ebx], eax
add ebx, 4
jmp 0x41c759
call dword [esi + 0x1c8b4]
mov ebp, dword [esi + 0x1c8a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x41c7bb
sub esp, 0xffffff80
jmp 0x4090f1

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 0x43a734
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0043a8e4
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x43a832
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x43a7d5
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x43a818
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43a7ec
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x43a807
test al, 0x40
je 0x43a7fe
mov ecx, dword [edi + 0x20]
jmp 0x43a805
test al, 0x80
je 0x43a818
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x43a818
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x43a7a4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x46e390
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51436b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0050860b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46e412
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00505b0a
mov eax, dword [eax]
push 0x5c0eb0
push eax
call fcn.004f7164
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00508896
test bl, bl
je 0x46e412
push 0x5c0eb0
lea ecx, [esp + 0xc]
call fcn.00508c26
push 0x5c0ebc
lea ecx, [esp + 0xc]
call fcn.00508c26
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46e44e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00508896
jmp 0x46e519
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x46e4d2
lea edx, [esp + 0x7c]
push 0x5c0eb8
push edx
call fcn.004f7164
add esp, 8
test eax, eax
je 0x46e4d2
lea eax, [esp + 0x7c]
push 0x5c0eb4
push eax
call fcn.004f7164
add esp, 8
test eax, eax
je 0x46e4d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46e462
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00508896
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x46ed20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46ed82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc