joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x58064cea
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x39a02b7e
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404be4
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.00407f3c
test esi, esi
jne 0x404c1a
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.00408088
jmp 0x404c38
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404b28
mov edi, eax
test esi, esi
je 0x404c38
cmp dword [ebx], 0
je 0x404c38
dec esi
jmp 0x404c21
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x406c68
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.00407128
mov byte [esp], al
cmp byte [esp], 0
jne 0x406df1
test edi, edi
je 0x406df1
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406d31
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406d0c
cmp edi, 0xffffffff
je 0x406ccd
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406ccd
mov byte [esp], 0
jmp 0x406df1
cmp dword [esi], 1
jg 0x406d0c
cmp dword [esi], 0
jne 0x406cfe
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406cfe
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406df1
lea eax, [esp + 0xc]
call fcn.0040691c
dec ebp
test ebp, ebp
jg 0x406cb2
cmp edi, 0xffffffff
je 0x406d31
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406d2f
mov byte [esp], 0
jmp 0x406df1
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x406c76
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406d31
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406e6c
mov edx, eax
mov ebx, dword [0x4248f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406d95
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406d93
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406d95
xor edi, edi
cmp byte [esp], 0
je 0x406dbb
mov ebx, dword [esi]
test bl, 1
jne 0x406dd1
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406d9b
mov byte [esp + 1], 1
jmp 0x406dd1
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406dbb
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x406d48
cmp byte [esp], 0
je 0x406df1
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 0x407cb8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x424054], 0
je 0x407d1f
cmp word [0x424340], 0xd7b2
jne 0x407ce1
cmp dword [0x424348], 0
jbe 0x407ce1
mov eax, 0x42433c
call dword [0x424358]
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, 0x407d4c
call fcn.004084b4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x422026], 0
jne 0x407d3b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40ab20
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 0x40ac87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407f3c
cmp si, word [0x4229f8]
jb 0x40abb8
cmp si, word [0x422bf8]
ja 0x40abb8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40abb8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4229f8]
jae 0x40ab92
mov edi, ebx
dec edi
jmp 0x40abb3
cmp si, word [ebx*8 + 0x4229f8]
jbe 0x40aba2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40abb3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4229fc]
call fcn.0040aa3c
jmp 0x40abb8
cmp edi, dword [ebp - 8]
jae 0x40ab7c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ac67
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ac67
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.004085e0
push dword [ebp - 0x160]
push 0x40aca4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004085e0
push dword [ebp - 0x164]
push 0x40acb4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004085e0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00408798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac8e
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407f9c
pop eax
jmp eax
Function at 0x40ae3c
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 0x40af42
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x426c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x426c28]
jne 0x40ae88
mov eax, esi
mov edx, 0x426c2a
mov ecx, 0x55
call fcn.004085e0
push 0x426c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40af2a
push 0x426c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407f3c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40aef7
cmp byte [0x426c0c], 0
je 0x40aebc
mov edx, esi
mov eax, ebx
call fcn.0040ad20
jmp 0x40aef7
mov edx, esi
mov eax, ebx
call fcn.0040ab20
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40aef7
cmp dword [esi], 0
je 0x40aee0
mov eax, esi
mov edx, 0x40af5c
call fcn.004086b8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040ab20
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004086b8
push 0x426c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x426c28], bx
mov eax, dword [esi]
call fcn.00408554
mov ecx, eax
mov eax, 0x426c2a
mov edx, 0xaa
call fcn.0040a99c
push 0x426c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40af49
lea eax, [ebp - 4]
call fcn.00407f3c
pop eax
jmp eax
Function at 0x40b184
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.00408030
xor eax, eax
push ebp
push 0x40b3ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40b1ca
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40b1e4
mov eax, dword [ebp - 4]
call fcn.00408554
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040a99c
cmp word [ebp - 0x21e], 0
je 0x40b38f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b3bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b2b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b3bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b2b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b3f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b2b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b3f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b2b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b42c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b2b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40b460
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40b38f
xor eax, eax
push ebp
push 0x40b388
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040af84
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 0x40b316
mov eax, dword [ebp - 0x14]
call fcn.004044f8
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.004085a4
jmp 0x40b361
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40b4a0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40b361
mov eax, dword [ebp - 0x14]
call fcn.004044f8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40b4a0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.004085a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b38f
cmp dword [ebp - 0xc], 0
je 0x40b37c
mov eax, dword [ebp - 0xc]
call fcn.00404514
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 0x40b3b3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407f9c
pop eax
jmp eax
Function at 0x40b6c0
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.00408030
xor eax, eax
push ebp
push 0x40b782
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.004085e0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408710
mov eax, dword [ebx]
call fcn.0040b568
test al, al
jne 0x40b75d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004085e0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408710
mov eax, dword [ebx]
call fcn.0040b568
test al, al
jne 0x40b75d
mov eax, ebx
call fcn.00407f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b789
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407f9c
lea eax, [ebp - 4]
call fcn.00407f3c
pop eax
jmp eax

Function at 0x40d148
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 0x417390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4173e9
test eax, edx
je 0x4173ec
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4173a7
movzx eax, word [eax]
sub eax, ecx
jmp 0x4173ce
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 0x4173cf
add ecx, 4
js 0x4173bf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4173cc
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4173ce
xor eax, eax
ret
test eax, eax
je 0x4173f8
test edx, edx
jne 0x417398
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41960c
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 0x419645
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408088
jmp 0x41964e
mov eax, ebx
mov edx, esi
call fcn.00408204
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x419658
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 0x41967c
movzx eax, word [esp]
jmp 0x41967e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41ad9c
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 0x41aec3
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041aba4
mov esi, eax
mov eax, dword [0x4236b0]
cmp byte [eax], 0
je 0x41ae69
mov eax, dword [0x4235b4]
call fcn.0040514c
call fcn.0040464c
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 [0x41ad6c]
call fcn.0040a2b0
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 0x41aedc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x41aea5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x42358c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x427634]
call fcn.0040a640
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 0x41aeca
lea eax, [ebp - 4]
mov edx, dword [0x41ad6c]
call fcn.0040a3d4
pop eax
jmp eax

Function at 0x41cd1c
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.00408304
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d128
mov edi, eax
cmp edi, 0x104
jbe 0x41ccc7
mov eax, edi
add eax, eax
call fcn.004044f8
mov esi, eax
jmp 0x41ccc9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d128
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41cd02
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 0x41ccec
mov eax, esp
cmp esi, eax
je 0x41cd0f
mov eax, esi
call fcn.00404514
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 0x41cd48
cmp bl, 0
je 0x41cd44
cmp bl, 0x41
jl 0x41cd3f
cmp bl, 0x5a
jg 0x41cd3f
or bl, 0x20
xor al, bl
inc esi
jmp 0x41cd23
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41cc88

Function at 0x41d0a8
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.004085e0
add esp, 0x800
pop ebx
ret
Function at 0x41d8e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d904
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x41d91e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41d919
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41d923
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x41d991
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x41d9da
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41d94f
inc dword [ebp - 0xc]
jmp 0x41d967
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x41d967
cmp dword [ebp - 0xc], 0
jle 0x41d967
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x41d989
xor eax, eax
jmp 0x41d985
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41d984
mov eax, esi
jmp 0x41d9dd
inc eax
cmp eax, ecx
jle 0x41d971
inc esi
cmp esi, dword [ebp - 8]
jl 0x41d93b
jmp 0x41d9da
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x41d9da
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x41d9b2
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x41d9d4
xor eax, eax
jmp 0x41d9d0
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x41d9cf
mov eax, esi
jmp 0x41d9dd
inc eax
cmp eax, ecx
jle 0x41d9bc
inc esi
cmp esi, dword [ebp - 8]
jl 0x41d99a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41dbc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x41dbdf
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x41dbef
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x41dd11
test ebx, ebx
jl 0x41dd11
test esi, esi
jle 0x41dd11
mov eax, dword [ebp - 8]
call fcn.00408554
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408554
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x41dcae
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x41dd11
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41dc93
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41dc62
inc dword [ebp - 0x14]
jmp 0x41dc72
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x41dc72
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x41dc7d
or eax, 0xffffffff
jmp 0x41dc93
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41dc90
inc eax
jmp 0x41dc93
or eax, 0xffffffff
test eax, eax
jl 0x41dc9b
cmp esi, eax
jg 0x41dc50
cmp esi, eax
jg 0x41dca6
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41dd14
inc edx
dec dword [ebp - 0x1c]
jne 0x41dc4c
jmp 0x41dd11
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x41dd11
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x41dcf8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x41dcd7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x41dce2
or eax, 0xffffffff
jmp 0x41dcf8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x41dcf5
inc eax
jmp 0x41dcf8
or eax, 0xffffffff
test eax, eax
jl 0x41dd00
cmp esi, eax
jg 0x41dcc0
cmp esi, eax
jg 0x41dd0b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x41dd14
inc edx
dec dword [ebp - 0x1c]
jne 0x41dcbc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8