joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4198c9
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 + 0x4668b8]
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 0x419909
cmp byte [ebx], 0xa
jne 0x419909
or byte [eax + edi + 0x28], 4
jmp 0x41990e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x419a0c
mov al, byte [edx]
cmp al, 0x1a
je 0x4199ee
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41993d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x419962
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41996c
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 0x41991f
jmp 0x419a0c
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 0x4199e9
cmp dword [ebp - 0xc], 0
je 0x4199e9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4668b8]
test byte [eax + edi + 0x28], 0x48
je 0x4199c3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4199ae
mov byte [esi], dl
jmp 0x4199bf
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4668b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x419a0c
cmp byte [ebp - 1], 0xa
jne 0x4199d2
cmp esi, ebx
jne 0x4199d2
mov byte [esi], 0xa
jmp 0x419a0b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041a449
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x419a0c
mov byte [esi], 0xd
jmp 0x419a0b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4668b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419a08
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419a0c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419a15
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 + 0x4668b8]
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 0x419a58
cmp word [esi], dx
jne 0x419a58
or byte [edi + eax + 0x28], 4
jmp 0x419a5d
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 0x419bb0
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 0x419b90
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419a9f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419ad5
cmp eax, edx
jae 0x419ae1
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 0x419a77
jmp 0x419bb0
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 0x419b8c
cmp dword [ebp - 0x14], 0
je 0x419b8c
mov eax, dword [ebx*4 + 0x4668b8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419b64
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x419b2d
mov word [esi], cx
jmp 0x419b60
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4668b8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4668b8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4668b8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419bb0
pop ebx
cmp word [ebp - 4], bx
jne 0x419b75
cmp esi, dword [ebp + 0xc]
jne 0x419b75
mov word [esi], bx
jmp 0x419bad
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041a449
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419bb0
push 0xd
jmp 0x419ba9
mov ecx, dword [ebx*4 + 0x4668b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419ba7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419bb0
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 0x41b9a7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41ba44
push ebx
push esi
call fcn.0041b970
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041a5f5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41b9f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41ba43
push edi
push eax
call fcn.004160d0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41ba11
call fcn.00415396
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41ba42
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041a5f5
add esp, 0x20
test eax, eax
jne 0x41ba30
push edi
call fcn.00415396
jmp 0x41ba38
push ebx
call fcn.00415396
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x422c20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422c4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422c4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x424264
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x464d00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp + 0xc], esi
jbe 0x424314
push ebx
mov ebx, 0x465f28
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
push str.Open_Cards
push ebx
mov byte [edi + esi], al
call fcn.004010d0
push eax
call fcn.00401ebd
mov al, byte [edi + esi]
add esp, 0xc
xor al, 0x74
mov ecx, ebx
add al, 0x59
mov byte [edi + esi], al
push 0x6f
call fcn.0040262c
push eax
call fcn.00401ebd
mov al, byte [edi + esi]
sub al, 0xb
mov dword [esp], str.Taste
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [edi + esi], al
call fcn.004042b2
lea ecx, [ebp - 0x1c]
mov dword [esp], 0x4253a4
call fcn.00402199
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call fcn.0040beae
xor byte [edi + esi], al
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0040334d
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x42428a
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040690c
leave
ret 8

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 0x401414
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x40]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov ebx, dword [ecx]
bswap ebx
mov eax, dword [ecx + 4]
bswap eax
mov ecx, esi
shr ecx, 0x1f
add ecx, esi
sar ecx, 1
cmp dword [esp + 0x2c], 0
je 0x4014bf
cmp esi, 2
jl 0x40149c
imul esi, ecx, 0x9e3779b9
mov dword [esp], edi
mov dword [esp + 4], edx
mov edx, ebx
shl edx, 4
add edx, dword [esp + 4]
lea edi, [ebx + esi]
xor edi, edx
mov edx, ebx
shr edx, 5
add edx, ebp
xor edx, edi
sub eax, edx
mov edx, eax
shl edx, 4
add edx, dword [esp]
lea edi, [esi + eax]
xor edi, edx
mov edx, eax
shr edx, 5
add edx, dword [esp + 8]
xor edx, edi
sub ebx, edx
add esi, 0x61c88647
dec ecx
jne 0x401460
mov esi, dword [esp + 0x30]
test esi, esi
je 0x401510
mov ecx, dword [esi]
mov edx, dword [esi + 4]
bswap ecx
xor ebx, ecx
bswap edx
xor eax, edx
mov ecx, dword [esp + 0x28]
movsd xmm0, qword [ecx]
movsd qword [esi], xmm0
jmp 0x401510
cmp esi, 2
jl 0x401510
mov esi, 0x9e3779b9
mov dword [esp + 4], edx
mov dword [esp], ebp
mov edx, eax
shl edx, 4
add edx, edi
mov ebp, edi
lea edi, [eax + esi]
xor edi, edx
mov edx, eax
shr edx, 5
add edx, dword [esp + 8]
xor edx, edi
add ebx, edx
mov edx, ebx
shl edx, 4
add edx, dword [esp + 4]
lea edi, [esi + ebx]
xor edi, edx
mov edx, ebx
shr edx, 5
add edx, dword [esp]
xor edx, edi
mov edi, ebp
add eax, edx
add esi, 0x9e3779b9
dec ecx
jne 0x4014d0
mov ecx, ebx
rol cx, 8
mov edx, dword [esp + 0x24]
mov word [edx + 2], cx
mov ecx, ebx
shr ecx, 0x10
mov byte [edx + 1], cl
shr ebx, 0x18
mov byte [edx], bl
mov byte [edx + 7], al
mov byte [edx + 6], ah
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 5], cl
shr eax, 0x18
mov byte [edx + 4], al
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402dc0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x14]
call fcn.00402e10
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40aa72
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c198]
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.00408104
mov dword [ebp - 0x14], eax
cmp dword [0x42e548], edi
jne 0x40ab63
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40aaf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ac43
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40ac43
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ac43
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x42e548], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x42e54c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x42e550], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42e558], eax
test eax, eax
je 0x40ab60
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42e554], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ab88
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ab7b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40ab9d
push 4
pop eax
jmp 0x40ac45
cmp dword [ebp - 0x14], edi
je 0x40ab9d
push dword [0x42e548]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ab82
mov eax, dword [0x42e554]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40abfb
cmp dword [0x42e558], esi
je 0x40abfb
push eax
call ebx
push dword [0x42e558]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40abfb
test eax, eax
je 0x40abfb
call ecx
test eax, eax
je 0x40abf0
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 0x40abf0
test byte [ebp - 8], 1
jne 0x40abfb
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40ac2b
mov eax, dword [0x42e54c]
cmp eax, esi
je 0x40ac28
push eax
call ebx
test eax, eax
je 0x40ac28
call eax
mov edi, eax
test edi, edi
je 0x40ac28
mov eax, dword [0x42e550]
cmp eax, esi
je 0x40ac28
push eax
call ebx
test eax, eax
je 0x40ac28
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x42e548]
call ebx
test eax, eax
je 0x40ac43
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40ac45
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b20
leave
ret
Function at 0x100030c0
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1000db70]
xor eax, eax
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x7c], 0x222f121f
movaps xmm0, xmmword [0x1000dbe0]
movups xmmword [ebp - 0xbc], xmm0
mov word [ebp - 0x78], 0x39
movaps xmm0, xmmword [0x1000db20]
movups xmmword [ebp - 0xac], xmm0
movaps xmm0, xmmword [0x1000dbd0]
movups xmmword [ebp - 0x9c], xmm0
movaps xmm0, xmmword [0x1000da50]
movups xmmword [ebp - 0x8c], xmm0
nop dword [eax + eax]
mov cl, byte [ebp - 0xcc]
xor byte [ebp + eax - 0xcb], cl
inc eax
cmp eax, 0x54
jb 0x10003130
push ebx
push esi
lea esi, [ebp - 0xcb]
mov byte [ebp - 0x77], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003153
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xcb]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ebx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], bx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], bx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0x32
call esi
push 0x1c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 1
push eax
push 2
mov word [ebp - 0x70], bx
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], bx
mov dword [ebp - 0x50], 2
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000b25a
mov esp, ebp
pop ebp
ret
Function at 0x100032a0
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1000dae0]
xor eax, eax
movups xmmword [ebp - 0xc8], xmm0
mov byte [ebp - 0x78], 0
movaps xmm0, xmmword [0x1000db80]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x1000db40]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x1000dac0]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x1000db00]
movups xmmword [ebp - 0x88], xmm0
nop
mov cl, byte [ebp - 0xc8]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0x4f
jb 0x10003300
push ebx
push esi
lea esi, [ebp - 0xc7]
mov byte [ebp - 0x78], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003323
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xc7]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ebx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], bx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], bx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0x32
call esi
push 0x1c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 1
push eax
push 2
mov word [ebp - 0x70], bx
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], bx
mov dword [ebp - 0x50], 2
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000b25a
mov esp, ebp
pop ebp
ret

Function at 0x10003ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10003cc7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10003470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10003f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10003fc1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10003fb0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x403174
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404da8
test esi, esi
jne 0x4031ab
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404e98
jmp 0x4031cc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403010
mov dword [esp], eax
test esi, esi
je 0x4031cc
cmp dword [ebx], 0
je 0x4031cc
dec esi
jmp 0x4031b3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403780
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x467008], 0x8088405
inc edx
mov dword [ebx + 0x467008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x467024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f08
xor eax, eax
push ebp
push 0x403f01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403f44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x467024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x467024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x469048], 0
je 0x404c85
cmp word [0x46921c], 0xd7b2
jne 0x404c4d
cmp dword [0x469224], 0
jbe 0x404c4d
mov eax, 0x469218
call dword [0x469234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x467074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404cac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x467034], 0
jne 0x404ca1
push 0
push 0x46706c
push 0x467074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406c20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406c86
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405018
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037fc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406c70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c8d
lea eax, [ebp - 0x10]
call fcn.00404da8
ret

Function at 0x40c1e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c21d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e98
jmp 0x40c226
mov eax, ebx
mov edx, esi
call fcn.00404dfc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c230
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c251
mov al, byte [esp]
jmp 0x40c253
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c8e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c750
mov eax, dword [0x4681fc]
cmp byte [eax], 0
je 0x40c964
mov eax, dword [0x467ff4]
call fcn.004035e0
call fcn.00402f3c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409900
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c9ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c99a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x467f9c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x469664]
call fcn.0040608c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret