joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4048a0
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.00406b9c
test esi, esi
jne 0x4048d6
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.00406d24
jmp 0x4048f4
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004047e4
mov edi, eax
test esi, esi
je 0x4048f4
cmp dword [ebx], 0
je 0x4048f4
dec esi
jmp 0x4048dd
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405d10
mov byte [esp], al
cmp byte [esp], 0
jne 0x405aa4
test edi, edi
je 0x405aa4
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4059db
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4059b6
cmp edi, 0xffffffff
je 0x405977
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405977
mov byte [esp], 0
jmp 0x405aa4
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4059b6
test ebx, ebx
jne 0x4059ac
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004027a4
test eax, eax
jne 0x4059ac
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405aa4
call 0x405e34
dec ebp
test ebp, ebp
jg 0x40595c
cmp edi, 0xffffffff
je 0x4059db
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4059d9
mov byte [esp], 0
jmp 0x405aa4
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405926
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x4059db
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405b14
mov edx, eax
mov ebx, dword [0x52d8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405a42
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405a40
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405a42
xor edi, edi
cmp byte [esp], 0
je 0x405a6b
mov ebx, dword [esi]
test bl, 1
jne 0x405a84
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x405a48
mov byte [esp + 1], 1
jmp 0x405a84
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x405a6b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4059f5
cmp byte [esp], 0
je 0x405aa4
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406834
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52d058], 0
je 0x40689b
cmp word [0x52d344], 0xd7b2
jne 0x40685d
cmp dword [0x52d34c], 0
jbe 0x40685d
mov eax, 0x52d340
call dword [0x52d35c]
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, 0x4068c8
call fcn.00407404
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x528032], 0
jne 0x4068b7
push 0
push 0x5289c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406a58
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 [0x528034], 0
je 0x406a83
mov edx, edi
mov eax, esi
call dword [0x528034]
mov ebx, eax
jmp 0x406a94
mov eax, 8
call fcn.00404520
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x52d059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406a20
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 0x406ac9
mov edx, 8
mov eax, ebx
call fcn.0040453c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x409010
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 0x409175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406b9c
cmp si, word [0x528a00]
jb 0x4090a8
cmp si, word [0x528c00]
ja 0x4090a8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4090a8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x528a00]
jae 0x409082
mov edi, ebx
dec edi
jmp 0x4090a3
cmp si, word [ebx*8 + 0x528a00]
jbe 0x409092
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4090a3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x528a04]
call fcn.00408f20
jmp 0x4090a8
cmp edi, dword [ebp - 8]
jae 0x40906c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x409157
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409157
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.00407778
push dword [ebp - 0x160]
push 0x409190
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407778
push dword [ebp - 0x164]
push 0x4091a0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407778
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004079b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40917c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406bfc
ret
Function at 0x409328
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 0x40942b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x52fb88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x52fba0]
jne 0x409374
mov eax, esi
mov edx, 0x52fba2
mov ecx, 0x55
call fcn.00407778
push 0x52fb88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x409415
push 0x52fb88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b9c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4093e3
cmp byte [0x52fb84], 0
je 0x4093a8
mov edx, esi
mov eax, ebx
call fcn.0040920c
jmp 0x4093e3
mov edx, esi
mov eax, ebx
call fcn.00409010
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4093e3
cmp dword [esi], 0
je 0x4093cc
mov eax, esi
mov edx, 0x409444
call fcn.004078d0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00409010
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004078d0
push 0x52fb88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x52fba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004076e4
push eax
push 0x52fba2
call sub.kernel32.dll_lstrcpynW
push 0x52fb88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409432
lea eax, [ebp - 4]
call fcn.00406b9c
ret
Function at 0x409660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c80
xor eax, eax
push ebp
push 0x409885
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4096a0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4096ba
push 0x105
mov eax, dword [ebp - 4]
call fcn.004076e4
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40986f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409894
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409789
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409894
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409789
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409789
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4098d0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409789
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409904
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409789
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409938
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40986f
xor eax, eax
push ebp
push 0x409868
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040946c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4097f8
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040773c
jmp 0x409843
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409978
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409843
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409978
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040773c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40986f
cmp dword [ebp - 8], 0
je 0x40985e
mov eax, dword [ebp - 8]
call fcn.0040453c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40988c
lea eax, [ebp - 4]
call fcn.00406b9c
ret
Function at 0x409b68
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.00406c80
xor eax, eax
push ebp
push 0x409c28
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.00407778
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407928
mov eax, dword [ebx]
call fcn.00409a30
test al, al
jne 0x409c05
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407778
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407928
mov eax, dword [ebx]
call fcn.00409a30
test al, al
jne 0x409c05
mov eax, ebx
call fcn.00406b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409c2f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406bfc
lea eax, [ebp - 4]
call fcn.00406b9c
ret

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

Disassembly:
cmp eax, edx
je 0x41db85
test eax, edx
je 0x41db88
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41db43
movzx eax, word [eax]
sub eax, ecx
jmp 0x41db6a
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41db6b
add ecx, 4
js 0x41db5b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41db68
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41db6a
xor eax, eax
ret
test eax, eax
je 0x41db94
test edx, edx
jne 0x41db34
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41e31c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41e334
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41e33c
mov al, 1
jmp 0x41e359
movzx esi, word [ebp]
mov eax, esi
call fcn.0040f354
test al, al
jne 0x41e355
cmp si, 0x5f
je 0x41e355
xor eax, eax
jmp 0x41e357
mov al, 1
xor al, 1
test al, al
jne 0x41e3e9
test bl, bl
je 0x41e3a9
mov eax, ebp
test eax, eax
je 0x41e370
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e3e5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f3e0
test al, al
jne 0x41e39d
cmp di, 0x5f
je 0x41e39d
cmp di, 0x2e
je 0x41e39d
xor eax, eax
jmp 0x41e39f
mov al, 1
test al, al
je 0x41e3e9
inc esi
dec ebx
jne 0x41e37d
jmp 0x41e3e5
mov eax, ebp
test eax, eax
je 0x41e3b4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41e3e5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.0040f3e0
test al, al
jne 0x41e3db
cmp di, 0x5f
je 0x41e3db
xor eax, eax
jmp 0x41e3dd
mov al, 1
test al, al
je 0x41e3e9
inc esi
dec ebx
jne 0x41e3c1
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ef94
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.004076e4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41effe
test ah, 4
je 0x41eff7
test bl, bl
jne 0x41efbc
mov al, 1
jmp 0x41f025
test al, 0x10
je 0x41efc4
xor eax, eax
jmp 0x41f025
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41efe8
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41f025
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41f025
test al, 0x10
sete al
jmp 0x41f025
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41f01f
cmp ebx, 3
je 0x41f01f
cmp ebx, 0x7b
je 0x41f01f
mov eax, esi
call fcn.0041ef54
test al, al
jne 0x41f023
xor eax, eax
jmp 0x41f025
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41f02c
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.004076e4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41f0d3
test esi, 0x400
jne 0x41f068
test esi, 0x10
setne bl
jmp 0x41f0f2
cmp byte [esp], 0
je 0x41f09c
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f0f2
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41f0f2
test esi, 0x10
je 0x41f0a8
mov bl, 1
jmp 0x41f0f2
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41f0cf
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41f0f2
mov bl, 1
jmp 0x41f0f2
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41f0ec
cmp eax, 3
je 0x41f0ec
cmp eax, 0x7b
je 0x41f0ec
cmp eax, 0x35
jne 0x41f0f0
xor ebx, ebx
jmp 0x41f0f2
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422f34
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_1
test eax, eax
jle 0x422f6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406d24
jmp 0x422f76
mov eax, ebx
mov edx, esi
call fcn.00406f7c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422f80
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x422fa2
movzx eax, word [esp]
jmp 0x422fa4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423c78
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 0x423d9d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423a80
mov esi, eax
mov eax, dword [0x52cac4]
cmp byte [eax], 0
je 0x423d45
mov eax, dword [0x52c7d4]
call fcn.00404a00
call fcn.00404694
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423c48]
call fcn.00408a60
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423db8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423d81
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x52c758]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x52fc50]
call fcn.00408b54
push eax
call sub.user32.dll_LoadStringW_1
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 0x423da4
lea eax, [ebp - 4]
mov edx, dword [0x423c48]
call fcn.00408a6c
ret

Function at 0x424dfc
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 0x424ed2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406fc4
lea eax, [ebp - 4]
call fcn.00407158
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004076e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424ebc
mov eax, ebx
call fcn.00404520
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424eb5
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.004076e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424e9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424ee4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424e9f
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 0x424ebc
mov eax, dword [ebp - 0x10]
call fcn.0040453c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424ed9
lea eax, [ebp - 4]
call fcn.00406b9c
ret
Function at 0x425988
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.00407098
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a5cc
mov edi, eax
cmp edi, 0x104
jbe 0x42592f
mov eax, edi
add eax, eax
call fcn.00404520
mov esi, eax
jmp 0x425931
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a5cc
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42596c
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 0x425956
mov eax, esp
cmp esi, eax
je 0x425979
mov eax, esi
call fcn.0040453c
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 0x4259b4
cmp bl, 0
je 0x4259b0
cmp bl, 0x41
jl 0x4259ab
cmp bl, 0x5a
jg 0x4259ab
or bl, 0x20
xor al, bl
inc esi
jmp 0x42598f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4258f0

Function at 0x4261bc
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_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407778
add esp, 0x800
pop ebx
ret

Function at 0x45139c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45143a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4513fe
cmp byte [ebx + 0x10], 0
jne 0x4513fe
cmp byte [ebx + 0x3c], 0
jne 0x4513fe
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x45141f
lea edx, [ebp - 4]
mov eax, dword [0x52ca44]
call fcn.0040a538
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43f664]
call fcn.00423dc8
call fcn.004062d0
jmp 0x45141f
lea edx, [ebp - 8]
mov eax, dword [0x52ca44]
call fcn.0040a538
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43f664]
call fcn.00423dc8
call fcn.004062d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451441
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406bfc
ret

Function at 0x451d3c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x451d8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004512d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451da3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret