joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471ad2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471b0a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046fb77
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046fb4f
jmp 0x471b16
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4731c3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x473205
call fcn.00478dbf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473205
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4731fc
xor eax, eax
jmp 0x47320d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473213
pop edi
pop esi
pop ebx
ret 4

Function at 0x4792ef
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47931d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47933b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479255
jmp 0x47933b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47933b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479255
test edi, edi
mov eax, edi
jne 0x479325
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x100b3037
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0x10]
jae 0x100a52fc
rcr cx, 1
cmp cl, 0xcc
seto cl
btr di, 0xa
mov ebx, eax
jmp 0x100a35ff

Function at 0x10139025
Capabilities:
Encode data using xor

Disassembly:
jmp 0x101396cd
cmp eax, dword [ebp - 0x10]
push eax
call fcn.100b3037
shr byte [edi + 0x25ef7a06], 0xdb
in al, dx
pop ss
cmp al, bl
mov ah, 0x9a
pushfd
sub eax, 0xf7321217
sub byte [edx], bh
test dword [esp + esi*8], ebx
or al, 0x7b
out dx, eax
and eax, 0x7523eb57
pushfd
mov eax, 0x339a83db
sal dword [ecx + 0xc], 1
cmp ah, dl
or al, 0x51
cld
les esp, [edx + 0x57]
mov al, 0x47
adc ah, byte [edi]
or ah, byte [ecx - 0x2a]
adc eax, 0x57705b8a
mov dh, cl
lahf
xor ebx, ebx
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40741c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040b424
test esi, esi
jne 0x407452
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040b5bc
jmp 0x407470
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004072fc
mov edi, eax
test esi, esi
je 0x407470
cmp dword [ebx], 0
je 0x407470
dec esi
jmp 0x407459
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40a06c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0040a52c
mov byte [esp], al
cmp byte [esp], 0
jne 0x40a1f5
test edi, edi
je 0x40a1f5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40a135
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x40a110
cmp edi, 0xffffffff
je 0x40a0d1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40a0d1
mov byte [esp], 0
jmp 0x40a1f5
cmp dword [esi], 1
jg 0x40a110
cmp dword [esi], 0
jne 0x40a102
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40a102
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40a1f5
lea eax, [esp + 0xc]
call fcn.00409d1c
dec ebp
test ebp, ebp
jg 0x40a0b6
cmp edi, 0xffffffff
je 0x40a135
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40a133
mov byte [esp], 0
jmp 0x40a1f5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40a07a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a135
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040a270
mov edx, eax
mov ebx, dword [0x6738fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40a199
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40a197
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40a199
xor edi, edi
cmp byte [esp], 0
je 0x40a1bf
mov ebx, dword [esi]
test bl, 1
jne 0x40a1d5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a19f
mov byte [esp + 1], 1
jmp 0x40a1d5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40a1bf
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40a14c
cmp byte [esp], 0
je 0x40a1f5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40b0bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x67305c], 0
je 0x40b123
cmp word [0x673348], 0xd7b2
jne 0x40b0e5
cmp dword [0x673350], 0
jbe 0x40b0e5
mov eax, 0x673344
call dword [0x673360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x40b150
call fcn.0040bcf0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x668036], 0
jne 0x40b13f
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40b2e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x668038], 0
je 0x40b30f
mov edx, edi
mov eax, esi
call dword [0x668038]
mov ebx, eax
jmp 0x40b320
mov eax, 8
call fcn.00406ffc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x67305d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40b2ac
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40b350
mov eax, ebx
call fcn.00407018
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40edf8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40ef5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b424
cmp si, word [0x668a38]
jb 0x40ee90
cmp si, word [0x668c38]
ja 0x40ee90
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40ee90
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x668a38]
jae 0x40ee6a
mov edi, ebx
dec edi
jmp 0x40ee8b
cmp si, word [ebx*8 + 0x668a38]
jbe 0x40ee7a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ee8b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x668a3c]
call fcn.0040ed14
jmp 0x40ee90
cmp edi, dword [ebp - 8]
jae 0x40ee54
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ef3f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ef3f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040c038
push dword [ebp - 0x160]
push 0x40ef7c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040c038
push dword [ebp - 0x164]
push 0x40ef8c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040c038
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040c270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef66
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040b484
pop eax
jmp eax
Function at 0x40f114
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f21a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x675c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x675c2c]
jne 0x40f160
mov eax, esi
mov edx, 0x675c2e
mov ecx, 0x55
call fcn.0040c038
push 0x675c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40f202
push 0x675c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040b424
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40f1cf
cmp byte [0x675c10], 0
je 0x40f194
mov edx, esi
mov eax, ebx
call fcn.0040eff8
jmp 0x40f1cf
mov edx, esi
mov eax, ebx
call fcn.0040edf8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40f1cf
cmp dword [esi], 0
je 0x40f1b8
mov eax, esi
mov edx, 0x40f234
call fcn.0040c190
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040edf8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040c190
push 0x675c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x675c2c], bx
mov eax, dword [esi]
call fcn.0040bf9c
mov ecx, eax
mov eax, 0x675c2e
mov edx, 0xaa
call fcn.0040ec74
push 0x675c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f221
lea eax, [ebp - 4]
call fcn.0040b424
pop eax
jmp eax
Function at 0x40f45c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b518
xor eax, eax
push ebp
push 0x40f684
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40f4a2
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40f4bc
mov eax, dword [ebp - 4]
call fcn.0040bf9c
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040ec74
cmp word [ebp - 0x21e], 0
je 0x40f667
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f694
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40f58b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f694
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40f58b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f6d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40f58b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f6d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40f58b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f704
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40f58b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40f738
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40f667
xor eax, eax
push ebp
push 0x40f660
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040f25c
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40f5ee
mov eax, dword [ebp - 0x14]
call fcn.00406ffc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040bffc
jmp 0x40f639
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40f778
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40f639
mov eax, dword [ebp - 0x14]
call fcn.00406ffc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40f778
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040bffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f667
cmp dword [ebp - 0xc], 0
je 0x40f654
mov eax, dword [ebp - 0xc]
call fcn.00407018
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f68b
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b484
pop eax
jmp eax
Function at 0x40f998
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b518
xor eax, eax
push ebp
push 0x40fa5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040c038
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040c1e8
mov eax, dword [ebx]
call fcn.0040f840
test al, al
jne 0x40fa35
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040c038
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040c1e8
mov eax, dword [ebx]
call fcn.0040f840
test al, al
jne 0x40fa35
mov eax, ebx
call fcn.0040b424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fa61
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b484
lea eax, [ebp - 4]
call fcn.0040b424
pop eax
jmp eax

Function at 0x4115c4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x426718
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 0x426848
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 0x426820
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 0x426809
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040c038
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c4b4
test eax, eax
jle 0x426809
mov eax, dword [ebp - 4]
test eax, eax
je 0x4267bd
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x4267cb
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.0040c358
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040bffc
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040c1e8
jmp 0x426820
add ebx, 2
cmp word [ebx], 0
jne 0x426806
add ebx, 4
test ebx, ebx
je 0x42681a
cmp word [ebx], 0
jne 0x42676a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42684f
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040b484
lea eax, [ebp - 4]
call fcn.0040b424
pop eax
jmp eax
Function at 0x426bfc
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.00430bdc
test al, al
je 0x426cc6
xor edx, edx
mov eax, ebx
call fcn.004287ec
test al, al
je 0x426cc6
mov eax, ebx
call fcn.004283bc
test al, 0x20
je 0x426cc6
mov eax, ebx
call fcn.0040bf9c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426cc6
test ah, 4
je 0x426cc6
test al, 0x10
je 0x426c63
mov edi, 0x2000000
jmp 0x426c65
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040bf9c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x426cc6
xor eax, eax
push ebp
push 0x426cbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00426944
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426cc6
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 0x426fbc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x427015
test eax, edx
je 0x427018
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x426fd3
movzx eax, word [eax]
sub eax, ecx
jmp 0x426ffa
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 0x426ffb
add ecx, 4
js 0x426feb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x426ff8
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x426ffa
xor eax, eax
ret
test eax, eax
je 0x427024
test edx, edx
jne 0x426fc4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret