joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f744
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x40f8d0
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
push 2
push 0
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov edi, eax
test edi, edi
je 0x40f8b5
mov ebx, 1
push 3
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.004047a0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x40f8ec
call fcn.00403354
mov eax, dword [ebp - 0x1c]
call fcn.00403508
push eax
push edi
call sub.KERNEL32.DLL_FindResourceA
mov esi, eax
test esi, esi
jne 0x40f7c0
inc ebx
cmp ebx, 0xb
jne 0x40f789
test esi, esi
je 0x40f8af
push esi
push edi
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40f8af
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40f8a6
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40f8b5
mov ebx, 1
push 3
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004047a0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x40f8ec
call fcn.00403354
mov eax, dword [ebp - 0x24]
call fcn.00403508
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40f84e
inc ebx
cmp ebx, 0xb
jne 0x40f811
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FreeLibrary
cmp dword [ebp - 0x14], 0
je 0x40f89e
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_BeginUpdateResourceA
mov ebx, eax
test ebx, ebx
je 0x40f89e
push esi
push edi
call sub.KERNEL32.DLL_SizeofResource
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetUserDefaultLangID
push eax
push 1
push 3
push ebx
call sub.KERNEL32.DLL_UpdateResourceA
test eax, eax
je 0x40f89e
push 0
push ebx
call sub.KERNEL32.DLL_EndUpdateResourceA
test eax, eax
je 0x40f89e
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x18]
call fcn.00404514
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FreeResource
push edi
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f8d7
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403198
ret
Function at 0x40f950
Capabilities:
Clear file content
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x40f958
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004034f8
xor eax, eax
push ebp
push 0x40fb17
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_GetLocalTime
lea edx, [ebp - 0x24]
movzx eax, word [ebp - 0x20]
call fcn.004047a0
push dword [ebp - 0x24]
push 0x40fb30
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
call fcn.004047a0
push dword [ebp - 0x28]
push 0x40fb30
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x1a]
call fcn.004047a0
push dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 5
call fcn.004033c8
lea edx, [ebp - 0x30]
mov eax, 0x40fb3c
call fcn.00404cc0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [0x41f1dc]
call fcn.00403354
mov eax, dword [ebp - 0x10]
call fcn.00404a74
test al, al
je 0x40fa9a
mov eax, dword [ebp - 0x10]
call fcn.00403508
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.004032c0
mov eax, dword [ebp - 0x34]
mov edx, 2
call fcn.00404a84
mov esi, eax
cmp esi, 0xffffffff
je 0x40faef
push 0
push esi
call sub.KERNEL32.DLL_GetFileSize
mov edx, eax
mov eax, 0x1e
call fcn.00407e9c
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.00403638
mov eax, dword [ebp - 0xc]
call fcn.00403508
mov edx, eax
mov ecx, edi
mov eax, esi
call fcn.004045b0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00403454
jne 0x40fa66
xor ebx, ebx
jmp 0x40fa92
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004048c8
mov eax, dword [ebp - 8]
call fcn.00403308
push eax
mov eax, dword [ebp - 8]
call fcn.00403508
mov edx, eax
mov eax, esi
pop ecx
call fcn.004048f8
push esi
call sub.KERNEL32.DLL_SetEndOfFile
push esi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x40faef
mov eax, dword [ebp - 0x10]
call fcn.004048d4
mov esi, eax
cmp esi, 0xffffffff
je 0x40faed
mov eax, dword [ebp - 8]
call fcn.00403308
push eax
mov eax, dword [ebp - 8]
call fcn.00403508
mov edx, eax
mov eax, esi
pop ecx
call fcn.004048f8
push esi
call sub.KERNEL32.DLL_CloseHandle
push 6
lea eax, [ebp - 0x38]
mov ecx, dword [0x41f1dc]
mov edx, dword [ebp - 4]
call fcn.00403354
mov eax, dword [ebp - 0x38]
call fcn.00403508
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
jmp 0x40faef
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fb1e
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.00403198
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403198
ret
Function at 0x4048e0
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.00406cbc
test esi, esi
jne 0x404916
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.00406e44
jmp 0x404934
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004047c4
mov edi, eax
test esi, esi
je 0x404934
cmp dword [ebx], 0
je 0x404934
dec esi
jmp 0x40491d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405958
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.00405d50
mov byte [esp], al
cmp byte [esp], 0
jne 0x405ae4
test edi, edi
je 0x405ae4
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405a1b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4059f6
cmp edi, 0xffffffff
je 0x4059b7
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4059b7
mov byte [esp], 0
jmp 0x405ae4
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4059f6
test ebx, ebx
jne 0x4059ec
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.004027a4
test eax, eax
jne 0x4059ec
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405ae4
call 0x405e74
dec ebp
test ebp, ebp
jg 0x40599c
cmp edi, 0xffffffff
je 0x405a1b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405a19
mov byte [esp], 0
jmp 0x405ae4
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405966
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x405a1b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405b54
mov edx, eax
mov ebx, dword [0x5598f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405a82
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405a80
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405a82
xor edi, edi
cmp byte [esp], 0
je 0x405aab
mov ebx, dword [esi]
test bl, 1
jne 0x405ac4
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x405a88
mov byte [esp + 1], 1
jmp 0x405ac4
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.004027a4
cmp ebx, eax
jne 0x405aab
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405a35
cmp byte [esp], 0
je 0x405ae4
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 0x406954
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x559058], 0
je 0x4069bb
cmp word [0x559344], 0xd7b2
jne 0x40697d
cmp dword [0x55934c], 0
jbe 0x40697d
mov eax, 0x559340
call dword [0x55935c]
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, 0x4069e8
call fcn.00407524
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x554032], 0
jne 0x4069d7
push 0
push 0x5549c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406b78
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 [0x554034], 0
je 0x406ba3
mov edx, edi
mov eax, esi
call dword [0x554034]
mov ebx, eax
jmp 0x406bb4
mov eax, 8
call fcn.00404520
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x559059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406b40
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 0x406be9
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 0x4091e8
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 0x40934d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406cbc
cmp si, word [0x554a00]
jb 0x409280
cmp si, word [0x554c00]
ja 0x409280
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409280
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x554a00]
jae 0x40925a
mov edi, ebx
dec edi
jmp 0x40927b
cmp si, word [ebx*8 + 0x554a00]
jbe 0x40926a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40927b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x554a04]
call fcn.004090f8
jmp 0x409280
cmp edi, dword [ebp - 8]
jae 0x409244
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40932f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40932f
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.00407898
push dword [ebp - 0x160]
push 0x409368
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407898
push dword [ebp - 0x164]
push 0x409378
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407898
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409354
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406d1c
ret
Function at 0x409500
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 0x409603
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x55bb88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x55bba0]
jne 0x40954c
mov eax, esi
mov edx, 0x55bba2
mov ecx, 0x55
call fcn.00407898
push 0x55bb88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4095ed
push 0x55bb88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406cbc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4095bb
cmp byte [0x55bb84], 0
je 0x409580
mov edx, esi
mov eax, ebx
call fcn.004093e4
jmp 0x4095bb
mov edx, esi
mov eax, ebx
call fcn.004091e8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4095bb
cmp dword [esi], 0
je 0x4095a4
mov eax, esi
mov edx, 0x40961c
call fcn.004079f0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004091e8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004079f0
push 0x55bb88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x55bba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407804
push eax
push 0x55bba2
call sub.kernel32.dll_lstrcpynW
push 0x55bb88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40960a
lea eax, [ebp - 4]
call fcn.00406cbc
ret
Function at 0x409838
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.00406da0
xor eax, eax
push ebp
push 0x409a5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409878
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409892
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407804
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409a47
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409961
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409a6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409961
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409aa8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409961
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409aa8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409961
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409adc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409961
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b10
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409a47
xor eax, eax
push ebp
push 0x409a40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409644
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 0x4099d0
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.0040785c
jmp 0x409a1b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409b50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409a1b
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 0x409b50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040785c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a47
cmp dword [ebp - 8], 0
je 0x409a36
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 0x409a64
lea eax, [ebp - 4]
call fcn.00406cbc
ret
Function at 0x409d40
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.00406da0
xor eax, eax
push ebp
push 0x409e00
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.00407898
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407a48
mov eax, dword [ebx]
call fcn.00409c08
test al, al
jne 0x409ddd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407898
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407a48
mov eax, dword [ebx]
call fcn.00409c08
test al, al
jne 0x409ddd
mov eax, ebx
call fcn.00406cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409e07
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406d1c
lea eax, [ebp - 4]
call fcn.00406cbc
ret

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

Disassembly:
cmp eax, edx
je 0x41d825
test eax, edx
je 0x41d828
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41d7e3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41d80a
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 0x41d80b
add ecx, 4
js 0x41d7fb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41d808
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41d80a
xor eax, eax
ret
test eax, eax
je 0x41d834
test edx, edx
jne 0x41d7d4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41def0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x41df0e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41df16
mov al, 1
jmp 0x41df35
mov eax, dword [ebp - 4]
movzx esi, word [eax]
mov eax, esi
call fcn.0040f044
test al, al
jne 0x41df31
cmp si, 0x5f
je 0x41df31
xor eax, eax
jmp 0x41df33
mov al, 1
xor al, 1
test al, al
jne 0x41dfcd
test bl, bl
je 0x41df89
mov eax, dword [ebp - 4]
test eax, eax
je 0x41df4d
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41dfc9
inc ebx
mov esi, 2
mov eax, dword [ebp - 4]
movzx edi, word [eax + esi*2 - 2]
mov eax, edi
call fcn.0040f0d4
test al, al
jne 0x41df7d
cmp di, 0x5f
je 0x41df7d
cmp di, 0x2e
je 0x41df7d
xor eax, eax
jmp 0x41df7f
mov al, 1
test al, al
je 0x41dfcd
inc esi
dec ebx
jne 0x41df5a
jmp 0x41dfc9
mov eax, dword [ebp - 4]
test eax, eax
je 0x41df95
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41dfc9
inc ebx
mov esi, 2
mov eax, dword [ebp - 4]
movzx edi, word [eax + esi*2 - 2]
mov eax, edi
call fcn.0040f0d4
test al, al
jne 0x41dfbf
cmp di, 0x5f
je 0x41dfbf
xor eax, eax
jmp 0x41dfc1
mov al, 1
test al, al
je 0x41dfcd
inc esi
dec ebx
jne 0x41dfa2
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x422a74
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 0x422aad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406e44
jmp 0x422ab6
mov eax, ebx
mov edx, esi
call fcn.0040709c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422ac0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x422ae4
movzx eax, word [ebp - 4]
jmp 0x422ae6
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4237a0
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 0x4238c0
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004235a8
mov esi, eax
mov eax, dword [0x558dc4]
cmp byte [eax], 0
je 0x423868
mov eax, dword [0x558ac4]
call fcn.00404a40
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 [0x423770]
call fcn.00408b20
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 0x4238dc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4238a4
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x558a4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x55bc50]
call fcn.00408d2c
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 0x4238c7
lea eax, [ebp - 4]
mov edx, dword [0x423770]
call fcn.00408c44
ret

Function at 0x4249a8
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 0x424a7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004070e4
lea eax, [ebp - 4]
call fcn.00407278
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407804
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424a68
mov eax, ebx
call fcn.00404520
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x424a61
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.00407804
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424a4b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424a90
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424a4b
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 0x424a68
mov eax, dword [ebp - 0x10]
call fcn.0040453c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424a85
lea eax, [ebp - 4]
call fcn.00406cbc
ret