joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fbe
Capabilities:
Delete file

Disassembly:
mov eax, 0x412b28
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x808
lea eax, [ebp - 0x814]
push esi
mov esi, ecx
push eax
call fcn.00407145
lea eax, [ebp - 0x814]
mov dword [esp], str.JLSms.MDE
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x414]
push eax
call fcn.00407145
lea eax, [ebp - 0x414]
push str.oemtmpii.bmp
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x414]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
push 4
push ecx
lea eax, [ebp - 0x814]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
or dword [ebp - 4], 0xffffffff
call fcn.00407777
add esp, 0xc
lea eax, [ebp - 0x414]
lea ecx, [esi + 0x60]
push eax
call fcn.00401290
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x40824b
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x400
lea eax, [esp]
push edi
push eax
call fcn.00407145
lea eax, [esp + 8]
mov dword [esp], str.JLSms.cfg
push eax
call sub.MSVCRT.dll_strcat
lea eax, [esp + 0xc]
push 0x4760b0
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4083aa
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push edi
push 0x45560
push 1
pop ebx
push ebx
push 0x23cc1e0
call esi
push edi
push 0x64
push ebx
push 0x476478
call esi
push edi
push 0x64
push ebx
push 0x476540
call esi
push edi
push 0x40
push ebx
push 0x24138b8
call esi
add esp, 0x40
push edi
push 0x40
push ebx
push 0x24138f8
call esi
push edi
push 0x20
push ebx
push 0x23cc1a0
call esi
push edi
push 0x14
push ebx
push 0x47674c
call esi
push edi
push 4
pop ebp
push ebp
push ebx
push 0x2413884
call esi
add esp, 0x40
push edi
push 0x64
push ebx
push 0x4768bc
call esi
push edi
push ebp
push ebx
push 0x5400ac
call esi
push edi
push ebp
push ebx
push 0x5400b0
call esi
push edi
push ebp
push ebx
push 0x5400b4
call esi
add esp, 0x40
push edi
push 0xa0
push ebx
push 0x477260
call esi
push edi
push 0x7850
push ebx
push 0x23c4950
call esi
push edi
push 0x400
push ebx
push 0x242aa84
call esi
push edi
push ebp
push ebx
push 0x242ae84
call esi
add esp, 0x40
push edi
push ebp
push ebx
push 0x242ae88
call esi
push edi
push ebp
push ebx
push 0x242aa64
call esi
push edi
push ebp
push ebx
push 0x242aa68
call esi
push edi
push ebp
push ebx
push 0x242aa6c
call esi
add esp, 0x40
push edi
push ebp
push ebx
push 0x242aa70
call esi
push edi
push ebp
push ebx
push 0x2413894
call esi
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x24
pop esi
pop ebp
pop ebx
jmp 0x4083b8
push 0
push 0x40
push str.save_error
call sub.MFC42.DLL_AfxMessageBox_1
pop edi
add esp, 0x400
ret
Function at 0x40abfb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
call esi
mov edi, dword [ebp + 8]
push 0x3e8
push ebx
push edi
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push 0x4004667f
push dword [eax + 4]
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x40ace2
cmp dword [ebp - 0x10], 0
jne 0x40ac8c
call esi
cmp dword [ebp - 0xc], 1
mov edi, eax
jne 0x40ac6e
sub eax, dword [ebp - 8]
push eax
call sub.MSVCRT.dll_labs
cmp eax, 0xc8
pop ecx
jge 0x40acdc
sub edi, dword [ebp - 8]
push edi
call sub.MSVCRT.dll_labs
cmp eax, 0x493e0
pop ecx
jg 0x40accf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
jmp 0x40ac30
mov ecx, dword [ebp + 0xc]
push 0
lea edx, [ebp - 0x410]
push 1
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
cmp eax, 1
jne 0x40ace9
mov al, byte [ebp - 0x410]
mov byte [ebx + edi], al
inc ebx
cmp dword [ebp + 0x10], 0
jl 0x40acbe
dec dword [ebp + 0x10]
je 0x40acd8
jmp 0x40ac30
call esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
jmp 0x40ac30
mov dword [ebp - 4], 2
jmp 0x40ace9
and byte [ebx + edi], 0
and dword [ebp - 4], 0
jmp 0x40ace9
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ee0a
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4133f3
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x68
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x477478]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
xor eax, eax
push 1
mov byte [ebp - 0x74], bl
stosd dword es:[edi], eax
pop esi
mov byte [ebp - 0x40], bl
stosw word es:[edi], ax
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x73]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x3f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x40]
push 0x14
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push 0x32
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._08lX
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004111d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41056f
Capabilities:
Accept command line arguments
Delete file
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc eax
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
xor eax, eax
pop ecx
cmp byte [ebp + eax - 0x400], 0x22
je 0x4105a4
inc eax
cmp eax, 0x400
jl 0x410590
jmp 0x4105ac
and byte [ebp + eax - 0x400], 0
lea eax, [ebp - 0x400]
push esi
push eax
lea eax, [ebp - 0x800]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
mov esi, dword [sym.imp.MSVCRT.dll_remove]
mov byte [ebp + eax - 0x801], 0x30
lea eax, [ebp - 0x800]
push eax
call esi
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
mov byte [ebp + eax - 0x801], 0x31
lea eax, [ebp - 0x800]
push eax
call esi
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
mov byte [ebp + eax - 0x801], 0x32
lea eax, [ebp - 0x800]
push eax
call esi
add esp, 0x20
push 0
push dword [ebp + 8]
push 0x410700
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x242aa74], eax
pop esi
leave
ret 4

Function at 0x41063c
Capabilities:
Accept command line arguments
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc eax
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
xor eax, eax
pop ecx
cmp byte [ebp + eax - 0x400], 0x22
je 0x410671
inc eax
cmp eax, 0x400
jl 0x41065d
jmp 0x410679
and byte [ebp + eax - 0x400], 0
lea eax, [ebp - 0x400]
push esi
push eax
lea eax, [ebp - 0x800]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
mov byte [ebp + eax - 0x801], 0x30
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
mov esi, dword [sym.imp.MSVCRT.dll_rename]
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x400]
push eax
call esi
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strlen
mov byte [ebp + eax - 0x801], 0x31
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x800]
push eax
call esi
add esp, 0x24
pop esi
leave
ret
Function at 0x410afe
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
xor ecx, ecx
movzx eax, byte [ecx + str.80_]
mov esi, dword [ebp + 8]
mov edx, eax
sar edx, 3
and eax, 7
mov dl, byte [edx + esi]
test byte [eax*2 + 0x477580], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x410b0c
and dword [ebp + 8], 0
mov dword [ebp - 4], 0x1e
cmp word [ebp + 0xc], 1
jne 0x410b4c
mov eax, dword [ebp - 4]
jmp 0x410b51
mov eax, dword [ebp + 8]
add eax, eax
and dword [ebp + eax*4 - 0xf0], 0
and dword [ebp + eax*4 - 0xf4], 0
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
mov eax, dword [ebp + 8]
xor edx, edx
movzx eax, byte [eax + 0x477628]
mov edi, eax
cmp edi, 0x1c
jge 0x410b88
mov bl, byte [ebp + edi - 0x74]
jmp 0x410b8f
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x410b7d
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x410baa
mov dl, byte [ebp + eax - 0x74]
jmp 0x410bb1
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x410b9f
xor edi, edi
mov edx, 0x477590
movzx ebx, byte [edi + 0x477638]
lea eax, [edi + 0x477650]
cmp byte [ebp + ebx - 0x3c], 0
je 0x410bdb
mov ebx, dword [edx]
or dword [esi], ebx
movzx eax, byte [eax]
cmp byte [ebp + eax - 0x3c], 0
je 0x410be9
mov eax, dword [edx]
or dword [ecx], eax
add edx, 4
inc edi
cmp edx, str.80_
jl 0x410bc3
sub dword [ebp - 4], 2
inc dword [ebp + 8]
cmp dword [ebp - 4], 0xfffffffe
jg 0x410b40
lea eax, [ebp - 0xf4]
push eax
call fcn.00410c18
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d235
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x108
call fcn.00594a82
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x6808c8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
push 0x108
call fcn.00594a82
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x6808c8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [ebp - 4]
call fcn.0040113b
mov eax, 0
cmp eax, ecx
jl 0x42d2ab
push 1
call fcn.00594a88
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov ebx, dword [ebp - 8]
call fcn.0040113b
mov eax, 0
cmp eax, ecx
jl 0x42d2d4
push 1
call fcn.00594a88
add esp, 4
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov byte [ebx], 0
mov eax, dword [ebp - 4]
add eax, 8
mov ecx, 0x100
mov ebx, 0x100
sub ebx, ecx
mov dword [ebx + eax], ebx
loop 0x42d2ea
push eax
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov edi, dword [edx + 4]
add edx, 8
mov esi, dword [ebp - 8]
add esi, 8
mov ecx, 0x100
xor ebx, ebx
cmp ebx, edi
jb 0x42d315
xor ebx, ebx
mov ah, byte [ebx + edx]
mov byte [esi], ah
inc esi
inc ebx
loop 0x42d30f
pop edi
xor ebx, ebx
sub esi, 0x100
xor eax, eax
mov ecx, 0x100
mov dl, byte [eax + esi]
add bl, dl
mov dl, byte [eax + edi]
add bl, dl
mov dl, byte [eax + edi]
mov dh, byte [ebx + edi]
mov byte [eax + edi], dh
mov byte [ebx + edi], dl
inc eax
loop 0x42d32e
mov esi, dword [ebp + 8]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
add esi, 8
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x597140
call fcn.00594a7c
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d38a
push ebx
call fcn.00594a76
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
add edx, 8
xor eax, eax
xor ebx, ebx
push ecx
movzx ecx, al
inc cl
push edx
mov dh, byte [ecx + edi]
add bl, dh
mov dl, byte [ebx + edi]
mov byte [ecx + edi], dl
mov byte [ebx + edi], dh
add dl, dh
movzx edx, dl
mov dl, byte [edx + edi]
mov cl, byte [eax + esi]
xor cl, dl
pop edx
mov byte [eax + edx], cl
inc eax
pop ecx
loop 0x42d39f
mov ebx, dword [ebp - 4]
push ebx
call fcn.00594a76
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00594a76
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5a7ba0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x644a6b
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.006343a6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5a7c22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0063197d
mov eax, dword [eax]
push 0x909224
push eax
call fcn.00622ef4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00634631
test bl, bl
je 0x5a7c22
push 0x909224
lea ecx, [esp + 0xc]
call fcn.00634a0d
push 0x90cdb8
lea ecx, [esp + 0xc]
call fcn.00634a0d
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 0x5a7c5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00634631
jmp 0x5a7d29
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 0x5a7ce2
lea edx, [esp + 0x7c]
push 0x90cdb4
push edx
call fcn.00622ef4
add esp, 8
test eax, eax
je 0x5a7ce2
lea eax, [esp + 0x7c]
push 0x90cdb0
push eax
call fcn.00622ef4
add esp, 8
test eax, eax
je 0x5a7ce2
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 0x5a7c72
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.00634631
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 0x5a8fa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x644bcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9159dc]
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 0x5a90d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5a9006
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00634631
xor eax, eax
jmp 0x5a914f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006347ba
push esi
lea ecx, [esp + 0xc]
call fcn.00634a49
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x90cdf0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5a912d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x90cde8
push SysReAllocString
call fcn.00604270
test eax, eax
jne 0x5a912d
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push 0x90cdd4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00604270
test eax, eax
jne 0x5a912d
lea eax, [esp + 0x14]
push 0x90cdcc
push eax
call fcn.006240a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a910c
lea ecx, [esp + 0x14]
push 0x90cdc8
push ecx
call fcn.00624020
mov esi, eax
add esp, 8
test esi, esi
jne 0x5a910c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x5a910f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0063476a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5a901e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00634631
xor eax, eax
jmp 0x5a914f
mov byte [esi], 0
push 0x90cdc4
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.00634631
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 0x5b0eaa
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x645668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00635cd6
xor ebp, ebp
mov dword [esi], 0x8f1f20
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.005d9940
call fcn.0059d530
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.00633400
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0059d530
mov dword [ebx], 0x8ef994
mov dword [edi], 0x8f1e44
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.0059d530
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x8f1e4c
mov dword [esi + 0xac], ebp
call fcn.0063ff32
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0063b670
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x5b1060
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6456f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x8f1e4c
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0063b6c7
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x8ef990
call fcn.0059d730
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0063b6c7
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x8ef990
call fcn.0059d730
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00633433
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x8ef990
call fcn.0059d730
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0063e060
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5c15a0
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 0x5c160e
cmp si, 0x69
ja 0x5c160e
add esi, 0xffd0
cmp si, 0x11
je 0x5c15de
push 0x11
call edi
test ax, ax
jge 0x5c15de
or esi, 0x2000
cmp si, 0x10
je 0x5c15f3
push 0x10
call edi
test ax, ax
jge 0x5c15f3
or esi, 0x4000
cmp si, 0x12
je 0x5c1608
push 0x12
call edi
test ax, ax
jge 0x5c1608
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x5c161b
mov esi, 0xbd
jmp 0x5c15cf
cmp si, 0x6e
jne 0x5c1628
mov esi, 0xbe
jmp 0x5c15cf
cmp si, 0x6f
jne 0x5c15c9
mov esi, 0xbf
jmp 0x5c15cf

Function at 0x5c30a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x927338]
xor edx, edx
cmp eax, edx
jne 0x5c30c6
xor eax, eax
mov byte [eax + 0x927238], al
inc eax
cmp eax, 0x100
jl 0x5c30ae
mov dword [0x927338], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x927238
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5c3157
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 0x5c312a
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 0x5c30f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5c31d0
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 0x5c3223
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 0x5c320a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c6760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6468f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.0063b47c
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.005c6630
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0063b4ee
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret