joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103637d
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push 0x103b5c8
push dword [0x1040498]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x101b5ec
push 0x1039c30
push dword [0x1040498]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10363b7
call fcn.01030f2a
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push 0x103b568
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10364f1
push esi
push edi
push 0x101c928
call fcn.01036102
push 0x101c8c8
mov dword [ebp - 0xc], eax
call fcn.01036102
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
mov dword [ebp + 8], ebx
pop esi
push ebx
push 4
push 0x103b558
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.01036180
mov dword [ebp + esi*4 - 0x40], eax
inc esi
cmp esi, 6
jb 0x1036408
mov dword [ebp + 8], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x40]
cmp dword [esi], ebx
jne 0x103644a
push 1
push 0x10
push 0x103b548
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.01036180
mov dword [esi], eax
inc edi
cmp edi, 6
jb 0x103642b
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 3
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x40000000
lea eax, [ebp - 0x18]
push eax
call fcn.01018edd
push 0x13
xor esi, esi
pop edi
mov eax, dword [ebp + esi*4 - 0x40]
cmp eax, ebx
je 0x10364bd
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 8]
push ecx
push 0x101afc4
push eax
mov dword [ebp - 0x20], edi
call fcn.01009276
test eax, eax
jl 0x10364bd
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push 0x12
push 0x101b0a4
call fcn.01028256
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
dec edi
cmp esi, 6
jb 0x103647c
xor esi, esi
push dword [ebp + esi*4 - 0x40]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 6
jb 0x10364c6
push dword [ebp - 0xc]
mov esi, dword [sym.imp.SHELL32.dll_SHFree]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1036800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ecx + 0x74], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, [ebp - 8]
push eax
push 3
push 0x103b5f8
push 0x101c780
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
leave
ret

Function at 0x1036c23
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x101b3a8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4
Function at 0x1036d09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
je 0x1036d30
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x24]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x103b5f8
push 0x101c780
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 8
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
add edi, 0xc
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x1036d79
mov ecx, esi
mov dword [esi + 0x74], 3
call fcn.0100b2d7
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x10371e2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0
push dword [esp + 0xc]
push 0x103b6a0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
ret 4

Function at 0x10375ff
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x103765c
push edi
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x101afd4
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ILFree]
pop edi
leave
ret 4
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x402d44
Capabilities:
Query or enumerate registry value

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

Function at 0x4037dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41e044], 0
je 0x40383d
cmp word [0x41e218], 0xd7b2
jne 0x403805
cmp dword [0x41e220], 0
jbe 0x403805
mov eax, 0x41e214
call dword [0x41e230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41d06c
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 0x403864
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41d030], 0
jne 0x403859
push 0
push 0x41d064
push 0x41d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404a3c
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 0x404c6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404abf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404abf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b48
xor eax, eax
push ebp
push 0x404b41
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404884
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 0x404b26
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404ca8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b26
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 0x404b48
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 0x404c62
cmp byte [ebp - 0xd], 0
jne 0x404b8f
cmp byte [ebp - 0x12], 0
je 0x404c62
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404ba8
dec ebx
cmp byte [ebx], 0x2e
je 0x404bb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404ba7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c62
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404bf4
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 0x404c62
cmp byte [ebp - 0xd], 0
je 0x404c62
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 0x404c62
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 0x404b48
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 0x404c6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404abf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404abf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404c88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b48
xor eax, eax
push ebp
push 0x404b41
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404884
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 0x404b26
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404ca8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b26
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 0x404b48
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 0x404c62
cmp byte [ebp - 0xd], 0
jne 0x404b8f
cmp byte [ebp - 0x12], 0
je 0x404c62
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404ba8
dec ebx
cmp byte [ebx], 0x2e
je 0x404bb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404ba7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c62
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404bf4
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 0x404c62
cmp byte [ebp - 0xd], 0
je 0x404c62
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 0x404c62
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 0x4052f8
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 0x40535e
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.00403be8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004028d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405348
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405365
lea eax, [ebp - 0x10]
call fcn.00403978
ret

Function at 0x405fd4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x4060cf
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406028
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.00403a68
jmp 0x4060b6
call sub.kernel32.dll_GetCommandLineA_1
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00405f5c
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00405f84
mov dword [edi], eax
test ebx, ebx
je 0x406056
dec ebx
test ebx, ebx
jl 0x406056
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x40602f
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.00403b70
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.00403e6c
mov eax, dword [esi]
call fcn.00403c14
cmp eax, 2
jl 0x4060b6
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x4060b6
mov eax, dword [esi]
call fcn.00403c14
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x4060b6
push esi
mov eax, dword [esi]
call fcn.00403c14
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.00403e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060d6
lea eax, [ebp - 0x114]
call fcn.00403978
ret

Function at 0x408278
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x408284
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x4082a0
push eax
je 0x4082a1
call dword [0x41d100]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x177], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x41d100]
ret

Function at 0x40caec
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 0x40cb25
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a68
jmp 0x40cb2e
mov eax, ebx
mov edx, esi
call fcn.004039cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40cb38
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 0x40cb59
mov al, byte [esp]
jmp 0x40cb5b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d1f0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d058
mov eax, dword [0x41dcd4]
cmp byte [eax], 0
je 0x40d26c
mov eax, dword [0x41dbd0]
call fcn.00402854
call fcn.0040271c
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.0040a440
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 0x40d2b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d2a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41dba4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41e660]
call fcn.00404848
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 0x40e0cc
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 0x40e130
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.00403be8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409ee8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e137
lea eax, [ebp - 0xc]
call fcn.00403978
ret
Function at 0x41630c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.004027b0
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.004027b0
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.004027b0
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.004027b0
mov eax, dword [edi + 0xcc]
sub dword [esp + 0xc], eax
mov eax, dword [edi + 0xc8]
sub dword [esp + 4], eax
mov esi, 0x14
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.004160b0
mov ebp, eax
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.004160b0
mov ebx, eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
pop edx
sub eax, edx
mov edx, ebx
call fcn.004160c4
xor eax, ebp
mov dword [esp + 0xc], eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x20]
mov eax, dword [esp + 8]
pop edx
sub eax, edx
mov edx, ebp
call fcn.004160c4
xor ebx, eax
mov dword [esp + 4], ebx
dec esi
test esi, esi
jne 0x41637e
mov eax, dword [edi + 0x24]
sub dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
sub dword [esp + 8], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.004027b0
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.004027b0
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.004027b0
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.004027b0
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405c4e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a6c], 0
push esi
jne 0x405c85
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c5f
mov dword [ecx*4 + 0x422a68], eax
inc ecx
cmp ecx, 0x100
jl 0x405c5a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cb6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a68]
xor eax, esi
inc ecx
dec edx
jne 0x405c98
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x664f5670
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x222b5874
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219