joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddfe0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4de029
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4de4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004de050
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004de0d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004de0d0
lea ecx, [esi + 0xc]
call fcn.00509a5f
lea ecx, [esi + 0x10]
call fcn.00509a5f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004df660
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004df660
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004df660
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00509ad4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00509ad4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4df850
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4df8b6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4df8b6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4df897
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e2760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x785a90]
xor edx, edx
cmp eax, edx
jne 0x4e2786
xor eax, eax
mov byte [eax + 0x785990], al
inc eax
cmp eax, 0x100
jl 0x4e276e
mov dword [0x785a90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x785990
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e2817
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 0x4e27ea
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 0x4e27b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e2890
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 0x4e28e3
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 0x4e28ca
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 0x4e9260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x518f8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004e9b80
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x72be94
call fcn.00509815
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4e92f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00509815
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4e92ec
push 0
mov ecx, eax
call fcn.004e0390
mov dword [esi + 0xc], eax
jmp 0x4e92f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e92f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x50bea2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50beda
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.00509f2f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00509f07
jmp 0x50bee6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x50d598
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 0x50d5da
call fcn.0051320c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50d5da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50d5d1
xor eax, eax
jmp 0x50d5e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050d5e8
pop edi
pop esi
pop ebx
ret 4

Function at 0x51373c
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 0x51376a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x513788
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005136a2
jmp 0x513788
mov eax, dword [esi + 0x14]
test eax, eax
je 0x513788
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005136a2
test edi, edi
mov eax, edi
jne 0x513772
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x85041d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov edi, dword [esp + 0x18]
call fcn.0084aa6b
movsd dword es:[edi], dword [esi]
adc al, 0x99
push 0x2b9ec28f
cmpsb byte [esi], byte es:[edi]
mov bh, 0xa7
stc
mov eax, dword [0x816e8d44]
dec ebp
or byte [ebx + 0x2e], bl
mov bl, 0x43
push es
pop ebx
popfd
push edi
inc esi
bound esi, qword [edi + 0x7b]
xchg ecx, eax
clc
rcl byte [ecx + 0x7b], 0xde
xchg ebx, ecx
adc dword [esp + ebx*2 - 0x4361666], ebx
lodsb al, byte [esi]
push esi
dec esi
test ebp, ebp
pop esp
adc edi, dword [esi + 0x1b8079d7]
sbb byte [0x41773d8a], bl
pop ss
inc edx
and eax, 0xec999e60
xor al, 0x6b
sahf
xchg ecx, eax
dec edx
stosd dword es:[edi], eax
cld
add bl, 0x3f
pop ds
stosd dword es:[edi], eax
jae 0x850432
xor dword [esi + 0x4e], esp
lds esi, [ebp - 0x1e6d1be5]
mov esp, dword [ecx - 0x20]
sub ebp, dword [esi]
sbb dword [ebp + 0x74], edi
dec esi
rol eax, cl
ffree st(7)
retf
Function at 0x100011f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x10023260]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x828]
push 0
push eax
call fcn.10006d40
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x7d4]
push 0x1001a378
push eax
mov dword [ebp - 0x828], 0x44
movq qword [ebp - 0x7e4], xmm0
movq qword [ebp - 0x7dc], xmm0
call fcn.1000520e
add esp, 0x18
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10001295
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x7e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 8
jb 0x100012a6
push dword [ebp + 8]
call fcn.100050fe
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000629a
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10001340
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018df2
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x10023260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x9e8]
push str._s.
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc40], esi
mov dword [ebp - 0xc3c], 0
call fcn.1000520e
add esp, 0xc
lea eax, [ebp - 0xc38]
push eax
lea eax, [ebp - 0x9e8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
push 7
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push str.0.0.0.0
mov ecx, esi
mov word [esi], ax
call fcn.10002150
mov dword [ebp - 4], 0
mov dword [ebp - 0xc3c], 1
cmp edi, 0xffffffff
je 0x100014d9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0xc38]
push eax
push edi
call ebx
test eax, eax
je 0x100014d9
cmp word [ebp - 0xc0c], 0x2e
je 0x100013f7
mov ax, word [ebp - 0xc0a]
test ax, ax
je 0x100013f7
cmp ax, 0x2e
jne 0x1000142f
cmp word [ebp - 0xc08], 0
je 0x100013f7
test byte [ebp - 0xc38], 0x10
je 0x100013f7
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10006d40
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x218]
push 0x1001a378
push eax
call fcn.1000520e
add esp, 0x18
mov ecx, esi
call fcn.10002250
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100054bc
add esp, 8
test eax, eax
jle 0x100013f7
cmp word [ebp - 0x218], 0
jne 0x100014ad
xor eax, eax
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10002150
jmp 0x100013f7
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100014b6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10002150
jmp 0x100013f7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000629a
mov esp, ebp
pop ebp
ret 8
Function at 0x10001a00
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x10023260]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10006d40
add esp, 0xc
xor ecx, ecx
jmp 0x10001a40
movzx eax, word [ecx + str.C:log_]
mov word [ebp + ecx - 0x414], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001a40
push esi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0xc0c], ax
lea eax, [ebp - 0xc0a]
push eax
call fcn.10006d40
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push str._sgswb.log
push eax
call fcn.1000520e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.10006d40
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10006d40
add esp, 0x30
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.1000538e
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
add esp, 8
mov word [eax], cx
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
je 0x10001c43
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001b10
sub ecx, edx
sar ecx, 1
lea edx, [ebp - 0x20a]
lea ecx, [edx + ecx*2]
lea edx, [ebp - 0x824]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001b30
push edi
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push str._s_s.txt
push eax
call fcn.1000520e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc0c]
push 0x1f3
push eax
call fcn.10005120
xor eax, eax
add esp, 0x20
mov word [ebp - 0x826], ax
lea eax, [ebp - 0x61c]
push eax
xor edi, edi
call esi
test eax, eax
lea eax, [ebp - 0x61c]
mov ecx, 1
push 0x1001a3bc
push eax
cmovne edi, ecx
call fcn.100052af
mov esi, eax
add esp, 8
test esi, esi
je 0x10001c42
test edi, edi
jne 0x10001bd8
push esi
push 2
lea eax, [ebp - 0xc14]
push 1
push eax
mov dword [ebp - 0xc14], 0xfeff
call fcn.10005eae
add esp, 0x10
lea ecx, [ebp - 0xc0c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001be1
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xc0c]
push 1
push eax
call fcn.10005eae
push esi
push 2
lea eax, [ebp - 0xc10]
push 1
push eax
mov dword [ebp - 0xc10], 0xd
call fcn.10005eae
push esi
push 2
lea eax, [ebp - 0xc10]
push 1
push eax
mov dword [ebp - 0xc10], 0xa
call fcn.10005eae
push esi
call fcn.10005ce0
add esp, 0x34
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000629a
mov esp, ebp
pop ebp
ret
Function at 0x10004c60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10004c88
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x10004ce6
mov eax, dword [0x10024274]
test eax, eax
je 0x10004ce6
lea ecx, [ebp + 0xc]
push ecx
push eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x10004cd0
cmp dword [ebp + 0xc], 0x103
jne 0x10004cd0
push 0
push dword [0x10024274]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push dword [0x10024274]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x10024274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10024274], 0
mov eax, 1
pop ebp
ret 0xc
Function at 0x10015afa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000a279
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10015b32
xor eax, eax
jmp 0x10015b5e
cmp esi, dword [ebp - 4]
je 0x10015b5b
cmp dword [ebp + 0xc], 0
je 0x10015b5b
push dword [edi + 0x9c]
call fcn.10015708
push dword [edi + 0x9c]
mov esi, eax
call fcn.10014d35
pop ecx
pop ecx
cmp esi, eax
je 0x10015b2e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x100168bf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10023260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10010252
mov dword [ebp - 0x14], eax
cmp dword [0x100250bc], edi
jne 0x100169b0
push 0x800
push edi
push 0x10020154
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1001693d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10016a90
push 0x10020154
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10016a90
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10016a90
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100250bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100250c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100250c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100250cc], eax
test eax, eax
je 0x100169ad
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100250c8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100169d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100169c8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x100169ea
push 4
pop eax
jmp 0x10016a92
cmp dword [ebp - 0x14], edi
je 0x100169ea
push dword [0x100250bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100169cf
mov eax, dword [0x100250c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10016a48
cmp dword [0x100250cc], esi
je 0x10016a48
push eax
call ebx
push dword [0x100250cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10016a48
test eax, eax
je 0x10016a48
call ecx
test eax, eax
je 0x10016a3d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10016a3d
test byte [ebp - 8], 1
jne 0x10016a48
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10016a78
mov eax, dword [0x100250c0]
cmp eax, esi
je 0x10016a75
push eax
call ebx
test eax, eax
je 0x10016a75
call eax
mov edi, eax
test edi, edi
je 0x10016a75
mov eax, dword [0x100250c4]
cmp eax, esi
je 0x10016a75
push eax
call ebx
test eax, eax
je 0x10016a75
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100250bc]
call ebx
test eax, eax
je 0x10016a90
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10016a92
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000629a
leave
ret
Function at 0x930338
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93033e
pop ebp
sub ebp, 6
sub ebp, 0x530338
jmp 0x93039c
jmp 0x9303a5
mov eax, 0x530338
add eax, ebp
add eax, 0x93
mov ecx, 0x626
mov edx, 0x2a1908c8
xor byte [eax], dl
inc eax
dec ecx
jne 0x9303bc
jmp 0x9303cf
mov byte [0xd8c8a088], al
enter 0xffffffffffffa0c8, 0xffffffffffffffc8
add al, 0xe4
enter 0x3849, 0xffffffffffffff86
int1
pop eax
movsb byte es:[edi], byte [esi]
dec ecx
cmp byte [esi - 0x45ba70f], al
or byte [eax - 0x764fa2c9], bl
or eax, 0x43054398
inc ecx
hlt
Function at 0x41460b
Capabilities:
Terminate process

Disassembly:
call fcn.00414618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401d4a
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [0x418714], 0
mov eax, dword [0x418714]
mov ebx, 0xffffffff
push ebx
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov dword [0x418ebf], eax
mov dword [0x418174], 0
mov eax, dword [0x418174]
lea edx, [edx + 0x418977]
add dword [0x4195a1], edx
sub edx, eax
shr edx, 1
add edx, eax
mov ecx, edx
add ecx, 0x94e
add dword [0x418b51], ecx
ror ecx, 2
shr ecx, 1
sub ecx, eax
add dword [0x418e06], ecx
call fcn.00402f28
mov dword [0x41818c], eax
push 0x2547545c
pop edi
push edi
mov esi, 0x1eeae871
mov eax, esi
push eax
mov eax, 0x535b7a47
mov esi, eax
push esi
mov edi, 0x174cf46c
mov ebp, edi
push ebp
push 0x418ab134
pop ebx
push ebx
push 0x21ff1beb
pop eax
push eax
push 0x67cf697b
pop edx
push edx
mov edx, 0x47777e77
push edx
mov esi, 0
mov edi, esi
push edi
push 0x30a185
pop ebx
add ebx, 0x103f1b
push dword [ebx]
pop dword [0x41855f]
mov ebx, dword [0x41855f]
call ebx
mov dword [0x418f49], eax
or eax, eax
je 0x401e19
sub ebp, edi
ret

Function at 0x402000
Capabilities:
Encode data using xor

Disassembly:
call dword [sym.imp.kernel32.dll_GetACP]
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp loc.00409000
Function at 0x642c550d
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x642c9008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x630]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x63c], edi
test esi, esi
je 0x642c56f6
push 1
xor eax, eax
mov ecx, 0x80000001
push 1
mov word [esi], ax
call fcn.642c6c84
mov edi, eax
test edi, edi
je 0x642c56f6
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x634]
push eax
push ebx
push 0x642c16c8
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x642c55cf
cmp ebx, 2
jne 0x642c56f6
mov edi, 0x642c16e4
jmp 0x642c5638
cmp dword [ebp - 0x634], 1
je 0x642c55e5
cmp dword [ebp - 0x634], 2
jne 0x642c56f6
and dword [ebp - 0x638], 0
lea eax, [ebp - 0x638]
mov ebx, 0x105
lea ecx, [ebp - 0x218]
push eax
mov edx, ebx
call fcn.642c52af
lea edi, [ebp - 0x218]
test eax, eax
js 0x642c5638
mov eax, dword [ebp - 0x638]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x642c5638
push 0x642c11dc
mov edx, ebx
mov ecx, edi
call fcn.642c1f07
test eax, eax
js 0x642c56ec
push ecx
push 5
lea edx, [ebp - 0x630]
pop ecx
call 0x642d2e86
test eax, eax
jne 0x642c5663
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x642c1718
call fcn.642c6933
pop ecx
pop ecx
jmp 0x642c56f6
lea eax, [ebp - 0x630]
mov ebx, 0x104
push eax
mov edx, ebx
mov ecx, esi
call fcn.642c1ed2
test eax, eax
js 0x642c56ec
push 0x5c
pop eax
cmp word [edi], ax
je 0x642c5696
push 0x642c11dc
mov edx, ebx
mov ecx, esi
call fcn.642c1f07
test eax, eax
js 0x642c56ec
push edi
mov edx, ebx
mov ecx, esi
call fcn.642c1f07
test eax, eax
js 0x642c56ec
lea eax, [ebp - 0x420]
push eax
push 0x642c1754
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x642c56ec
push 0x93d
push 0x642c1788
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x642c56ec
mov ecx, esi
call fcn.642c6277
xor eax, eax
inc eax
jmp 0x642c56f8
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.642c79b0
leave
ret