joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ed3b
Capabilities:
Encode data using xor

Disassembly:
imul ebx, dword [0xda710626], 0x7ff859a1
cwde
jnp 0x44ed96
fsubrp st(3)
invalid
into
add ah, byte [esi - 0x2a]
push ds
xlatb
wait
aad 0x67
xchg edx, esi
push ss
std
mov al, 0xa8
xor byte [ebx], cl
or esi, dword [ecx + 0x70]
pop edx
out dx, eax
jb 0x44ed60
cmpsd dword [esi], dword es:[edi]
lcall 0x3c86, 0x60621b79
dec di
sbb eax, 0x62fe46d2
clc
scasb al, byte es:[edi]
xchg esp, eax
invalid
salc
push eax
push eax
and byte [edi + 0x76], cl
push es
jnp 0x44ed65
sahf
out 0x6e, al
int1
in al, dx
test byte [ebp - 0x1c], 0x65
fistp dword [ecx - 0x79]
and eax, 0x9e369497
sub ebx, dword [esi + 0x7c]
in al, dx
xchg edx, eax
mov bl, 0x66
lar ebx, esi
mov dh, 0x52
push edx
sbb cl, dh
pop eax
loop 0x44ed48
out dx, eax
xchg esi, eax
call 0x3e6efe9d
mov dh, 0x45
cmp al, 0x59
add al, 0x76
mov dh, 0xca
xor dword [edi + edx*8 + 0x6eb1867a], ebp
invalid

Function at 0x457b69
Capabilities:
Encode data using xor

Disassembly:
push 0x40
dec edx
pop esp
inc esp
ror byte [ecx + 0x346114e9], 1
ja 0x457b9c
int3
mov ebp, 0xc12c9e7c
invalid

Function at 0x4830c6
Capabilities:
Encode data using xor

Disassembly:
aad 0xb4
dec edx
out dx, al
fcomp dword [edi + 0x6f53bbf7]
pop ds
daa
ja 0x483148
cmp dword [eax + 0x256ecb1f], ecx
ficomp dword [edi + 0x2b2922f2]
retf 0xcac7
inc ecx
adc cl, byte [ebp - 0x7f]
mov dl, 0x23
push 0x4e979c6c
pushfd
sahf
xlatb
sbb eax, 0x91bb5ca2
lodsd eax, dword [esi]
arpl dx, ax
sub ecx, edi
cli
mov eax, dword [ecx]
aas
mov dl, 0xdf
pop esp
push esp
scasd eax, dword es:[edi]
xor eax, 0x774d9c43
lds ebx, [eax - 0x41]
movsb byte es:[edi], byte [esi]
push ecx
dec esi
push eax
xchg edx, eax
push esp
mov al, 0x43
mov eax, 0x2ef8df21
push 0x557a71d0
jp 0x48319f
mov bh, 0x29
pop edx
push ebp
dec edx
xor dword [edx], ecx
loop 0x483145
shr dword [edi], 0x8d
std
mov dword [ecx - 0x13bff793], esp
in al, dx
push edi
scasb al, byte es:[edi]
je 0x48310c
mov fs, word [ecx - 0x7f]
push 0x4ac75914
jno 0x48311a
retf 0x7422
pop esi
add ecx, esp
cmp edx, dword [edi + 0x56]
mov dh, 0x1e
inc ebx
xor al, byte [ecx]
insb byte es:[edi], dx
pop eax
dec eax
jns 0x48315c
xor eax, esi
bound ecx, qword [edi + 0x6d]
push eax
inc ebp
or dword [ecx + 0x7b], eax
add eax, 0xc1b1174d
aaa
invalid

Function at 0x483728
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xcef7f2ab
xchg dword [eax + 0x38190a34], edi

Function at 0x4b051f
Capabilities:
Authenticate hmac

Disassembly:
xchg esi, eax
jns 0x4b052d
adc bl, cl
add esi, ebx
and dword [ebp - 0x4b], ebp
push ss
sbb al, 0xf9
pop es
xchg ebx, eax
mov ebx, ds
sub dword [edi], edx
inc ebp
iretd
mov ah, 0x92
mov dword [ebx - 0x235d1ae2], ecx
jg 0x4b04e5
jno 0x4b05a3
xlatb
jecxz 0x4b04d6
test al, 0x19
pushal
pushal
sbb dword [eax + 0x60], esp
dec esp
inc eax
invalid
fisub word [edi - 0x481c311b]
Function at 0x4b05c3
Capabilities:
Authenticate hmac

Disassembly:
cdq
sub bl, byte [ebp - 0x41e296ad]
arpl word [ebx], ax
push es
insd dword es:[edi], dx
inc ecx
mov al, 0x1f

Function at 0x4b67f0
Capabilities:
Encode data using xor

Disassembly:
aas
mov esi, 0x255775b2
mov ecx, 0x1ca9f9e6
add eax, 0xffb68710
mov ss, word [esp + eax*4]
jno 0x4b67f2
and eax, 0xa9f9e6b9
sbb al, 5
adc byte [edi + 0x148effb6], al
test byte [ecx + 0x3c], dh
xor edx, dword [ebp + ecx*8 + 0x15]
stosd dword es:[edi], eax
xchg ebp, eax
loope 0x4b67a6
invalid
ret 0xd6a
xchg esp, eax
jmp 0x4b67a1
scasb al, byte es:[edi]
mov ebx, 0x499623bc
lds edi, [ebx + ecx*4]
mov bl, 0x6c
mov word [0xecc5fb18], ax
or al, 0x7a
imul esi, eax, 0x85fbd63f
aaa
sal al, cl
out dx, eax
inc edx
pop ds
and esi, dword [ebx - 0x38]
pop ebp
pop edi
fcom dword [0x82a1513a]
jno 0x4b6890
jne 0x4b67dd
cmc
mov dl, 0x56
push ebx
inc ebx
rcr dword [ecx + 0x66], 0xdf
or eax, ebx
or byte [ebx], 0x92
lodsd eax, dword [esi]
or eax, 0xa293859f
mov cl, 0xd6
int1
fldenv [esi]
das
sub al, al
sbb dh, byte [esi - 0x25b7525d]
tzcnt ebx, ebp
inc eax
xlatb
jbe 0x4b6854
fisttp word [ebx]
ret
mov dword [ebx], eax
mov edi, 0x44d89f3c
ret
shl dword [edi + ecx], cl
sar byte [edx], 1
cli
xchg dword [ebx], ebx
mov edx, 0x2d8caad3
push ecx
sbb ah, al
popal
push esp
pop eax
sbb bl, al
and dword [edx - 0x65], 0xffffff93
mov dl, 0x4a
cmp eax, eax
sub al, 0x50
jne 0x4b6827
mov dh, 0
sub al, 0xdf
mov bh, 0x2b
insb byte es:[edi], dx
inc ebx
sbb dword [ecx - 0x762954ae], eax
sbb ecx, 0xf34ab5cc
mov edi, 0xe21dee54
inc ebx
retf
nop
popfd
arpl word [esi - 0x3cc446fb], sp
mov bl, 0xd0
pop edi
or ebp, dword [ecx + 0x43864703]
out dx, eax
mov eax, 0xa7c261ea
out dx, eax
push cs
and ebx, 0xfffffffa
inc esi
cmp esp, esp
fcom st(2)
jo 0x4b68f9
pushal
std
push eax
movsd dword es:[edi], dword [esi]
cmp al, 0x3c
mov bl, 0x42
in eax, 0x20
salc
push ecx
push ebx
push edx
in al, 0x62
pop ebx
in al, dx
salc
mov ah, 0xbd
jae 0x4b686d
xchg esi, eax
xor byte [ebp - 0xd], cl
div dword [ebx + esi*4 - 0x357c04b5]
inc esi
xlatb
xchg esi, eax
mov ch, 0xb0
mov bl, 0x96
into
pop es
lcall 0x3ea, 0x3e6d154d
fsub qword [ebx + eax*4 - 0x4b]
shr dword [ebx + 0xa8162b2], 1
mov word [edx - 0x6adee9d], es
or ebx, dword [esi]
adc dl, byte [ebx - 0x1b2ca1be]
xchg ebx, eax
inc edx
pop esi
shl esp, cl
ret 0x6273
Function at 0x4bb71d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33d8
cmp edx, dword [eax]
je 0x4bb73f
add eax, 8
inc ecx
cmp eax, 0x4c3468
jl 0x4bb730
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33d8]
jne 0x4bb86d
mov eax, dword [0x4c7d9c]
cmp eax, 1
je 0x4bb847
test eax, eax
jne 0x4bb770
cmp dword [0x4c3300], 1
je 0x4bb847
cmp edx, 0xfc
je 0x4bb86d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb7a7
lea eax, [ebp - 0x1a4]
push 0x4c09d8
push eax
call fcn.004bc100
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc590
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb7ea
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc590
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09d4
push edi
call fcn.004be460
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c09b8
push eax
call fcn.004bc100
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc110
lea eax, [ebp - 0xa0]
push 0x4c09b4
push eax
call fcn.004bc110
push dword [esi + 0x4c33dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc110
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c098c
push eax
call fcn.004be3d4
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33dc]
push 0
push eax
push dword [esi]
call fcn.004bc590
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x401a4d
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x94
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov word [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x2e], 0
mov dword [ebp - 0x34], 0x101
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call sym._GetCurrentProcess_0
mov ebx, eax
call sym._GetCurrentProcess_0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 2
lea edx, [ebp - 0x60]
add edx, 0x40
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._DuplicateHandle_28
sub esp, 0x1c
mov eax, dword [0x40a0d4]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x60]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CreateProcessA_40
sub esp, 0x28
test eax, eax
je 0x401b6d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
jmp 0x401bc2
call sym._GetLastError_0
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x40a138
mov dword [esp], eax
call sym._itoa
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_execute_shell__error___s
call dbg.holler
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401bca
Capabilities:
Read and send data from client to server
Read file on windows
Read pipe
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17d8
call fcn.00406b70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jmp 0x401cc4
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0x17ac]
test eax, eax
je 0x401c34
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x17ac]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x7d0
lea edx, [ebp - 0x7e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ReadFile_20
sub esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x401c8b
mov dword [esp], 0x32
call sym._Sleep_4
sub esp, 4
jmp 0x401cc4
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x7e8]
cmp al, 0xa
jne 0x401c67
cmp byte [ebp - 9], 0xd
je 0x401c67
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x17a6], 0xd
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x7e8]
mov byte [ebp + eax - 0x17a6], dl
mov al, byte [ebp + eax - 0x17a6]
mov byte [ebp - 9], al
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x17ac]
cmp dword [ebp - 0x14], eax
jb 0x401c45
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x17a6]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
test eax, eax
jle 0x401d0a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x17ac]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x7d0
lea edx, [ebp - 0x7e8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._PeekNamedPipe_24
sub esp, 0x18
test eax, eax
jne 0x401be2
jmp 0x401d0b
nop
call sym._GetLastError_0
cmp eax, 0x6d
je 0x401d6a
call sym._GetLastError_0
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x40a138
mov dword [esp], eax
call sym._itoa
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], str.SessionReadShellThreadFn_exitted__error___s
call dbg.holler
mov dword [esp], 0
call sym._ExitThread_4
Function at 0x401d76
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x401e3a
mov eax, dword [ebp - 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ebp + eax - 0x7e1], dl
inc dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
cmp al, 0xd
jne 0x401db6
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x7e1], 0xa
inc dword [ebp - 0xc]
lea eax, [ebp - 0x7e1]
mov dword [esp + 8], 6
mov dword [esp + 4], str.exit_r_n
mov dword [esp], eax
call sym._strnicmp
test eax, eax
jne 0x401de4
mov dword [esp], 0
call sym._ExitThread_4
mov al, byte [ebp - 0x11]
cmp al, 0xa
je 0x401dfb
mov al, byte [ebp - 0x11]
cmp al, 0xd
je 0x401dfb
cmp dword [ebp - 0xc], 0x7cf
jbe 0x401e3a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x7e8]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 8], edx
lea edx, [ebp - 0x7e1]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteFile_20
sub esp, 0x14
test eax, eax
je 0x401e6c
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x11]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._recv_16
sub esp, 0x10
test eax, eax
jne 0x401d91
jmp 0x401e6d
nop
mov dword [esp], 0
call sym._ExitThread_4
nop
nop
nop

Function at 0x401ff6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x40a02c], 1
mov eax, dword [0x40a02c]
mov dword [0x40a070], eax
mov eax, dword [0x40a070]
mov dword [0x40a060], eax
mov dword [0x40a030], 0
mov dword [esp], str.POSIXLY_CORRECT
call sym._getenv
mov dword [0x40a050], eax
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x2d
jne 0x40204d
mov dword [0x40a040], 2
inc dword [ebp + 8]
jmp 0x402084
mov eax, dword [ebp + 8]
mov al, byte [eax]
cmp al, 0x2b
jne 0x402065
mov dword [0x40a040], 0
inc dword [ebp + 8]
jmp 0x402084
mov eax, dword [0x40a050]
test eax, eax
je 0x40207a
mov dword [0x40a040], 0
jmp 0x402084
mov dword [0x40a040], 1
mov eax, dword [ebp + 8]
leave
ret

Function at 0x402954
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov word [ebp - 0xe], 0x101
movzx eax, word [ebp - 0xe]
lea edx, [ebp - 0x1a0]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WSAStartup_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4029a5
mov eax, dword [ebp - 0x1a0]
cmp al, 1
jne 0x40299d
mov eax, dword [ebp - 0x1a0]
shr ax, 8
cmp al, 1
je 0x4029a6
call sym._WSACleanup_0
nop
jmp 0x4029a6
nop
leave
ret
Function at 0x403f5d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov edx, dword [0x40a1b8]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
mov ebx, eax
cmp ebx, 1
je 0x403faa
call sym.__errno
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], str.udptest_first_write_failed___errno__d
call dbg.holler
mov eax, dword [0x40a0cc]
test eax, eax
je 0x403fc2
mov eax, dword [0x40a0cc]
mov dword [esp], eax
call sym.__sleep
jmp 0x404038
mov word [0x40a0c8], 0
mov dword [0x40a0cc], 5
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7a69
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dbg.doconnect
mov ebx, eax
test ebx, ebx
jle 0x404014
mov eax, dword [ebp + 8]
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._shutdown_8
sub esp, 8
mov eax, ebx
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
mov dword [0x40a0cc], 0
mov ax, word [0x40a0c8]
inc eax
mov word [0x40a0c8], ax
call sym.__errno
mov dword [eax], 0
mov edx, dword [0x40a1b8]
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._send_16
sub esp, 0x10
mov ebx, eax
cmp ebx, 1
jne 0x404077
mov eax, dword [ebp + 8]
jmp 0x4040a0
mov eax, dword [ebp + 8]
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._shutdown_8
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._closesocket_4
sub esp, 4
mov eax, 0xffffffff
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4032f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x469020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403388
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403368
xor eax, eax
push ebp
push 0x403361
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 0x4033a4
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 0x403368
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x469020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x469020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40406c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46b048], 0
je 0x4040cd
cmp word [0x46b21c], 0xd7b2
jne 0x404095
cmp dword [0x46b224], 0
jbe 0x404095
mov eax, 0x46b218
call dword [0x46b234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46906c
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 0x4040f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469030], 0
jne 0x4040e9
push 0
push 0x469064
push 0x46906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404228
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46b049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041f0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e98
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 0x405efe
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.004044e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402eb4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ee8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f05
lea eax, [ebp - 0x10]
call fcn.00404274
ret

Function at 0x40af30
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 0x40af69
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404364
jmp 0x40af72
mov eax, ebx
mov edx, esi
call fcn.004042c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af7c
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 0x40af9d
mov al, byte [esp]
jmp 0x40af9f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b634
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b49c
mov eax, dword [0x46a830]
cmp byte [eax], 0
je 0x40b6b0
mov eax, dword [0x46a59c]
call fcn.00402d20
call fcn.00402bc4
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.0040870c
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 0x40b6f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b6e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46a534]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46b664]
call fcn.00405304
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
Function at 0x40bf54
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c02a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040430c
lea eax, [ebp - 8]
call fcn.00404784
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404734
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c014
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c00d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404734
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bff7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c03c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bff7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c014
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c031
lea eax, [ebp - 8]
call fcn.00404274
ret

Function at 0x40c578
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c5dc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408288
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5e3
lea eax, [ebp - 0xc]
call fcn.00404274
ret

Function at 0x41a53c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a394
dec esi
jne 0x41a55e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b6a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46b888
cmp dword [edi], 0
jne 0x41b71c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46b884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4693ec
mov ecx, 2
call fcn.00402c58
mov edx, 0x41b678
lea eax, [esi + 5]
call fcn.0041b698
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b698
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b6f1
mov dword [0x46b884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c940
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c946
ret

Function at 0x41eef0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41ef41
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ef28
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ef18
jmp 0x41ef41
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41ef29
pop ebx
mov esp, ebp
pop ebp
ret