joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b171
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
mov esi, 0x104
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, esi
jle 0x100b1e5
push 0
push eax
lea ecx, [ebp - 0x218]
call fcn.01002465
test al, al
jne 0x100b1e5
lea ecx, [ebp - 0x218]
call fcn.01001de6
push 0xe
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001d10
leave
ret
push ebx
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.01008e2c
test eax, eax
jge 0x100b20f
push 0xe
pop ebx
lea ecx, [ebp - 0x218]
call fcn.01001de6
mov eax, ebx
pop ebx
jmp 0x100b1d7
xor esi, esi
mov eax, edi
test edi, edi
je 0x100b237
movzx ecx, word [edi]
test cx, cx
je 0x100b233
push eax
call fcn.01008175
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
jne 0x100b21a
mov esi, eax
jmp 0x100b21a
test esi, esi
jne 0x100b23c
xor ebx, ebx
inc ebx
jmp 0x100b1ff
mov ecx, dword [ebp - 0x218]
xor eax, eax
sub esi, edi
sar esi, 1
push eax
mov word [ecx + esi*2], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
jne 0x100b1ff
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov dword [ebp - 0x21c], eax
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x100b287
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test eax, eax
jne 0x100b297
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x100b295
and eax, edi
or eax, esi
mov ebx, eax
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x100b2b5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x100b2b3
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jne 0x100b2e3
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
jne 0x100b2df
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jle 0x100b2e1
and eax, edi
or eax, esi
jmp 0x100b2e1
call eax
mov ebx, eax
cmp dword [ebp - 0x21c], 0
je 0x100b2f8
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100b1ff
Function at 0x100b355
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor edi, edi
cmp dword [0x100fe08], 0xffffffff
mov ebx, eax
jne 0x100b438
lea eax, [ebp - 0x868]
push eax
mov dword [0x100fe08], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], 0x20019
call fcn.01004283
pop ecx
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x868]
push edi
push 0x100b500
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b438
lea eax, [ebp - 0x858]
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x858]
push eax
push edi
push edi
push 0x100b4f0
push dword [ebp - 0x86c]
mov dword [ebp - 0x860], 0x28
mov dword [ebp - 0x868], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b421
mov eax, dword [ebp - 0x864]
mov eax, dword [eax]
and eax, 3
mov dword [0x100fe08], eax
push dword [ebp - 0x86c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x864]
call fcn.01008e06
test dword [0x100fe08], 3
je 0x100b4aa
xor eax, eax
push 0x800
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x808]
cmp dword [ebp + 0xc], edi
je 0x100b486
push dword [ebp + 0xc]
push 0x100b4cc
push 0x401
push eax
call fcn.01008f12
add esp, 0x14
jmp 0x100b499
push 0x100b4c0
push 0x401
push eax
call fcn.01008f12
add esp, 0x10
cmp eax, edi
jl 0x100b4aa
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001d10
leave
ret
Function at 0x100ba67
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100bbb0
push 0xf01ff
push 0x1001ff8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x100bb7c
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100bb19
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
mov ebx, 0x3e8
push ebx
mov dword [ebp - 0x28], 4
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100bafc
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp eax, 5
jge 0x100bb09
cmp dword [ebp - 0x28], 3
jne 0x100bb09
push ebx
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100bae8
cmp dword [ebp - 0x28], 1
pop ebx
je 0x100bb59
mov dword [ebp - 4], 0x80004005
jmp 0x100bb70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x41c
je 0x100bb4d
sub eax, 8
je 0x100bb48
dec eax
dec eax
je 0x100bb48
sub eax, 0xf
je 0x100bb48
push dword [ebp - 4]
push 0x100bc20
call fcn.0100b355
pop ecx
pop ecx
jmp 0x100bb54
mov dword [ebp - 4], esi
jmp 0x100bb59
mov dword [ebp - 4], 0x652
cmp dword [ebp - 4], esi
jne 0x100bb70
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp eax, 1
je 0x100bb70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
jmp 0x100bba5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x424
je 0x100bba2
sub eax, 0xc
je 0x100bba2
push dword [ebp - 4]
push 0x100bbf8
call fcn.0100b355
pop ecx
pop ecx
jmp 0x100bba5
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100bbc6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x100bbcc
mov dword [ebp - 4], eax
call fcn.0100b355
pop ecx
pop ecx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x402910
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x413008], 0x8088405
inc edx
mov dword [ebx + 0x413008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402d38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x413024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402dd0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402db0
xor eax, eax
push ebp
push 0x402da9
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 0x402dec
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 0x402db0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x413024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x413024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4037d0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x414044], 0
je 0x403831
cmp word [0x414218], 0xd7b2
jne 0x4037f9
cmp dword [0x414220], 0
jbe 0x4037f9
mov eax, 0x414214
call dword [0x414230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41306c
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 0x403858
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x413030], 0
jne 0x40384d
push 0
push 0x413064
push 0x41306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404a00
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 0x404c30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404a83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404a83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b0c
xor eax, eax
push ebp
push 0x404b05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404848
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 0x404aea
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404c6c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404aea
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 0x404b0c
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 0x404c26
cmp byte [ebp - 0xd], 0
jne 0x404b53
cmp byte [ebp - 0x12], 0
je 0x404c26
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404b6c
dec ebx
cmp byte [ebx], 0x2e
je 0x404b7b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404b6b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c26
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404bb8
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 0x404c26
cmp byte [ebp - 0xd], 0
je 0x404c26
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 0x404c26
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 0x404b0c
Capabilities:
Get geographical location

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 0x404c30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404a83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404a83
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c4c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b0c
xor eax, eax
push ebp
push 0x404b05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404848
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 0x404aea
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404c6c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404aea
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 0x404b0c
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 0x404c26
cmp byte [ebp - 0xd], 0
jne 0x404b53
cmp byte [ebp - 0x12], 0
je 0x404c26
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404b6c
dec ebx
cmp byte [ebx], 0x2e
je 0x404b7b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404b6b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c26
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404bb8
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 0x404c26
cmp byte [ebp - 0xd], 0
je 0x404c26
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 0x404c26
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 0x4052bc
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 0x405322
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.00403bbc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040292c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40530c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405329
lea eax, [ebp - 0x10]
call fcn.0040394c
ret

Function at 0x40957c
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 0x4095b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a3c
jmp 0x4095be
mov eax, ebx
mov edx, esi
call fcn.004039a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4095c8
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 0x4095e9
mov al, byte [esp]
jmp 0x4095eb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409c70
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409ae8
mov eax, dword [0x4134fc]
cmp byte [eax], 0
je 0x409cec
mov eax, dword [0x413420]
call fcn.0040288c
call fcn.0040272c
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.00406f30
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 0x409d34
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409d22
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.0040480c
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 0x40a9d0
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 0x40aa34
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.00403bbc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004069fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aa3b
lea eax, [ebp - 0xc]
call fcn.0040394c
ret

Function at 0x4121c0
Capabilities:
Change the wallpaper
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x412118
call fcn.0040551c
xor eax, eax
push ebp
push 0x412311
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 5
push 0x4149ec
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov dl, 1
mov eax, dword [0x40f120]
call fcn.00402e68
mov esi, eax
lea eax, [ebp - 0x14]
mov edx, 0x4149ec
mov ecx, 0x105
call fcn.00403bbc
mov edx, dword [ebp - 0x14]
mov eax, 0x4149e8
mov ecx, 0x412328
call fcn.00403c34
lea eax, [ebp - 0x18]
mov ecx, 0x412344
mov edx, dword [0x4149e8]
call fcn.00403c34
mov eax, dword [ebp - 0x18]
mov ecx, 0x414890
mov edx, 0x3f
call fcn.00406d68
mov ebx, eax
test ebx, ebx
jne 0x412289
lea eax, [ebp - 0x1c]
mov ecx, dword [0x41489c]
mov edx, dword [0x4149e8]
call fcn.00403c34
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0x414890
call fcn.00406db8
mov ebx, eax
test ebx, ebx
je 0x41225b
mov eax, 0x414890
call fcn.00406ddc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4122ef
call fcn.00402800
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.00402910
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, 0x4149e8
call fcn.004039a0
mov eax, 0x4149e8
mov edx, 0x412354
call fcn.00403bf0
push 3
mov eax, dword [0x4149e8]
call fcn.00403dd8
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
mov eax, esi
call fcn.00402e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412318
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00403970
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x1200dd40
Capabilities:
Encode data using xor

Disassembly:
cli
stosb byte es:[di], al
rol byte [ecx + 0x3943a7f8], cl
lodsb al, byte [esi]
xor byte [edx + 0x75f328fb], 3
fdivr dword [edi]
clc
xor dl, al
xor eax, 0x165ecc3a
jg 0x1200dd56
stc
aad 0xa8
sub ebx, ebp
pop ebp
fstp xword [eax]
int3

Function at 0x1200e990
Capabilities:
Encode data using xor

Disassembly:
jp 0x1200e98d
inc edi
invalid
push edi
stc
fisubr word [esi]
jle 0x1200e9a4
rcr dword [ebx], cl
inc ecx
inc ecx
sbb al, 0xdb
jl 0x1200e91d
imul eax, dword [edi - 0x57], 0x7f
add cl, byte [ebx + 6]
insb byte es:[edi], dx
cmp eax, dword [ebp - 0x58]
jp 0x1200e9bc
sub edx, ecx
into
invalid
fnstcw word [ecx - 0x255e9df0]
mov ecx, 0xdaa16210
les esi, [ecx - 0x20b47c14]
mov ah, 0xa8
movhps qword [edx], xmm3
or eax, 0x9bcc007
wait
mov dl, bl
inc esp
mov dh, 0xa1
mov esi, dword [edx]
sbb byte [ecx], cl
sbb al, bh
loope 0x1200e9bd
mov al, 9
jg 0x1200ea38
bound ebp, qword [ecx - 0x481080d6]
sub dword [ecx + 0x36], edx
fst dword [ebx]
rol byte [edx], 0x54
pop esp
lahf
jnp 0x1200e997
and edx, dword [ecx]
mov dword [edx + 0x61fcdf2], ecx
ja 0x1200ea6f
invalid
in al, 0xad
lodsb al, byte [esi]
pop ebp
movsd dword es:[edi], dword [esi]
xor al, 0x55
and byte [edi], bl
add eax, 0x64b07e29
daa
jl 0x1200ea51
cmpsb byte [esi], byte es:[edi]
fsubr dword [edx + 0x6fd2b8fb]
mov al, 0x83
lahf
mov bh, 0xc
mov edx, 0xde7957f7
shr byte [edi - 0x50], cl
sbb dword [edi - 0x845f349], 0x57
jns 0x1200ea27
rcl dword [ebx + ecx*2 - 0x63], cl
imul edi, dword [eax - 0x11], 0x3481c7d2
fmul dword [edi + 0x13]
pop edx
das
mov bl, 0x6e
mov dword [ecx + 0x134fd834], 0x6eb32f5a
out 0xbe, eax
lodsb al, byte [esi]
jl 0x1200eabb
pop edx
inc ebp
xor byte [edi], al
pop edi
test al, 0x96
out dx, eax
pop ds
sahf
push edi
ja 0x1200ea60
popal
xchg esi, eax
sbb edi, dword [edx + 0x7030247b]
xchg edx, eax
push esi
jbe 0x1200ea3d
out dx, al
jmp 0xe7f6c681
nop
retf