joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a79f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a7bd8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004a50bc
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4fe0f4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4fe0f8], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4fe0fc], eax
mov eax, dword [0x50090c]
cmp dword [eax], 2
sete byte [0x4fd8c0]
push 0x4a7be4
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004a4b0c
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4fd8c0], 0
jne 0x4a7a87
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004a4c50
test al, al
je 0x4a7a87
mov eax, dword [ebp - 0x4c]
mov dword [0x5063b0], eax
jmp 0x4a7a8e
xor eax, eax
mov dword [0x5063b0], eax
call fcn.004a7730
and eax, 0x7f
cmp eax, 0x12
ja case.0x4a7a9f.0
jmp dword [eax*4 + 0x4a7aa6]
mov byte [0x4fd8ac], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8b0], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8b4], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8b8], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8bc], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8c4], 1
mov byte [0x4fd8c8], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8c4], 1
mov byte [0x4fd8cc], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8c4], 1
mov byte [0x4fd8cc], 1
mov byte [0x4fd8d0], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8d4], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8d8], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8dc], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8e0], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8e4], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8e8], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8ec], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8f0], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8f4], 1
jmp case.0x4a7a9f.0
mov byte [0x4fd8f8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7bdf
lea eax, [ebp - 4]
call fcn.00404d40
ret

Function at 0x4a9a94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4a9af8
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404fb0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040a118
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9aff
lea eax, [ebp - 0xc]
call fcn.00404d40
ret
Function at 0x4aa480
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4aa495
add esp, 0xfffffff0
call fcn.00404124
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403dd0
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00404d94
mov eax, esi
call fcn.004051d0
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4aa4e9
mov ecx, dword [0x500730]
mov dl, 1
mov eax, dword [0x4aa248]
call fcn.004a3b30
call fcn.00404674
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aa510
call fcn.0040417c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4eefcc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x1e], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051c0
lea eax, [ebp - 0x1c]
mov edx, dword [0x4f1344]
call fcn.00405884
xor eax, eax
push ebp
push 0x4ef198
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x500344]
mov eax, dword [eax]
cmp dword [eax + 0x4f4], 0
jne 0x4ef08b
push 1
xor ecx, ecx
xor edx, edx
mov eax, 0x4ef1b0
call fcn.004efc44
push 1
push 0
push 0
mov eax, dword [0x500344]
mov eax, dword [eax]
mov edx, dword [eax + 0x48c]
lea eax, [ebp - 0x24]
mov ecx, 0x4ef1d0
call fcn.00405058
mov eax, dword [ebp - 0x24]
call fcn.004051d0
push eax
push 0x4ef1f0
push 0
call sub.shell32.dll_ShellExecuteA
push 0x9c4
call sub.kernel32.dll_Sleep_2
push 0x4ef1f8
push 0
call sub.user32.dll_FindWindowA
mov edx, dword [0x500344]
mov edx, dword [edx]
mov dword [edx + 0x4f4], eax
push 0x3e8
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x500344]
mov eax, dword [eax]
mov eax, dword [eax + 0x4f4]
push eax
call sub.user32.dll_BringWindowToTop
push 0
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4f1324]
call fcn.004062f4
add esp, 4
lea eax, [ebp - 0x1c]
push eax
push 0x4f32d4
mov eax, dword [0x500344]
mov eax, dword [eax]
mov eax, dword [eax + 0x4f4]
push eax
call sub.user32.dll_EnumChildWindows
xor edi, edi
mov eax, dword [ebp - 8]
call fcn.00406140
mov ebx, eax
test ebx, ebx
jl 0x4ef15d
inc ebx
xor esi, esi
lea eax, [esi + esi*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8 + 8]
mov edx, 0x4ef22c
call fcn.00405168
jne 0x4ef159
inc edi
mov eax, edi
sub eax, 3
je 0x4ef108
dec eax
je 0x4ef135
jmp 0x4ef154
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
call fcn.00409fa0
mov eax, dword [ebp - 0x28]
call fcn.004051d0
push eax
push 0xff
push 0xc
lea eax, [esi + esi*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ef154
mov eax, dword [ebp - 4]
call fcn.004051d0
push eax
push 0xff
push 0xc
lea eax, [esi + esi*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8]
push eax
call sub.user32.dll_SendMessageA
cmp edi, 4
jg 0x4ef15d
inc esi
dec ebx
jne 0x4ef0e5
push 0x9c4
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef19f
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404d64
lea eax, [ebp - 0x1c]
mov edx, dword [0x4f1344]
call fcn.00405954
lea eax, [ebp - 4]
call fcn.00404d40
ret
Function at 0x4f07b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4f08b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x419c04]
call fcn.00403dd0
mov ebx, eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x500344]
mov eax, dword [eax]
mov eax, dword [eax + 0x400]
call fcn.00458f84
mov edx, dword [ebp - 8]
mov eax, 0x4f08c8
call fcn.0040531c
dec eax
push eax
lea edx, [ebp - 0xc]
mov eax, dword [0x500344]
mov eax, dword [eax]
mov eax, dword [eax + 0x400]
call fcn.00458f84
mov eax, dword [ebp - 0xc]
xor edx, edx
pop ecx
call fcn.00405238
push 0x4f08d4
push dword [ebp - 4]
push 0x4f08ec
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004050d4
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4f08f8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
push 0
push 0
push 0
push 0x4f090c
push 0x4f0920
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [esi + 0x370]
mov eax, dword [eax + 0x270]
mov edx, 0x4f0930
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x3a98
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f08ba
lea eax, [ebp - 0x10]
call fcn.00404d40
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d64
lea eax, [ebp - 4]
call fcn.00404d40
ret
Function at 0x4f3294
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, 0xff
call fcn.00402f98
mov ebx, eax
push 0
push 0
push 0xe
push esi
call sub.user32.dll_SendMessageA
inc eax
push ebx
push eax
push 0xd
push esi
call sub.user32.dll_SendMessageA
mov edx, edi
mov eax, ebx
call fcn.00405ce8
mov eax, ebx
call fcn.00402fb4
pop edi
pop esi
pop ebx
ret

Function at 0x4f4650
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a58
xor eax, eax
push ebp
push 0x4f479f
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f477f
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4f473a
push 0x64
call sub.kernel32.dll_Sleep_2
xor eax, eax
push ebp
push 0x4f4730
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x7c]
call fcn.00406af4
cmp word [ebp - 0x14], 0
jne 0x4f46d9
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xe0]
call fcn.00406af4
cmp dword [ebp - 0x18], 4
je 0x4f46fb
mov eax, dword [0x508cb8]
mov ebx, dword [eax + 0x43c]
cmp byte [ebx + 0x259], 0
jne 0x4f4726
mov eax, ebx
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xe0]
jmp 0x4f4726
mov eax, dword [0x508cb8]
mov eax, dword [eax + 0x43c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4789
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f473a
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [esp + 4]
jne 0x4f4769
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4f4690
jmp 0x4f4771
pop edx
pop eax
jge 0x4f4690
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4789
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f47a6
lea eax, [ebp - 4]
call fcn.004069e4
ret
Function at 0x4f7014
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051c0
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4f717c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004a7498
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004a74b8
mov ebx, eax
jmp 0x4f714e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404fb0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a628
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004097a4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004097a4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405168
je 0x4f712e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404fb0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004097a4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004097a4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405168
jne 0x4f7143
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004a74d8
mov ebx, eax
test ebx, ebx
jne 0x4f708f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f7183
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404d64
lea eax, [ebp - 4]
call fcn.00404d40
ret
Function at 0x402d00
Capabilities:
Get disk information

Disassembly:
sub esp, 0x228
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x234]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2f], 0
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x140]
push 0x104
lea eax, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 8]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
add esp, 0x228
ret 4

Function at 0x4042f0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
jne 0x4042fd
pop esi
ret 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404323
xor eax, eax
pop esi
ret 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0xc]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret 8
Function at 0x404770
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x40623c
call fcn.00404880
mov dword [esi + 4], eax
xor eax, eax
lea ecx, [esi + 0x20]
mov byte [esi + eax + 0x18], 0
mov dword [ecx], 0xffffffff
inc eax
add ecx, 4
cmp eax, 5
jl 0x404786
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
test eax, eax
jne 0x404837
push str.DiskRW32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 8], eax
je 0x404823
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CallReadPhysicalSector
push eax
call edi
mov dword [0x40727c], eax
mov eax, dword [esi + 8]
push str.CallWritePhysicalSector
push eax
call edi
mov dword [0x407278], eax
mov ecx, dword [esi + 8]
push str.CallReadPhysicalSectorEX
push ecx
call edi
mov dword [0x407270], eax
mov edx, dword [esi + 8]
push str.CallWritePhysicalSectorEX
push edx
call edi
mov dword [0x407274], eax
mov eax, dword [esi + 8]
push str.CallTestExtBios
push eax
call edi
mov dword [0x40726c], eax
mov ecx, dword [esi + 8]
push str.GetDriveInfo
push ecx
call edi
mov dword [0x407268], eax
pop edi
push 0
mov ecx, esi
call fcn.004048d0
test eax, 0xfff
je 0x404837
mov byte [esi + 0x18], 1
mov eax, esi
pop esi
ret

Function at 0x404a20
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
cmp bl, 0x84
jbe 0x404a36
xor eax, eax
pop ebx
add esp, 8
ret 0x14
mov eax, dword [ecx + 4]
test eax, eax
jne 0x404ac6
mov eax, ebx
and eax, 0xff
mov dl, byte [eax + ecx - 0x68]
test dl, dl
je 0x404a7e
mov eax, dword [0x407270]
test eax, eax
jne 0x404a60
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebx
call eax
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
inc eax
push eax
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00404b30
mov eax, dword [0x40727c]
test eax, eax
jne 0x404aa3
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push ebx
call eax
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esp + 0x14]
and ebx, 0xff
mov edx, eax
mov ebx, dword [ecx + ebx*4 - 0x1e0]
sar edx, 0x17
cmp ebx, 0xffffffff
mov dword [esp + 4], edx
je 0x404b16
lea ecx, [esp + 4]
push 0
shl eax, 9
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push 0
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esp + 0x14]
pop ebx
add esp, 8
ret 0x14
Function at 0x42c830
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa83b
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.0049e8fb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c8b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049bc70
mov eax, dword [eax]
push 0x4fc250
push eax
call fcn.0048d014
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049eb86
test bl, bl
je 0x42c8b2
push 0x4fc250
lea ecx, [esp + 0xc]
call fcn.0049ef16
push 0x4ffe34
lea ecx, [esp + 0xc]
call fcn.0049ef16
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 0x42c8ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049eb86
jmp 0x42c9b9
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 0x42c972
lea edx, [esp + 0x7c]
push 0x4ffe30
push edx
call fcn.0048d014
add esp, 8
test eax, eax
je 0x42c972
lea eax, [esp + 0x7c]
push 0x4ffe2c
push eax
call fcn.0048d014
add esp, 8
test eax, eax
je 0x42c972
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 0x42c902
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.0049eb86
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 0x42d1d0
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 0x42d232
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 0x42d240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa8bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x508cb4]
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 0x42d378
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42d2a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049eb86
xor eax, eax
jmp 0x42d3ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049ecc3
push esi
lea ecx, [esp + 0xc]
call fcn.0049ef52
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 0x42d3cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0042d1d0
test eax, eax
jne 0x42d3cd
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 bind
mov ecx, edi
call fcn.0042d1d0
test eax, eax
jne 0x42d3cd
lea eax, [esp + 0x14]
push 0x4ffe48
push eax
call fcn.0048e2a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d3ac
lea ecx, [esp + 0x14]
push 0x4ffe44
push ecx
call fcn.0048e220
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d3ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42d3af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049ec73
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42d2be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049eb86
xor eax, eax
jmp 0x42d3ef
mov byte [esi], 0
push 0x4ffe40
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.0049eb86
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 0x4438f0
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 0x44395e
cmp si, 0x69
ja 0x44395e
add esi, 0xffd0
cmp si, 0x11
je 0x44392e
push 0x11
call edi
test ax, ax
jge 0x44392e
or esi, 0x2000
cmp si, 0x10
je 0x443943
push 0x10
call edi
test ax, ax
jge 0x443943
or esi, 0x4000
cmp si, 0x12
je 0x443958
push 0x12
call edi
test ax, ax
jge 0x443958
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44396b
mov esi, 0xbd
jmp 0x44391f
cmp si, 0x6e
jne 0x443978
mov esi, 0xbe
jmp 0x44391f
cmp si, 0x6f
jne 0x443919
mov esi, 0xbf
jmp 0x44391f

Function at 0x4451b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x519718]
xor edx, edx
cmp eax, edx
jne 0x4451d6
xor eax, eax
mov byte [eax + 0x519618], al
inc eax
cmp eax, 0x100
jl 0x4451be
mov dword [0x519718], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x519618
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x445267
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 0x44523a
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 0x445208
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4452e0
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 0x445333
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 0x44531a
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