joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ae0
Capabilities:
Query environment variable
Timestomp file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x250
lea eax, [esp + 0x48]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push edi
push 0x104
push eax
push ecx
xor bl, bl
call esi
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x15c]
push 0x104
push edx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
lea ecx, [esp + 0x6c]
push 0x80000000
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401bea
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401bdf
push esi
call ebp
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x170]
push 0x40000000
push edx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x401bea
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
call edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x401bdf
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
push esi
call ebp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x250
ret
Function at 0x401c00
Capabilities:
Create directory

Disassembly:
sub esp, 0x310
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x324]
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00402700
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
add esp, 8
test edx, edx
je 0x401ce7
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [edx], 0
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x118]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x220]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x11c]
push ecx
call ebx
mov esi, eax
call ebp
test esi, esi
jne 0x401ce7
cmp eax, 3
jne 0x401ce7
lea edx, [esp + 0x118]
push edx
call fcn.00401c00
add esp, 4
test al, al
jne 0x401ce7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret
mov eax, dword [esp + 0x324]
push 0
push eax
call ebx
mov esi, eax
call ebp
test esi, esi
jne 0x401d0f
cmp eax, 0xb7
je 0x401d0f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x310
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x310
ret
Function at 0x401d20
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebp
push esi
push edi
push 0x280
push 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], 0x280
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x401d5c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea eax, [esp + 0x14]
push eax
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x401d94
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x14]
push ecx
push 0
call ebx
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x401d94
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea edx, [esp + 0x14]
push edx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x401e11
test ebp, ebp
mov esi, ebp
je 0x401e2d
lea edi, [esi + 0x1d8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
ja 0x401dca
mov esi, dword [esi]
test esi, esi
jne 0x401dad
jmp 0x401e0b
mov eax, dword [esi + 0x190]
xor edi, edi
test eax, eax
jbe 0x401e06
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [esi + edi + 0x194]
push eax
push str._.2X
push ebx
call fcn.004024b2
mov eax, dword [esi + 0x190]
add esp, 0xc
inc edi
add ebx, 2
cmp edi, eax
jb 0x401dda
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov byte [esp + 0x13], 1
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
test ebp, ebp
je 0x401e21
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [esp + 0x13]
test al, al
jne 0x401f0c
push 0x280
push 0
mov dword [esp + 0x1c], 0x280
call ebx
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x401e51
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea ecx, [esp + 0x14]
push ecx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x401e89
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x14]
push edx
push 0
call ebx
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x401e89
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
lea eax, [esp + 0x14]
push eax
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x401efc
test ebp, ebp
mov esi, ebp
je 0x401f0c
lea edi, [esi + 0x1d8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jbe 0x401ebb
mov esi, dword [esi]
test esi, esi
jne 0x401e9e
jmp 0x401efc
mov eax, dword [esi + 0x190]
xor edi, edi
test eax, eax
jbe 0x401ef7
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [esi + edi + 0x194]
push ecx
push str._.2X
push ebx
call fcn.004024b2
mov eax, dword [esi + 0x190]
add esp, 0xc
inc edi
add ebx, 2
cmp edi, eax
jb 0x401ecb
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov byte [esp + 0x13], 1
test ebp, ebp
je 0x401f0c
push ebp
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x405119
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40a828
cmp edx, dword [eax]
je 0x40513b
add eax, 8
inc ecx
cmp eax, 0x40a8b8
jl 0x40512c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40a828]
jne 0x405269
mov eax, dword [0x40b334]
cmp eax, 1
je 0x405243
test eax, eax
jne 0x40516c
cmp dword [0x40a348], 1
je 0x405243
cmp edx, 0xfc
je 0x405269
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4051a3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407640
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404380
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4051e6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404380
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4094dc
push edi
call fcn.00407860
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407640
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407650
lea eax, [ebp - 0xa0]
push 0x4094bc
push eax
call fcn.00407650
push dword [esi + 0x40a82c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407650
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004077d3
add esp, 0x2c
pop edi
jmp 0x405269
lea eax, [ebp + 8]
lea esi, [esi + 0x40a82c]
push 0
push eax
push dword [esi]
call fcn.00404380
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402a6c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404094
test esi, esi
jne 0x402aa2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404184
jmp 0x402ac0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402980
mov edi, eax
test esi, esi
je 0x402ac0
cmp dword [ebx], 0
je 0x402ac0
dec esi
jmp 0x402aa9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4031b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40324c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40322c
xor eax, eax
push ebp
push 0x403225
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403268
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40322c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f18
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47104c], 0
je 0x403f79
cmp word [0x471220], 0xd7b2
jne 0x403f41
cmp dword [0x471228], 0
jbe 0x403f41
mov eax, 0x47121c
call dword [0x471238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403fa0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46f030], 0
jne 0x403f95
push 0
push 0x46f064
push 0x46f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4055d4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405804
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405657
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405804
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405657
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405820
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4056e0
xor eax, eax
push ebp
push 0x4056d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040541c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4056be
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405840
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4056be
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4056e0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4057fa
cmp byte [ebp - 0xd], 0
jne 0x405727
cmp byte [ebp - 0x12], 0
je 0x4057fa
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405740
dec ebx
cmp byte [ebx], 0x2e
je 0x40574f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40573f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4057fa
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40578c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4057fa
cmp byte [ebp - 0xd], 0
je 0x4057fa
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4057fa
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405ee8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f4e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404304
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d78
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f38
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f55
lea eax, [ebp - 0x10]
call fcn.00404094
ret

Function at 0x40b2e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b321
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404184
jmp 0x40b32a
mov eax, ebx
mov edx, esi
call fcn.004040e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b334
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b355
mov al, byte [esp]
jmp 0x40b357
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b9dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b854
mov eax, dword [0x4702cc]
cmp byte [eax], 0
je 0x40ba58
mov eax, dword [0x4700b4]
call fcn.00402ba8
call fcn.004028ac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040894c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40baa0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba8e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47005c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x471668]
call fcn.004053e0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c348
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c41e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040412c
lea eax, [ebp - 8]
call fcn.004045a4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404554
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c408
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c401
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 - 8]
call fcn.00404554
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c3eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c430
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c408
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c425
lea eax, [ebp - 8]
call fcn.00404094
ret

Function at 0x40c930
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c994
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404304
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408440
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c99b
lea eax, [ebp - 0xc]
call fcn.00404094
ret

Function at 0x41e400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x471888
cmp dword [edi], 0
jne 0x41e47c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x471884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46f47c
mov ecx, 2
call fcn.00402940
mov edx, 0x41e3d8
lea eax, [esi + 5]
call fcn.0041e3f8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e3f8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41e451
mov dword [0x471884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41faa8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41faae
ret
Function at 0x422014
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x422065
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42204c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42203c
jmp 0x422065
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42204d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b42c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404544
xor eax, eax
push ebp
push 0x42b55a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42b52d
xor eax, eax
push ebp
push 0x42b526
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404354
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42b4fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42b4ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404354
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404554
mov edx, ebx
pop ecx
call fcn.00402940
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b4f1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46ffe8]
mov dl, 1
mov eax, dword [0x407300]
call fcn.0040bb6c
call fcn.00403ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b561
lea eax, [ebp - 4]
call fcn.00404094
ret
Function at 0x42b568
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b719
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404744
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42b730
call fcn.004043a0
mov eax, ebx
call fcn.0041d994
mov edi, eax
dec edi
test edi, edi
jl 0x42b620
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d968
mov edx, dword [0x434498]
call fcn.004034d0
test al, al
je 0x42b61c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d968
lea edx, [ebp - 0x14]
call fcn.0043c7b8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404744
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404414
inc esi
dec edi
jne 0x42b5ce
mov al, byte [0x42b734]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42b740
mov eax, dword [ebp - 0xc]
call fcn.0040cf08
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040412c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043c7b8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42b730
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043c7b8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42b730
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42b730
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42b74c
call fcn.00409014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b720
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004040b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004040b8
lea eax, [ebp - 0x14]
call fcn.00404094
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004040b8
ret