joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x403203
pop dword [ebp - 0x30]
mov eax, 0x2bb45471
add eax, 0xd48bdd92
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xd1ba1f86
sub dword [ebp - 0x40], 0x8367da3b
mov dword [ebp - 0x3c], 0x740a7c9e
add dword [ebp - 0x3c], 0xbe28cfa7
mov dword [ebp - 0x38], 0x6dbf7f81
sub dword [ebp - 0x38], 0x21733b53
mov dword [ebp - 0x34], 0x24deada8
sub dword [ebp - 0x34], 0x24deada8
lea eax, [ebp - 0x40]
push eax
mov eax, 0xd70685bb
sub eax, 0xd6c6052f
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x3c5be6cd
add dword [ebp - 0x40], 0x38168289
mov dword [ebp - 0x3c], 0x2c29912
sub dword [ebp - 0x3c], 0xc156379d
mov dword [ebp - 0x38], 0xe610d16e
add dword [ebp - 0x38], 0x7d5e9afe
mov dword [ebp - 0x34], 0xb3f5275c
add dword [ebp - 0x34], 0x4c0ad8a4
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x72eedb85
add eax, 0x8d51a54f
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37735
push 0
call eax
mov ecx, 0x4b6d
xor edi, edi
add edi, eax
mov ebx, 0x149534e8
sub ebx, 0x145424e8
add ebx, dword [ebp - 0x30]
mov edx, 0xbb6e8ea
add dword [ebp - 8], 0x94aacdc9
mov esi, dword [ebx]
mov dword [ebp - 0x2c], 0x4dcfa58
xor esi, edx
xor dword [ebp - 0x14], edx
mov dword [edi], esi
add dword [ebp - 0x28], 0x8c9ec956
add edi, 0x66447ee7
add edi, 0x99bb811d
add ebx, 0xca6c2de2
sub ebx, 0xca6c2dde
loop 0x40331b
add eax, 0x12087
mov ebx, eax
add eax, 0x2eec5b2b
sub eax, 0x2eec5b26
mov ecx, 0xb6c02f9f
sub ecx, 0xb6802f9f
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x472fc0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a0800]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00472f55
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00459580
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47300f
cmp dword [ebp - 0x1c], 5
jb 0x473027
jmp 0x473023
cmp dword [ebp - 0x10], 1
jne 0x473027
cmp dword [ebp - 0x1c], 4
ja 0x473023
jne 0x473027
cmp dword [ebp - 0x18], 0
jbe 0x473027
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x483844
call fcn.0041b8d0
test eax, eax
jge 0x473048
mov byte [0x4a6454], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00454f77
add ebp, 0x78
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4a07e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x4a0805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4a0878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4a083a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x4a086d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4a086b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x4a0831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4a07fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x44c6e4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x586e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x44c72f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0044cbef
test al, al
jne 0x44c729
sub edx, 2
cmp edx, edi
jne 0x44c70f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x44c751
lea eax, [edi + 2]
cmp edx, eax
je 0x44c751
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044c2dd
add esp, 0x10
jmp 0x44c84b
push esi
lea ecx, [ebp - 0x255]
call fcn.0044cbef
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44c794
push dword [ebp - 0x25c]
jmp 0x44c741
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x44c7d1
cmp word [ebp - 0x226], 0
je 0x44c7f2
cmp word [ebp - 0x226], ax
jne 0x44c7d1
cmp word [ebp - 0x224], 0
je 0x44c7f2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044c2dd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x44c83e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x44c7ab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44c826
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44c84b
push 0x44bbc3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403e36
add esp, 0x10
jmp 0x44c81b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025cc
leave
ret
Function at 0x460744
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5895e8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460784
cmp byte [ebx], 0xa
jne 0x460784
or byte [eax + edi + 0x28], 4
jmp 0x460789
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x460887
mov al, byte [edx]
cmp al, 0x1a
je 0x460869
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4607b8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4607dd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4607e7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46079a
jmp 0x460887
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460864
cmp dword [ebp - 0xc], 0
je 0x460864
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5895e8]
test byte [eax + edi + 0x28], 0x48
je 0x46083e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x460829
mov byte [esi], dl
jmp 0x46083a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5895e8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x460887
cmp byte [ebp - 1], 0xa
jne 0x46084d
cmp esi, ebx
jne 0x46084d
mov byte [esi], 0xa
jmp 0x460886
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401613
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x460887
mov byte [esi], 0xd
jmp 0x460886
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5895e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x460883
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x460887
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4608e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5895e8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460926
cmp word [esi], dx
jne 0x460926
or byte [edi + eax + 0x28], 4
jmp 0x46092b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x460a7e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x460a5e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46096d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4609a3
cmp eax, edx
jae 0x4609af
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x460945
jmp 0x460a7e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x460a5a
cmp dword [ebp - 0x14], 0
je 0x460a5a
mov eax, dword [ebx*4 + 0x5895e8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x460a32
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4609fb
mov word [esi], cx
jmp 0x460a2e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5895e8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5895e8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5895e8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x460a7e
pop ebx
cmp word [ebp - 4], bx
jne 0x460a43
cmp esi, dword [ebp + 0xc]
jne 0x460a43
mov word [esi], bx
jmp 0x460a7b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401613
add esp, 0x10
cmp word [ebp - 4], bx
je 0x460a7e
push 0xd
jmp 0x460a77
mov ecx, dword [ebx*4 + 0x5895e8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x460a75
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x460a7e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402060
Capabilities:
Get graphical window text

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

Function at 0x402d65
Capabilities:
Get graphical window text

Disassembly:
sub dword [esp + 4], 4
jmp method.SOUI::TNativeWndProxy_struct_SOUI::IHostWnd_.virtual_192

Function at 0x403250
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x288
mov eax, dword [0x5274d0]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0048cee0
add esp, 0xc
lea eax, [esp + 0x20]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x20]
push 0x5c
push eax
call fcn.0048c379
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 8]
xor edi, edi
call fcn.0040470e
push 0x50b434
lea ecx, [esp + 0xc]
call fcn.004048e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.00420a2f
push esi
lea ecx, [esp + 0xc]
call fcn.00402e70
test eax, eax
je 0x4033d9
lea ecx, [esp + 8]
call fcn.00403100
lea ecx, [esp + 8]
call fcn.004031a0
push str.LAYOUT:XML_MAINWND
lea ecx, [esp + 0x24]
call fcn.0040fe8d
push edi
push edi
push edi
push edi
mov dword [esp + 0x30], vtable.CMainDlg.0
mov dword [esp + 0x34], vtable.CMainDlg.3.0
mov dword [esp + 0x38], vtable.CMainDlg.4.0
mov dword [esp + 0x60], vtable.CMainDlg.5.0
mov dword [esp + 0x64], vtable.CMainDlg.1.0
mov dword [esp + method.SOUI::SHostWnd.5.virtual_0], vtable.CMainDlg.2.0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00410ea1
push edi
push edi
push 0x110
lea eax, [esp + 0x30]
push eax
call fcn.0040656d
push dword [esp + 0x44]
lea eax, [esp + 0x28]
push eax
call fcn.00405d0c
push 1
lea eax, [esp + 0x24]
push eax
call fcn.00414621
mov eax, dword [esp + 0x14]
push dword [esp + 0x44]
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CMainDlg.0
mov edi, eax
mov dword [esp + 0x24], vtable.CMainDlg.3.0
mov dword [esp + 0x28], vtable.CMainDlg.4.0
mov dword [esp + 0x50], vtable.CMainDlg.5.0
mov dword [esp + 0x54], vtable.CMainDlg.1.0
mov dword [esp + method.SOUI::SHostWnd.5.virtual_0], vtable.CMainDlg.2.0
call fcn.00410281
jmp 0x4033ed
push 0x10
push 0x50b5ac
push 0x50b5b4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x403403
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
call fcn.00420a4f
lea ecx, [esp + 8]
call fcn.00404820
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [esp + 0x28c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004785e7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x416e4c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2819
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5274d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x64]
cmp eax, dword [0x5270a8]
jl 0x416eea
mov ecx, dword [0x5270ac]
test ecx, ecx
je 0x416ea0
push dword [edi + 0x68]
push dword [edi + 0x70]
push dword [edi + 0x74]
push dword [edi + 0x6c]
push eax
lea eax, [edi + 0x78]
push eax
push edi
call ecx
add esp, 0x1c
jmp 0x416eea
cmp byte [0x5270a4], 0
je 0x416eea
push 0x465
call fcn.004983f4
push dword [edi + 0x74]
lea ecx, [edi + 0x78]
mov esi, eax
push dword [edi + 0x6c]
push dword [edi + 0x70]
push ecx
push edi
push str._s__s__s__s:_d_n
push 0xffffffffffffffff
push 0x464
push esi
call fcn.0041705a
add esp, 0x28
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00492d7d
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42393b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x423948
xor eax, eax
jmp 0x423975
push dword [ecx + 4]
call fcn.00421045
pop ecx
test eax, eax
je 0x423962
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14c]
test al, 2
jne 0x423944
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x423a7e
Capabilities:
Log keystrokes via polling

Disassembly:
push 8
mov eax, 0x4cf68a
call fcn.00479063
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.0042393b
test eax, eax
je 0x423ab9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.0042350e
xor eax, eax
inc eax
jmp 0x423bce
push dword [ebx + 4]
call fcn.00421045
mov esi, eax
mov dword [ebp + 8], esi
pop ecx
test esi, esi
je 0x423b78
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
je 0x423b78
cmp edi, 0x25
je 0x423af8
cmp edi, 0x27
je 0x423b06
cmp edi, 0x26
je 0x423af8
cmp edi, 0x28
jne 0x423b78
cmp edi, 0x27
je 0x423b06
cmp edi, 0x28
je 0x423b06
push 2
jmp 0x423b08
push 3
pop edi
jmp 0x423b18
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
jne 0x423b39
push edi
mov ecx, esi
call fcn.0040a874
mov esi, eax
test esi, esi
jne 0x423b0b
mov ecx, dword [ebp + 8]
cmp edi, 3
setne al
push eax
call fcn.0040a348
mov ecx, eax
jmp 0x423b53
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x58]
jmp 0x423b6b
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1d0]
test eax, eax
jne 0x423b63
push edi
mov ecx, esi
call fcn.0040a874
mov esi, eax
test esi, esi
jne 0x423b43
jmp 0x423ab1
mov ecx, dword [esi]
push 1
push esi
call dword [ecx + 0x58]
push eax
mov ecx, ebx
call fcn.00423e3e
jmp 0x423ab1
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp - 0x14]
and al, 1
movzx eax, al
push eax
push edi
call fcn.00474eec
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00423c22
xor ebx, ebx
lea ecx, [ebp - 0x14]
test al, al
setne bl
call fcn.00474f4b
mov eax, ebx
call fcn.0047903d
ret 4

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

Disassembly:
push 0xc
mov eax, 0x4ce932
call fcn.00479063
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x58]
call fcn.004afd5a
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0042b4fb
push dword [ebp + 0x10]
test eax, eax
je 0x42b4d0
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042b0e3
lea ecx, [ebp - 0x18]
call fcn.004037ba
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
lea ecx, [ebp - 0x18]
cmp eax, 0xffffffff
setne bl
call fcn.00404820
jmp 0x42b4e2
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0042b282
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
lea ecx, [edi + 0x58]
mov dword [ebp - 4], 1
call fcn.004afd65
mov eax, ebx
call fcn.0047903d
ret 0xc
Function at 0x43670e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
inc ecx
push ecx
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov dx, word [esi + 0x350]
xor edi, edi
add dx, word [ebp + 0xc]
mov dword [ebp - 4], eax
movsx eax, dx
cdq
push 0x78
pop ecx
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [esi + 0x350], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4367be
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 8], ecx
mov eax, dword [esi]
push 0
push ecx
push dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x38]
test eax, eax
je 0x436785
mov ecx, esi
call fcn.004374d6
mov ecx, dword [ebp - 8]
inc edi
cmp di, bx
jl 0x436764
cmp di, bx
jge 0x4367be
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, edi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
lea ecx, [esi + 4]
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.0040cd03
test bx, bx
je 0x4367fe
lea eax, [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43a380
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x4d1bae
call fcn.00479063
mov edi, ecx
push dword [ebp + 0x10]
lea eax, [edi + 0x254]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x43a3b0
mov eax, dword [edi]
push edi
call dword [eax + 0x114]
jmp 0x43a426
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cb42
lea esi, [edi + 0x264]
push esi
lea ecx, [ebp - 0x18]
call fcn.004045f3
mov eax, dword [esi]
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call dword [eax + 0x10]
test eax, eax
je 0x43a405
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x230]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00404879
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00404820
push 1
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.004037ba
push eax
push 0x4e39dc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00404820
call fcn.0047903d
ret 0xc
Function at 0x43ce69
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0048cee0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x43cec4
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x43ced8
cmp byte [ebp - 6], 1
jne 0x43ced8
cmp dword [ebp - 0x11c], 6
jne 0x43ced8
xor eax, eax
inc eax
jmp 0x43ceda
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004785e7
mov esp, ebp
pop ebp
ret