joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77e94fd0
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x74fe0ac1
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x46221c
Capabilities:
Encode data using xor

Disassembly:
fcom qword [eax + ebp*4 - 0xa95bd8d]
push es
pop ebx
invalid
Function at 0x4b760c
Capabilities:
Encode data using xor

Disassembly:
popal
inc ecx
xchg byte [eax + 0x35], al
mov dh, byte [esi - 0x25713e6b]
xor eax, 0xc195b68a
mov ds, edx
rcr byte [ecx - 0x50], cl
aam 0xd1
jbe 0x4b760e
cmp dl, byte [ecx + 0x65de89]
dec ecx
and byte [esi + 0x13], cl
bound esp, qword [edx]
and eax, 0x17521a52
push edx
call dword [edi + 0x70e220f1]
mov eax, 0xa58bd5fb
adc eax, 0x52ebdc67
jns 0x4b760a
mov edi, 0xde5c1950
test eax, 0xf5652251
scasb al, byte es:[edi]
cli
xor dword [di], eax
or dh, ch
test byte [esp + edi*4], dl
sbb dh, byte [0xd29505a5]
imul edi, eax, 0x3a
pop ebp
cmp edx, dword [ebx]
jnp 0x4b76bc
in al, dx
sbb ebp, 0xffffffb6
push esp
sbb byte [ecx + 0xeefd141], 0x72
jge 0x4b76d2
test byte [edi - 0x18], bh
and bh, byte [eax + 0xe]
insd dword es:[edi], dx
mov esp, edx
ror ah, cl
xor al, 0x4a
push esp
hlt
push ecx
movsd dword es:[edi], dword [esi]
test eax, ecx
fist dword [ebx]
std
or dword [ecx], ecx
out dx, al
call 0xd79f2bd7
push 0xffffffffffffffe8
xor dword [ebx], ebp
jb 0x4b774d
mov ecx, 0xc758405a
nop
rcl dl, 0xad
mov bl, 0x11
xchg byte [edi - 0x68], bh
jae 0x4b76f6
pop edx
inc eax
pop eax
invalid
js 0x4b7753
mov bl, 0xf3
outsd dx, dword [esi]
int1
xor dh, dh
popaw
and ch, cl
pop eax
add al, 0x84
shl dword [edi - 0x34859596], 0x62
mov al, byte [0xd6006165]
mov al, byte [0xac69b5d5]
test eax, 0x3ba5b44a
and edx, dword [ebp + 0x2b]
out dx, al
inc edi
xor al, 0x39
ja 0x4b771d
invalid
and eax, 0x5d8aa072
ljmp 0x4eaa
cmpsb byte [esi], byte es:[edi]
bnd jae 0x4b773b
add dword [eax + 0x26], eax
mov dword [0xa2221e5], eax
mov dword [0x3f5bd33], eax
retf 0x3acd
ret 0x2c52
adc edx, dword [ebx + eax*2 - 0x72aa96b3]
lds ecx, [edi - 0x56]
inc ebx
dec ebp
imul edx, dword [ebp - 0x73], 0x17aa4fc5
dec edi
stosb byte es:[edi], al
pop ss
je 0x4b77d7
pop edi
salc
pop ss
jmp 0x4b7799
xor byte [edi - 0x6207b7d4], 0xb5
inc ebp
push edx
adc bl, dh
push esp
mov ebp, 0x42bd0505
aad 0x42
jl 0x4b774b
mov eax, dword [0x1252fa33]
jbe 0x4b77d6
wait
inc ebp
mov dl, 0xe5
push 0xffffffffffffff81
mov dh, 0xb5
jbe 0x4b7753
xor dword [esi + 0x39476b5], 0xe355ef55
cmc
add edx, dword [ebp - 0x11]
push ebp
jecxz 0x4b77ba
pop esi
invalid
and eax, 0xca889bba
aas
mov edx, 0x3fca889b
sti
mov al, 0xf4
lds esp, [edx + 0x13]
push cs
enter 0xffffffffffffa915, 0xffffffffffffff9e
insb byte es:[edi], dx
mov esi, 0x4da724aa
ficom dword [0xcd2c772c]
invalid
Function at 0x42685c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42698c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x426964
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x42694d
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040c0b0
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c52c
test eax, eax
jle 0x42694d
mov eax, dword [ebp - 4]
test eax, eax
je 0x426901
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x42690f
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040c3d0
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040c05c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040c260
jmp 0x426964
add ebx, 2
cmp word [ebx], 0
jne 0x42694a
add ebx, 4
test ebx, ebx
je 0x42695e
cmp word [ebx], 0
jne 0x4268ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426993
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040b4c4
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax
Function at 0x426d40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00430d00
test al, al
je 0x426e0a
xor edx, edx
mov eax, ebx
call fcn.00428a24
test al, al
je 0x426e0a
mov eax, ebx
call fcn.004285f4
test al, 0x20
je 0x426e0a
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426e0a
test ah, 4
je 0x426e0a
test al, 0x10
je 0x426da7
mov edi, 0x2000000
jmp 0x426da9
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x426e0a
xor eax, eax
push ebp
push 0x426e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00426a88
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e0a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x427100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x427159
test eax, edx
je 0x42715c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x427117
movzx eax, word [eax]
sub eax, ecx
jmp 0x42713e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x42713f
add ecx, 4
js 0x42712f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42713c
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42713e
xor eax, eax
ret
test eax, eax
je 0x427168
test edx, edx
jne 0x427108
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4284a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x428581
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x428564
test edi, edi
je 0x428564
xor edx, edx
mov eax, 6
call fcn.00430d00
test al, al
je 0x428564
lea edx, [ebp - 4]
mov eax, edi
call fcn.004291fc
mov eax, dword [ebp - 4]
call fcn.004285f4
test al, 0x20
je 0x428564
mov eax, esi
call fcn.004294c0
test al, al
je 0x42852a
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00431230
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c208
mov eax, dword [ebp - 8]
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x428539
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42854a
test bl, 0x10
je 0x42854a
mov ebx, 1
jmp 0x42854c
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0040bffc
push eax
mov eax, edi
call fcn.0040bffc
push eax
call sub.kernel32.dll_CreateSymbolicLinkW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428588
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax

Function at 0x4285f4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x428748
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x428594]
call fcn.0040e3c4
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4285c4]
call fcn.0040e3c4
add esp, 4
mov bl, 0
mov dl, 1
mov eax, esi
call fcn.00428abc
test al, al
jne 0x42866a
mov dl, 1
mov eax, esi
call fcn.00428a24
test al, al
je 0x4286f4
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0042933c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00431230
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
mov edi, eax
push edi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4286ef
test byte [ebp - 0x14], 1
je 0x4286ba
or bl, 1
test byte [ebp - 0x14], 2
je 0x4286c3
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4286cc
or bl, 0x20
push edi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4286e0
dec eax
je 0x4286e5
dec eax
je 0x4286ea
dec eax
jne 0x42870c
or bl, 0x10
jmp 0x42870c
or bl, 4
jmp 0x42870c
or bl, 8
jmp 0x42870c
call fcn.0043208c
push esi
mov ecx, dword [0x6825b8]
mov dl, 1
mov eax, dword [0x420ad8]
call fcn.0042ff04
call fcn.0040ab20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42874f
lea eax, [ebp - 0x1c]
call fcn.0040b464
lea eax, [ebp - 0xc]
mov edx, dword [0x4285c4]
call fcn.0040e4e8
lea eax, [ebp - 8]
mov edx, dword [0x428594]
call fcn.0040e4e8
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax
Function at 0x428a24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040bffc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x428a8e
test ah, 4
je 0x428a87
test bl, bl
jne 0x428a4c
mov al, 1
jmp 0x428ab5
test al, 0x10
je 0x428a54
xor eax, eax
jmp 0x428ab5
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428a78
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x428ab5
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x428ab5
test al, 0x10
sete al
jmp 0x428ab5
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x428aaf
cmp ebx, 3
je 0x428aaf
cmp ebx, 0x7b
je 0x428aaf
mov eax, esi
call fcn.004289e4
test al, al
jne 0x428ab3
xor eax, eax
jmp 0x428ab5
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0040bffc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x428b5a
test esi, 0x400
jne 0x428af1
test esi, 0x10
setne bl
jmp 0x428b5a
cmp byte [esp], 0
je 0x428b25
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428b5a
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x428b5a
test esi, 0x10
je 0x428b31
mov bl, 1
jmp 0x428b5a
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x428b58
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x428b5a
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x428d1c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x428dc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x428da6
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00426d40
test al, al
je 0x428da6
mov eax, dword [ebp - 4]
call fcn.004294c0
test al, al
je 0x428d96
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.004291fc
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00431230
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040c260
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428dca
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4c4
pop eax
jmp eax
Function at 0x428dd4
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428ea9
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b89c
cmp byte [ebp - 9], 0
je 0x428e65
mov eax, ebx
call fcn.0040bffc
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x428e65
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00426d40
test al, al
je 0x428e65
mov eax, dword [ebp - 8]
call fcn.004294c0
test al, al
je 0x428e5a
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004291fc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00431230
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040c260
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b89c
push edi
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x428e7f
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428eb0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b4c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax

Function at 0x428fe8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040bffc
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x42903d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x429037
test ah, 4
je 0x429037
test al, 0x10
je 0x429037
mov eax, esi
call fcn.0040bffc
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x42903d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42dea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42dedd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040b5fc
jmp 0x42dee6
mov eax, ebx
mov edx, esi
call fcn.0040b854
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42def0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42df14
movzx eax, word [esp]
jmp 0x42df16
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42f630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x42f757
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042f438
mov esi, eax
mov eax, dword [0x682494]
cmp byte [eax], 0
je 0x42f6fd
mov eax, dword [0x6820b4]
call fcn.00408018
call fcn.00407168
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42f600]
call fcn.0040e3c4
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42f770
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42f739
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x682004]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x686634]
call fcn.0040e990
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f75e
lea eax, [ebp - 4]
mov edx, dword [0x42f600]
call fcn.0040e4e8
pop eax
jmp eax
Function at 0x430a50
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x430a93
mov eax, dword [ebp - 0x10c]
mov dword [0x686950], eax
mov eax, 0x686954
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040c0b0
mov eax, 0x686958
call fcn.0040b464
xor eax, eax
mov dword [0x68695c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x686814], 0xa
jl 0x430be9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x430bf4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x430be9
xor eax, eax
push ebp
push 0x430be2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430c50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430b42
cmp dword [ebp - 8], 2
jle 0x430b42
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430b15
adc edx, 0
mov eax, 0x686958
call fcn.0040c188
lea eax, [ebp - 8]
push eax
mov eax, dword [0x686958]
call fcn.0040bffc
push eax
push 0
push 0
push 0x430c50
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x430b9c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x430c70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x430b9c
cmp dword [ebp - 8], 2
jle 0x430b9c
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x430b71
adc edx, 0
mov eax, 0x686958
call fcn.0040c188
lea eax, [ebp - 8]
push eax
mov eax, dword [0x686958]
call fcn.0040bffc
push eax
push 0
push 0
push 0x430c70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x68695c
push 0
push 0
push 0x430c84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x430bc9
xor eax, eax
mov dword [0x68695c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430be9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x67a730], 1
mov esp, ebp
pop ebp
ret
Function at 0x430d2c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x430e06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b89c
lea eax, [ebp - 4]
call fcn.0040ba40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x430dee
mov eax, ebx
call fcn.00406ff4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x430de7
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 - 4]
call fcn.0040bffc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x430dcf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x430e18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x430dcf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430dee
mov eax, dword [ebp - 0x10]
call fcn.00407010
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e0d
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax

Function at 0x431ed4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040b980
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041161c
mov edi, eax
cmp edi, 0x104
jbe 0x431e7f
mov eax, edi
add eax, eax
call fcn.00406ff4
mov esi, eax
jmp 0x431e81
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041161c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x431eba
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x431ea4
mov eax, esp
cmp esi, eax
je 0x431ec7
mov eax, esi
call fcn.00407010
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x431f00
cmp bl, 0
je 0x431efc
cmp bl, 0x41
jl 0x431ef7
cmp bl, 0x5a
jg 0x431ef7
or bl, 0x20
xor al, bl
inc esi
jmp 0x431edb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x431e40

Function at 0x432818
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040c0b0
add esp, 0x800
pop ebx
ret