joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x413667
call fcn.0040c361
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x403eb0
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x403eb0
call fcn.004028eb
mov esi, eax
jmp 0x403fbb
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x403ed3
call fcn.004028eb
jmp 0x403fae
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x403ec9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
lea ecx, [ebx + 1]
cmp ecx, ebx
jae 0x403f06
mov esi, 0x8007000e
jmp 0x403fb0
xor eax, eax
mov byte [ebp - 4], 2
shld eax, ecx, 1
add ecx, ecx
cmp eax, esi
ja 0x403f3f
cmp ecx, 0xffffffff
ja 0x403f3f
cmp ecx, 0x400
jbe 0x403f31
push ecx
lea ecx, [ebp - 0x418]
call fcn.004028c6
jmp 0x403f5d
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x403f5d
push 0x80070216
call fcn.00404741
mov eax, 0x403f4f
ret
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x403efc
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x403ec9
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00403cdc
mov esi, eax
test edi, edi
je 0x403fbb
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x403fd4
lea ecx, [ebp - 0x418]
call fcn.004028b1
mov eax, esi
call fcn.0040c2b3
ret 0x10

Function at 0x40444e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4044a7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404498
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x404494
cmp esi, ecx
jae 0x404498
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x404484
cmp esi, ecx
jb 0x40449c
xor eax, eax
jmp 0x4044a6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40487f
Capabilities:
Identify system language via api
Inspect load icon resource

Disassembly:
push 0xc
mov eax, 0x413697
call fcn.0040c2c2
mov edi, ecx
push 0x65
push dword [0x41c168]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [edi + 4]
call ebx
call fcn.004043b8
push eax
lea ecx, [ebp - 0x10]
call fcn.004041ce
and dword [ebp - 4], 0
mov esi, dword [0x41c168]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
push 0x12c
push esi
mov dword [ebp - 0x14], eax
call fcn.00404a27
test eax, eax
je 0x4048f4
push dword [ebp - 0x10]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push 0x78
push esi
call fcn.00404a27
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
je 0x404919
push dword [ebp - 0x10]
push 0x3ea
push dword [edi + 4]
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push 0x67
push dword [ebp - 0x18]
call fcn.00404a27
test eax, eax
je 0x404937
push dword [ebp - 0x10]
push 1
push dword [edi + 4]
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push 0x68
push dword [ebp - 0x18]
call fcn.00404a27
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x40495a
push esi
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esi - 0x10]
call fcn.00404784
push 0x419010
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x3e9
push dword [edi + 4]
movzx eax, ax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x24], eax
xor esi, esi
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], esi
jle 0x4049ff
mov ecx, 0x3ff
and dword [ebp - 0x14], ecx
push esi
mov ecx, eax
call fcn.00401a0f
mov eax, dword [eax + 8]
push eax
push 0
push 0x143
push dword [edi + 0x24]
call ebx
mov ecx, dword [edi + 0x20]
push esi
call fcn.00401a0f
movzx eax, word [eax]
push eax
push esi
push 0x151
push dword [edi + 0x24]
call ebx
mov ecx, dword [edi + 0x20]
push esi
call fcn.00401a0f
mov ecx, 0x3ff
mov ax, word [eax]
and ax, cx
cmp word [ebp - 0x14], ax
jne 0x4049f6
push 0
push esi
push 0x14e
push dword [edi + 0x24]
call ebx
mov eax, dword [edi + 0x20]
inc esi
cmp esi, dword [eax + 4]
jl 0x40499f
xor esi, esi
push esi
push esi
push 0x147
push dword [edi + 0x24]
call ebx
test eax, eax
jns 0x404a1d
push esi
push esi
push 0x14e
push dword [edi + 0x24]
call ebx
xor eax, eax
call fcn.0040c290
ret 0x10
Function at 0x404d06
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x10
mov eax, 0x4136c2
call fcn.0040c2c2
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.004043b8
push eax
lea ecx, [ebp - 0x14]
call fcn.004041ce
mov esi, 0xf6
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x14]
call fcn.00404709
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ecx
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0040517f
test esi, esi
je 0x404d57
cmp esi, 0xf6
jbe 0x404d6d
mov esi, 0x41904c
push esi
call fcn.00405584
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004020fa
call fcn.004043b8
push eax
lea ecx, [ebp - 0x10]
call fcn.004041ce
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
push edi
mov edi, dword [ebp - 0x14]
jmp 0x404d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404de8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push eax
push 0x418748
push edi
lea eax, [ebp - 0x10]
push str._s_s_d.tmp
push eax
call fcn.004050b2
mov esi, dword [ebp - 0x10]
add esp, 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x404d88
push ecx
lea edx, [ebp - 0x10]
mov ecx, ebx
call fcn.0040505b
pop ecx
lea ecx, [esi - 0x10]
call fcn.00404784
lea ecx, [edi - 0x10]
call fcn.00404784
mov eax, ebx
call fcn.0040c290
ret
push 0x418b6c
mov ecx, ebx
call fcn.0040201a
jmp 0x404dd0

Function at 0x404eb6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x413718
call fcn.0040c2c2
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea ecx, [ebp - 0x14]
call fcn.0040201a
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov edi, eax
inc ebx
mov byte [ebp - 4], bl
push dword [edi + 0x4191b8]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040194c
pop ecx
push ebx
lea ecx, [ebp - 0x2c]
push dword [eax]
push 0x80000002
call fcn.004033b8
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00404784
mov esi, dword [ebp - 0x2c]
inc bl
je 0x404f61
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push str.Install
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x404f54
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x10], ebx
je 0x404f72
jmp 0x404f64
xor ebx, ebx
inc ebx
add edi, 4
cmp edi, 8
jb 0x404ee5
xor bl, bl
test esi, esi
je 0x404f7d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404784
mov al, bl
call fcn.0040c290
ret
Function at 0x404fd7
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
movzx eax, dx
push eax
push ecx
push dword [0x41c168]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x405052
lea edx, [ebp - 4]
mov ecx, eax
call fcn.00404f90
mov esi, eax
test esi, esi
je 0x405052
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x405052
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x405049
mov al, 1
jmp 0x405054
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40510a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push str.Bitness
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405176
cmp dword [ebp + 0x10], 1
je 0x40514e
cmp dword [ebp + 0x10], 2
je 0x40514e
push 0xd
pop eax
jmp 0x405176
mov ecx, dword [ebp - 4]
test esi, esi
je 0x405170
test ecx, ecx
je 0x40516b
test cl, 1
jne 0x405149
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x405170
jmp 0x405149
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c0aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407a77
mov dword [ebp - 0x14], eax
cmp dword [0x41d040], esi
jne 0x40c19d
push 0x800
push esi
push 0x415d04
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c12a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c27d
push esi
push esi
push 0x415d04
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c27d
push 0x415d1c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c27d
push eax
call ebx
push 0x415d28
push edi
mov dword [0x41d040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x415d38
push edi
mov dword [0x41d044], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x415d4c
push edi
mov dword [0x41d048], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d050], eax
test eax, eax
je 0x40c19a
push 0x415d68
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41d04c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c1c2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1b5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c1d7
push 4
pop eax
jmp 0x40c27f
cmp dword [ebp - 0x14], esi
je 0x40c1d7
push dword [0x41d040]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c1bc
mov eax, dword [0x41d04c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c235
cmp dword [0x41d050], edi
je 0x40c235
push eax
call ebx
push dword [0x41d050]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c235
test eax, eax
je 0x40c235
call ecx
test eax, eax
je 0x40c22a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c22a
test byte [ebp - 8], 1
jne 0x40c235
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c265
mov eax, dword [0x41d044]
cmp eax, edi
je 0x40c262
push eax
call ebx
test eax, eax
je 0x40c262
call eax
mov esi, eax
test esi, esi
je 0x40c262
mov eax, dword [0x41d048]
cmp eax, edi
je 0x40c262
push eax
call ebx
test eax, eax
je 0x40c262
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41d040]
call ebx
test eax, eax
je 0x40c27d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c27f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004053ff
mov esp, ebp
pop ebp
ret
Function at 0x448800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, eax
movzx eax, byte [esi]
inc esi
xor al, dl
shr edx, 8
xor edx, dword [eax*4 + 0x40607c]
loop 0x448803
mov eax, edx
pop esi
ret

Function at 0x4489cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00447ccc
xor eax, eax
push ebp
push 0x403a41
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x448a21
mov eax, dword [ebp - 4]
call fcn.00447b8c
mov esi, eax
test esi, esi
jle 0x448a21
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00447ce8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
xor edx, ebx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x448a07
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00447abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a48
lea eax, [ebp - 4]
call fcn.00447a28
ret

Function at 0x448dec
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00447ccc
mov eax, dword [ebp - 8]
call fcn.00447ccc
mov eax, dword [ebp + 0x10]
call fcn.00447ccc
mov eax, dword [ebp + 0xc]
call fcn.00447ccc
lea ebx, [ebp - 0x54]
xor eax, eax
push ebp
push 0x403f15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x4c
call fcn.00447648
mov eax, dword [0x40700c]
mov dword [ebx + 8], eax
mov dword [ebx], 0x4c
mov dword [ebx + 4], esi
mov dword [ebx + 0x34], 0x1004
mov eax, dword [ebp + 0xc]
call fcn.00447cdc
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 8]
call fcn.00448da4
mov dword [ebx + 0xc], eax
mov esi, 0x104
mov dword [ebx + 0x20], esi
mov eax, esi
add eax, 2
call fcn.004473b8
mov edi, eax
mov dword [ebx + 0x1c], edi
mov edx, dword [ebx + 0x20]
add edx, 2
mov eax, edi
xor ecx, ecx
call fcn.00447648
mov eax, dword [ebp - 4]
call fcn.00447cdc
mov edx, eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
call fcn.00448970
mov eax, dword [ebp + 0x10]
call fcn.00447cdc
mov dword [ebx + 0x2c], eax
push ebx
call fcn.0044891c
test eax, eax
je 0x448ec7
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x1c]
call fcn.00447b44
jmp 0x448ecf
mov eax, dword [ebp + 8]
call fcn.00447a28
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x448ee1
mov edx, dword [ebx + 0x20]
add edx, 2
call fcn.004473d0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x448eed
call fcn.00448960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f1c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00447a48
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00447a48
ret
Function at 0x429f60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ea00b
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.005c4f54
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x429fe2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005c1003
mov eax, dword [eax]
push 0x1c03fb4
push eax
call fcn.004ae0a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005c51df
test bl, bl
je 0x429fe2
push 0x1c03fb4
lea ecx, [esp + 0xc]
call fcn.005c55bb
push 0x1c03fc0
lea ecx, [esp + 0xc]
call fcn.005c55bb
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 0x42a01e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005c51df
jmp 0x42a0e9
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 0x42a0a2
lea edx, [esp + 0x7c]
push 0x1c03fbc
push edx
call fcn.004ae0a4
add esp, 8
test eax, eax
je 0x42a0a2
lea eax, [esp + 0x7c]
push 0x1c03fb8
push eax
call fcn.004ae0a4
add esp, 8
test eax, eax
je 0x42a0a2
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 0x42a032
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.005c51df
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 0x42a910
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ea08b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1c1de58]
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 0x42aa48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42a976
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c51df
xor eax, eax
jmp 0x42aabf
push 0x1c03ffc
lea ecx, [esp + 0xc]
call fcn.005c5368
push esi
lea ecx, [esp + 0xc]
call fcn.005c55f7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1c03ff4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42aa9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1c03fec
push closesocket
call fcn.004e62e0
test eax, eax
jne 0x42aa9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1c03fd8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004e62e0
test eax, eax
jne 0x42aa9d
lea eax, [esp + 0x14]
push 0x1c03fd0
push eax
call fcn.004af2c6
mov esi, eax
add esp, 8
test esi, esi
jne 0x42aa7c
lea ecx, [esp + 0x14]
push 0x1c03fcc
push ecx
call fcn.004af240
mov esi, eax
add esp, 8
test esi, esi
jne 0x42aa7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42aa7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005c5318
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42a98e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c51df
xor eax, eax
jmp 0x42aabf
mov byte [esi], 0
push 0x1c03fc8
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.005c51df
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 0x43fe90
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 0x43fefe
cmp si, 0x69
ja 0x43fefe
add esi, 0xffd0
cmp si, 0x11
je 0x43fece
push 0x11
call edi
test ax, ax
jge 0x43fece
or esi, 0x2000
cmp si, 0x10
je 0x43fee3
push 0x10
call edi
test ax, ax
jge 0x43fee3
or esi, 0x4000
cmp si, 0x12
je 0x43fef8
push 0x12
call edi
test ax, ax
jge 0x43fef8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43ff0b
mov esi, 0xbd
jmp 0x43febf
cmp si, 0x6e
jne 0x43ff18
mov esi, 0xbe
jmp 0x43febf
cmp si, 0x6f
jne 0x43feb9
mov esi, 0xbf
jmp 0x43febf

Function at 0x4418f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1c32fa0]
xor edx, edx
cmp eax, edx
jne 0x441916
xor eax, eax
mov byte [eax + 0x1c32ea0], al
inc eax
cmp eax, 0x100
jl 0x4418fe
mov dword [0x1c32fa0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1c32ea0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4419a7
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 0x44197a
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 0x441948
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x441a20
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 0x441a73
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 0x441a5a
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