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

Disassembly:
pushfd
add ebp, 0xffffff9d
push esi
xchg esp, eax
pop ss
invalid
xchg esi, eax
jl 0x6fa0af
test eax, 0xc491a8a9
lea edx, cs:[eax + ebp*2]
invalid
push 0xa985288f
popfd
movsb byte es:[edi], byte [esi]
cmp al, 0x2c
xor al, 0xfa
int3
out 0xad, al
cmc
lodsd eax, dword [esi]
xlatb
inc eax
mov ah, 0x86
js 0x6fa1b6
pop ds
stosb byte es:[edi], al
push ecx
mov dword [0x1c897376], eax
popal
mov dh, 0xf7
and eax, 0xb36ab75e
ja 0x6fa105
pushfd
xlatb
jo 0x6fa110
cmp al, 0x77
dec ecx
int 0x60
ficom dword [ecx]
pop esp
or al, 0x96
xlatb
dec eax
xchg esp, eax
sub al, 0x9c
pushfd
nop
call fcn.0079d0b7
add bh, bh
xor al, 0x24
push dword [esp]
xchg dword [esp + 0x2c], ebx
call fcn.007ea870
imul esp, dword [ebp + 0x20], 0x7f
cpuid
je 0x6fa145
sbb dword [eax + 0x66d87f8b], esi
outsd dx, dword [esi]
inc edi
dec eax
dec eax
cdq
adc al, 0x7e
aas
xchg ebx, eax
sbb eax, 0x14bd2274
jb 0x6fa1d5
ret
aaa
les ebx, [edi]
lahf
jbe 0x6fa169
jb 0x6fa17a
retf
loopne 0x6fa182
add dh, byte [ebp + 0x43]
jg 0x6fa1b2
mov bl, 0x60
inc edi
mov esi, 0xe39d7ec
add ah, dl
popfd
mov ebx, 0xaf4fe6d1
push edi
mov ebp, 0x9c816a7
or esi, edx
imul edi, dword [ecx - 0x59], 0xd4048c82
pop edi
sub eax, 0xe5278c83
fld xword [ebx - 0x27]
push es
sbb bh, dh
and dh, bl
in eax, dx
xor dh, ch
invalid

Function at 0x730361
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
call fcn.00698e62
mov byte [ebp - 1], 1
rdtsc
setl dl
cwde
pop ebx
rdtsc
pushal
mov edx, dword [esi]
pushal
mov ch, 0xe1
jmp fcn.006db32d
pushfd
pushfd
mov dword [eax + 8], edi
movsx ax, cl
bswap ax
lea eax, [ebx*8 - 0x49ed5bb8]
dec al
mov eax, dword [esi + 0x28]
call fcn.007748cb
push 0x84564d4f
pushfd
pop dword [esp]
call fcn.0065c8bb
movzx bx, cl
movsx ax, bl
inc dx
dec dword [esi + 0x28]
jmp 0x7722d2
jmp 0x71b99e
mov dword [eax], edi
movzx edi, cl
dec di
mov dword [esp], esp
mov edi, dword [eax + 0x10]
jmp 0x5e294d
lea esp, [esp + 4]
jae 0x71f558
xor cl, dl
aaa
lea ecx, [edi + edi*2]
clc
btr ax, bp
pushal
movzx ax, cl
add ecx, ecx
sal edi, cl
sete al
shl al, 3
add ecx, ecx
xadd edi, eax
add esp, 0x20
jb 0x8399bb
not al
cwde
mov eax, dword [esi + 0x20]
rcr di, cl
test al, 0xcb
mov edi, dword [eax + ecx + 0xc]
cmc
pushfd
bt di, 2
jmp 0x7724c0
push 0x1d83aee4
lea esp, [esp + 4]
jne 0x68e947
cdq
movsx bx, al
dec dword [esi + 0x28]
setle dh
sete dl
movzx dx, bl
mov byte [ebp - 1], 1
test ax, si
cmp edi, eax
jmp 0x6acc8c
jmp 0x5f8de6
add eax, ecx
jmp 0x6f53b8
pushfd
rcl ah, cl
mov eax, dword [esi + 0x20]
and di, 0x846e
mov edi, dword [eax + ecx + 0xc]
clc
cmp dh, 0x9e
add eax, ecx
pushfd
mov dword [eax], edi
bswap edi
bswap edi
mov edi, dword [eax + 0x10]
pushfd
mov byte [esp], 0x5f
mov dword [eax + 4], edi
pop edi
inc di
mov edi, dword [eax + 0x14]
mov byte [esp], 0x2e
jmp 0x6173b5
Function at 0x73e9bb
Capabilities:
Encode data using xor

Disassembly:
xchg dword [esp + 8], edi
push dword [esp]
pushal
mov dword [esp + 0x28], edi
pop edi
bswap di
pushal
movzx di, dl
mov edi, 0x5173b1
jmp 0x83f9e9
mov edi, dword [edi + 0xd88d5]
call fcn.0078aef4
fmul st(5), st(0)
sub esi, dword [edx]
scasd eax, dword es:[edi]
or dh, byte [ecx + 0xf009669]
xor cl, byte [ebx - 0x60d3744]
insd dword es:[edi], dx
jno 0x83fa59
mov edi, dword [eax + ecx*8 + 0x716df9f2]
push ecx
mov byte [ecx], dh
pop ebp
push esp
xor al, 0x77
popal
jo 0x83fa27
cwde
int1
mov cl, 0xdc
invalid
pop edi
and eax, 0xf4f3417c
stc
xchg ecx, eax
sahf
mov byte [ebp - 0x6c93786f], dh
push ebx
add eax, 0xca30309
xor ah, 0x47
add bl, byte [ecx - 7]
jb 0x83fa00
pop esi
jmp 0x83fa9d
std
salc
xlatb
dec ecx
shr ah, cl
pop edi
mov ebp, 0x70bd0381
test dh, 0xb2
dec esi
cmp dword [edx + 0x26], ebx
add esi, dword [edi + ecx*8 + 2]
ja 0x83fac7
invalid
aam 0x48
inc ebp
out dx, eax
cwde
sbb al, 0x6b
dec ecx
imul edi, dword [edx], 0xffffffe5
daa
add byte [edx + 0x2b51276b], ch
cmp al, 0xe0
clc
and eax, 0xe721e5fb
cmp dword [esi], esi
shr dh, 1
mov bh, 0xc1
push edi
or byte [0x283675c2], dh
salc
push ds
xor eax, dword [ebx + ebx*4 - 0x7b]
xchg esi, eax
sub byte [edi - 0x3f8c5fd7], cl
wait
test dword [esi - 0x5fd670d8], edx
jae 0x83fa66
test dl, 0x4c
invalid
std
xchg edx, eax
or dl, byte [ebx]
out dx, al
xchg ebx, eax
aad 0xe8
shl byte [esi + 0x4bcbf5bc], cl
xor eax, 0x6e3df85b
invalid
Function at 0x75419d
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp + 8], dh
lea esp, [esp + 0x28]
call fcn.004368a8
cwde
pushfd
lea eax, [ebp - 0x2a527682]
mov eax, ebx
jmp 0x787a53
pushfd
pushal
pushfd
mov dword [esp + 0x24], 0x6908d7
pushal
pushfd
push dword [edx + 0x1c]
pop dword [esp + 0x44]
pushfd
push dword [esp + 0x48]
ret 0x4c
jmp 0x5ebea1
pushal
jmp 0x586f95
xchg dx, ax
bswap ax
mov dx, 0x63b5
mov eax, ebx
bswap dx
jmp 0x7683db
setb dl
mov edx, dword [eax]
jbe 0x65ad10
push ebx
pushfd
mov dword [esp + 4], 0x6908d7
jmp fcn.00587aa9
jmp 0x803409
mov byte [esp], 0x47
push eax
lea esp, [esp + 8]
call fcn.00436824
pushal
add eax, 4
pushfd
mov byte [esp + 0xc], 0xed
adc edx, 0
pushal
push 0x6784e533
mov dword [esp + 0x44], edx
not dx
setae dl
mov dword [esp + 0x40], eax
lea esp, [esp + 0x40]
jns 0x76520f
pushal
cdq
cwde
mov eax, ebx
lea edx, [esp + 0x2e6f9f31]
pushfd
mov byte [esp + 4], ah
mov edx, dword [eax]
push dword [esp + 4]
mov dword [esp + 0x24], 0x6e92d5
jmp 0x82fe44
test dword [edi + 0xe0ff1d7], edi
cmc
pop ds
lodsb al, byte [esi]
insd dword es:[edi], dx
wait
fld dword [ecx]
mov esi, 0xbd86b6fb
ret
invalid
cmp eax, 0x210bcf9
cmp eax, 0x6fb263d6
lodsd eax, dword [esi]
in eax, dx
pop ebx
stc
cmp dword [esi], esp
xchg edi, eax
pop ebp
fucomp st(0)
daa
out dx, al
in al, 0xff
call fcn.0067ec70
dec esi
nop
inc esi
mov ebp, 0x621f61ce
mov bh, 0xed
in eax, dx
pop edx
xchg ebx, eax
jb 0x82fe21
xor edx, esp
xchg edx, eax
push eax
outsb dx, byte [esi]
jno 0x82fdf5
pop esi
imul ecx, dword [esi], 0x4430d0c
xor dword [ecx], 0xffffff83
aam 0x79
adc esi, dword [ecx + 0x37]
add esi, ebp
sbb eax, dword [esi]
cmp al, 0xed
das
jl 0x82fef7
cmp al, ah
adc al, 0xa4
cmpsd dword [esi], dword es:[edi]
sal bh, cl
mov bl, 0xfe
jne 0x82fe31
test eax, 0x5d9acb74
push es
sbb dword [0x8714a4d1], ebx
je 0x82fe53
lcall 0xa4d1, 0x1d19065d
adc al, 0x87
mov eax, dword [0xd2c08a17]
invalid
jae 0x82fe86
cwde
invalid

Function at 0x78a03e
Capabilities:
Packed with generic packer

Disassembly:
call fcn.0069d59c
and eax, 0x3f991281
xor dword [edi + 0x75a38c93], 0x7a
rcr dword [ecx - 0x66], cl
invalid
push esp
lea eax, [eax + 0x2e665e3e]
mov byte [esp], al
jmp 0x6216ab

Function at 0x79bd4d
Capabilities:
Get number of processors

Disassembly:
shr dh, cl
pop ecx
xor eax, eax
xchg dx, cx
xchg cl, dl
movzx cx, al
pop edx
mov ch, 0x4d
pushfd
mov ecx, dword [esp + 4]
bswap ecx
mov ecx, dword [esp + 8]
mov dword [esp], ecx
pushal
mov word [esp + 4], 0x9683
push 0x7b4e29e5
mov dword fs:[eax], edx
mov word [esp], cx
lea esp, [esp + 0x30]
jmp 0x6d4944

Function at 0x7adb99
Capabilities:
Encode data using xor

Disassembly:
pushal
pushfd
mov byte [esp + 4], 0x22
xchg dword [esp + 0x34], ebp
call fcn.006cfdbe
jb 0x7adbf4
and al, 4
and al, byte [edi - 0x17cbdb94]
adc eax, 0x72fff222
dec ecx
inc ebx
pop edi
xchg esp, eax
fadd dword [ebx + ebp + 8]
jge 0x7adb9d
dec esi
das
invalid
lahf
wait
push esi
push 0xffffffffffffffaf
cdq
sub dl, byte [ecx - 0x7ef1563f]
movsb byte es:[edi], byte [esi]
salc
popfd
rcr dword [ebp + 0x31], 0x27
mov esp, 0x48e313c5
inc edi
invalid
Function at 0x8079df
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp], ah
lea esp, [esp + 0x34]
jb 0x6f642b
rdtsc
mov ebx, 0xdd51f8
pushal
dec dword [esi + 0x28]
xchg dx, ax
not bl
lahf
rdtsc
mov byte [ebp - 1], 1
bswap ebx
setb dh
mov ebx, dword [esp + 0x20]
not al
setns ch
movsx cx, bl
pushal
mov edx, dword [esi]
call fcn.006e3056

Function at 0x80b804
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [eax + 8], edi
lea eax, [eax*8 + 0x3b118513]
mov eax, dword [esi + 0x28]
jmp 0x6a86fa
pushal
mov byte [esp], bh
inc edx
call fcn.0062c920
invalid
push 0x4028691
lea esp, [esp + 8]
jb 0x6f642b
cdq
mov bh, dl
call fcn.0059001c
mov ah, 0x91
push eax
pushal
mov edi, 0x4b712e00
leave
invalid
mov byte [esp + 8], bh
lea esp, [esp + 0x2c]
jns 0x662332
push esp
inc edx
pushfd
pushfd
pushal
jmp 0x71f52b
dec eax
stc
push dword [esp]
add ecx, 0xc
mov byte [esp], 0x25
bt di, 0xe
cmp edx, eax
lea esp, [esp + 0x30]
jp 0x73145d
pushal
mov byte [esp + 0xc], 0x41
lea esp, [esp + 0x20]
jb 0x6f642b
push ebp
jmp 0x6a14e4
mov byte [esp], dl
mov dword [eax + 4], edi
pop edi
jmp 0x7cf305
mov word [esp + 0x10], di
mov edi, dword [eax + 0x14]
jmp 0x58a8ff
add eax, ecx
push 0xa2a30092
mov word [esp], di
push 0x6789c66b
mov dword [eax], edi
dec edi
lea edi, [edi - 0x1e310b34]
movzx di, al
mov edi, dword [eax + 0x10]
pushfd
jmp 0x76a950

Function at 0x835130
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x1b
shl ax, cl
mov eax, dword [ebp - 0x14]
clc
jmp 0x6a6d3d
call fcn.00783ff6
push edi
mov byte [esp], bl
sub eax, dword [ebp - 0x24]
push dword [esp]
xor edx, edx
pushfd
mov dword [esp + 8], edx
pushal
jmp 0x76c8b5
clc
jmp 0x68fa50
pushfd
inc dword [ebp - 0x24]
push dword [esp]
mov word [esp + 4], bp
lea esp, [esp + 8]
jmp 0x663706
pushfd
jmp 0x83d315
mov byte [esp + 0x18], ch
lea esp, [esp + 0x34]
call fcn.0040832c
test ch, bl
cmp edx, 0
pushal
lea esp, [esp + 0x20]
jne 0x74f16a
jns 0x73b539
cmp eax, 0
pushfd
lea esp, [esp + 4]
je 0x5ede60
push esi
mov byte [esp], dl
inc dword [ebp - 0x24]
push dword [esp]
mov byte [esp], 0xa1
mov byte [esp + 4], dl
lea esp, [esp + 8]
jmp 0x663706
xchg dword [esp + 0x28], eax
pop eax
mov eax, ebx
push edx
call fcn.006b08ef

Function at 0x839519
Capabilities:
Packed with generic packer

Disassembly:
mov edi, dword [esp + 4]
pushfd
lea esp, [esp + 0xc]
jb 0x7cad33
push 0x43a262d9
xchg dword [esp + 4], edi
pushal
pushal
mov byte [esp + 8], dl
lea esp, [esp + 0x44]
jg 0x5e60e9
push edi
call fcn.005cd4c8
jmp 0x7e683e
mov edi, 0x48f929
pushfd
push dword [esp]
mov edi, dword [edi + 0x13e5fa]
push dword [esp + 8]
push edx
lea edi, [edi + 0x7a8a01eb]
call fcn.00584fc5
xor al, 0xda
push ss
push eax
cmpsb byte [esi], byte es:[edi]
mov bh, 0x8b
or eax, 0x3d0a7d9d
sahf
pop es
popal
cmpsb byte ds:[esi], byte es:[edi]
dec esi
cmp al, 0xd6
shl dword [ebx], cl
add esi, dword [edx - 0x685b744d]
ret 0xd17a
pushfd
call fcn.008374c3
push 0xe43fad41
pushal
mov word [esp + 4], 0xf308
mov dword [esp + 0x20], edi
pushal
mov word [esp + 0x10], sp
jmp 0x6bf3d6
jmp 0x58ec07
Function at 0x83d352
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
pushfd
call fcn.006815c8
mov dword [esp + 0x20], 0x66d8d7
jmp 0x649fcf
Function at 0x4029c8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402a05
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402a25
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404ae8
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402c28
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404878
test esi, esi
jne 0x402c5e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404968
jmp 0x402c7c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402b3c
mov edi, eax
test esi, esi
je 0x402c7c
cmp dword [ebx], 0
je 0x402c7c
dec esi
jmp 0x402c65
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403914
Capabilities:
Query or enumerate registry value

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

Function at 0x404678
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e304c], 0
je 0x4046d9
cmp word [0x4e3220], 0xd7b2
jne 0x4046a1
cmp dword [0x4e3228], 0
jbe 0x4046a1
mov eax, 0x4e321c
call dword [0x4e3238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4da094
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 0x404700
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4da034], 0
jne 0x4046f5
push 0
push 0x4da08c
push 0x4da094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40482c
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.004027b4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4047f4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406818
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 0x40687e
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.00404ae8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403450
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406868
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406885
lea eax, [ebp - 0x10]
call fcn.00404878
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4097c5
test al, 0x10
jne 0x4097c9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409960
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d38
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x409974
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404d38
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409996
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40cf08
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 0x40cf41
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404968
jmp 0x40cf4a
mov eax, ebx
mov edx, esi
call fcn.004048cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cf54
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 0x40cf75
mov al, byte [esp]
jmp 0x40cf77
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d748
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d5c0
mov eax, dword [0x4e28a8]
cmp byte [eax], 0
je 0x40d7c4
mov eax, dword [0x4e24c0]
call fcn.00403040
call fcn.0040291c
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.00409e90
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 0x40d80c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d7fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e241c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e3668]
call fcn.00405cf8
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 0x40e0a8
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 0x40e17e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404910
lea eax, [ebp - 8]
call fcn.00404d88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d38
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e168
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e161
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.00404d38
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e14b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e190
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e14b
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 0x40e168
mov eax, dword [ebp - 0x10]
call fcn.004027d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e185
lea eax, [ebp - 8]
call fcn.00404878
ret

Function at 0x40e874
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 0x40e8d8
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.00404ae8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409328
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8df
lea eax, [ebp - 0xc]
call fcn.00404878
ret
Function at 0x4208a8
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.004206d4
dec esi
jne 0x4208ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421a0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e388c
cmp dword [edi], 0
jne 0x421a88
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e3888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4da4c0
mov ecx, 2
call fcn.00402afc
mov edx, 0x4219e4
lea eax, [esi + 5]
call fcn.00421a04
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421a04
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 0x421a5d
mov dword [0x4e3888], 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 0x42309c
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 0x4230a2
ret

Function at 0x425910
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 0x425961
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425948
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425938
jmp 0x425961
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 0x425949
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fabc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x42fbea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42fbbd
xor eax, eax
push ebp
push 0x42fbb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b38
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42fb8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42fb7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b38
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d38
mov edx, ebx
pop ecx
call fcn.00402afc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fb81
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4e2334]
mov dl, 1
mov eax, dword [0x407dbc]
call fcn.0040d8cc
call fcn.00404230
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fbf1
lea eax, [ebp - 4]
call fcn.00404878
ret