joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a25f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a2692
cmp dword [ebx + 0x94], 0
jne 0x4a268c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a253c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a268c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a2652
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a268c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f094
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a2661
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a28b0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b4280]
cmp dword [eax + 0x170], 0
je 0x4a2a15
test bl, bl
jne 0x4a2963
cmp dword [esi + 0x9c], 0
jne 0x4a2958
mov eax, esi
call fcn.004a57a0
push eax
push 0x4a27bc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a2929
mov eax, dword [0x4b4280]
cmp byte [eax + 0xd3], 0
je 0x4a2929
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a2929
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a2912
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a2958
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f094
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a2938
inc dword [esi + 0x9c]
jmp 0x4a2a15
cmp dword [esi + 0x9c], 0
jle 0x4a2a15
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a2a15
cmp dword [esi + 0x44], 0
je 0x4a29c0
mov eax, dword [0x4b4280]
cmp byte [eax + 0xd3], 0
je 0x4a29c0
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a29c0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a29a9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a29ef
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f094
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a29cf
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x495b38]
call fcn.00407fc8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a3664
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a36cf
cmp byte [ebx + 0xd3], 0
jne 0x4a36cf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406940
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a36bc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a36dc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
jmp 0x4a36dc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a4f04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a4f72
mov eax, esi
call fcn.0047d684
test al, al
je 0x4a4f72
mov eax, dword [ebx + 0x84]
call fcn.0047d2d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a4f72
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a4f66
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047d2d8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004742ac
jmp 0x4a4f72
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a4d3c
pop esi
pop ebx
ret
Function at 0x4010f0
Capabilities:
Execute command
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [0x5d0998]
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor esi, esi
lea ebx, [esi + 0x5c]
nop
call edi
cdq
idiv ebx
add dl, 0x1e
cmp dl, 0x30
jl 0x401162
cmp dl, 0x39
jle 0x401173
cmp dl, 0x41
jl 0x40116c
cmp dl, 0x5a
jle 0x401173
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x401179
mov byte [ebp + esi - 0xc], dl
jmp 0x40117e
test esi, esi
js 0x40117e
dec esi
inc esi
cmp esi, 7
jl 0x401150
lea eax, [ebp - 0xc]
mov byte [ebp - 5], 0
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x118]
push str._s_s.tmp
push eax
call fcn.00401050
lea eax, [ebp - 0x118]
push 0x40316c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
push esi
push 0x1cb600
push 1
push 0x405018
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x2c
push 0x5d09d8
push dword [0x5d09dc]
call dword [0x5d09d0]
push dword [0x5d09d8]
push 0
push 0x1fffff
call dword [0x5d09b0]
mov esi, eax
test esi, esi
jne 0x401225
push 0x403170
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
call fcn.00401090
push 0x1388
call dword [0x5d09b4]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401230
push 4
push 0x3000
sub ecx, edx
push ecx
push 0
push esi
call dword [0x5d09c4]
lea ecx, [ebp - 0x118]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401255
push 0
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
push edi
push esi
call dword [0x5d09c8]
push 0
push 0
push edi
push dword [0x5d097c]
push 0
push 0
push esi
call dword [0x5d09cc]
push esi
call dword [0x5d09a0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004017ea
mov esp, ebp
pop ebp
ret
Function at 0x4012a0
Capabilities:
Create process on windows
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
push 0x4031a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push 0x4031b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4031c4
push edi
mov dword [0x5d0978], eax
call eax
push 0x4031d4
push edi
mov dword [0x5d0994], eax
call dword [0x5d0978]
push str.user32.dll
mov dword [0x5d097c], eax
call eax
mov esi, eax
push 0x4031f0
push esi
call dword [0x5d0978]
push str.SetConsoleTitleA
push edi
mov dword [0x5d0980], eax
call dword [0x5d0978]
push 0x403210
push edi
mov dword [0x5d0984], eax
call dword [0x5d0978]
push 0x403220
push edi
mov dword [0x5d0988], eax
call dword [0x5d0978]
push 0x40323c
push edi
mov dword [0x5d098c], eax
call dword [0x5d0978]
push str.OpenProcess
push edi
mov dword [0x5d0990], eax
call dword [0x5d0978]
push 0x403260
push edi
mov dword [0x5d09b0], eax
call dword [0x5d0978]
push str.VirtualAllocEx
push edi
mov dword [0x5d09b4], eax
call dword [0x5d0978]
push str.WriteProcessMemory
push edi
mov dword [0x5d09c4], eax
call dword [0x5d0978]
push str.CreateRemoteThread
push edi
mov dword [0x5d09c8], eax
call dword [0x5d0978]
push str.GetWindowThreadProcessId
push esi
mov dword [0x5d09cc], eax
call dword [0x5d0978]
push 0x4032bc
push edi
mov dword [0x5d09d0], eax
call dword [0x5d0978]
push 0x4032d0
push edi
mov dword [0x5d09d4], eax
call dword [0x5d0978]
push 0x4032dc
push edi
mov dword [0x5d09a0], eax
call dword [0x5d0978]
push 0x4032ec
mov dword [0x5d0998], eax
call dword [0x5d0984]
push 0xfffffffffffffff5
call dword [0x5d0988]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x5d09e0], eax
nop dword [eax]
nop dword [eax + eax]
push str.Garrys_Mod
push 0
call dword [0x5d0980]
test eax, eax
jne 0x4014c8
push str.Garrys_Mod
push eax
call dword [0x5d0980]
mov ecx, dword [0x5d09dc]
cmp ecx, eax
jne 0x40148e
push str.Garrys_Mod
push 0
call dword [0x5d0980]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Game_not_found__running.._n
mov dword [0x5d09dc], eax
call fcn.004014f0
push 0
push 0
push 0
push str.steam:__rungameid_4000
push 0x40335c
push 0
call esi
push 0x4e20
call edi
mov ecx, dword [0x5d09dc]
test ecx, ecx
je 0x401420
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Injecting.._n
call fcn.004014f0
call fcn.004010f0
push 0x403170
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0x3e8
call dword [0x5d09b4]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Injecting.._n
call fcn.004014f0
push str.Garrys_Mod
push 0
call dword [0x5d0980]
mov dword [0x5d09dc], eax
jmp 0x4014a2
Function at 0x41f2d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40a015
lea edi, [esi - 0x9015]
push edi
or ebp, 0xffffffff
jmp 0x41f2f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f2f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f2e8
mov eax, 1
add ebx, ebx
jne 0x41f30b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f300
jne 0x41f31c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f300
xor ecx, ecx
sub eax, 3
jb 0x41f330
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f3a2
mov ebp, eax
add ebx, ebx
jne 0x41f33b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f36c
inc ecx
add ebx, ebx
jne 0x41f358
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f34d
jne 0x41f369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f34d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f38c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f37d
jmp 0x41f2ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f38c
add edi, ecx
jmp 0x41f2ee
pop esi
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f3eb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f4c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f3a9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f4c8]
or eax, eax
je 0x41f3e5
mov dword [ebx], eax
add ebx, 4
jmp 0x41f3c6
call dword [esi + 0x1f4c4]
mov ebp, dword [esi + 0x1f4cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41f41f
sub esp, 0xffffff80
jmp section.UPX0

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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x591e2181
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x42cd70
nop
mov ecx, 0x760e23b7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000d8f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006f49b
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.100644df
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000d972
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100623f1
mov eax, dword [eax]
push 0x10088c40
push eax
call fcn.100553a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1006476a
test bl, bl
je 0x1000d972
push 0x10088c40
lea ecx, [esp + 0xc]
call fcn.10064afa
push 0x10088c4c
lea ecx, [esp + 0xc]
call fcn.10064afa
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 0x1000d9ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1006476a
jmp 0x1000da79
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 0x1000da32
lea edx, [esp + 0x7c]
push 0x10088c48
push edx
call fcn.100553a4
add esp, 8
test eax, eax
je 0x1000da32
lea eax, [esp + 0x7c]
push 0x10088c44
push eax
call fcn.100553a4
add esp, 8
test eax, eax
je 0x1000da32
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 0x1000d9c2
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.1006476a
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 0x1000e280
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 0x1000e2e2
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
Function at 0x1000e2f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006f51b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10092ba4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x1000e428
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000e356
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006476a
xor eax, eax
jmp 0x1000e49f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100648a7
push esi
lea ecx, [esp + 0xc]
call fcn.10064b36
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1000e47d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000e280
test eax, eax
jne 0x1000e47d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.1000e280
test eax, eax
jne 0x1000e47d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.100563e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000e45c
lea ecx, [esp + 0x14]
push 0x10088c58
push ecx
call fcn.10056360
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000e45c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000e45f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10064857
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000e36e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1006476a
xor eax, eax
jmp 0x1000e49f
mov byte [esi], 0
push 0x10088c54
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.1006476a
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x1001d4e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1001d54e
cmp si, 0x69
ja 0x1001d54e
add esi, 0xffd0
cmp si, 0x11
je 0x1001d51e
push 0x11
call edi
test ax, ax
jge 0x1001d51e
or esi, 0x2000
cmp si, 0x10
je 0x1001d533
push 0x10
call edi
test ax, ax
jge 0x1001d533
or esi, 0x4000
cmp si, 0x12
je 0x1001d548
push 0x12
call edi
test ax, ax
jge 0x1001d548
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001d55b
mov esi, 0xbd
jmp 0x1001d50f
cmp si, 0x6e
jne 0x1001d568
mov esi, 0xbe
jmp 0x1001d50f
cmp si, 0x6f
jne 0x1001d509
mov esi, 0xbf
jmp 0x1001d50f

Function at 0x1001ebf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100a32e0]
xor edx, edx
cmp eax, edx
jne 0x1001ec16
xor eax, eax
mov byte [eax + 0x100a31e0], al
inc eax
cmp eax, 0x100
jl 0x1001ebfe
mov dword [0x100a32e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100a31e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001eca7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1001ec7a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1001ec48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001ed20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1001ed73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1001ed5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x10025bb8
cmp ebp, ebx
jle 0x10025bb8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x10025a7e
dec eax
or eax, 0xfffffff8
inc eax
je 0x10025a85
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x10025a94
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x10025a9b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.100644ab
add esp, 4
cmp eax, ebx
je 0x10025abc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.100644ab
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x10025bae
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x10025b95
mov al, byte [edx]
cmp al, 0xc0
jbe 0x10025b81
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x10025b76
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x10025b84
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x10025b84
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x10025b20
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x10025b11
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret