joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x822d28]
jne 0x40bf66
repz ret
jmp fcn.0040fb77

Function at 0x40e62b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x822d28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040887e
and dword [ebp - 0x14], 0
cmp dword [0x824350], 0
mov dword [ebp - 0x18], eax
jne 0x40e6de
push 0x404534
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40e786
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404528
push ebx
call edi
test eax, eax
je 0x40e786
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404518
push ebx
mov dword [0x824350], eax
call edi
push eax
call esi
push 0x404504
push ebx
mov dword [0x824354], eax
call edi
push eax
call esi
push 0x4044e8
push ebx
mov dword [0x824358], eax
call edi
push eax
call esi
mov dword [0x824360], eax
test eax, eax
je 0x40e6de
push 0x4044d0
push ebx
call edi
push eax
call esi
mov dword [0x82435c], eax
mov eax, dword [0x82435c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40e737
cmp dword [0x824360], ecx
je 0x40e737
push eax
call esi
push dword [0x824360]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40e737
test ebx, ebx
je 0x40e737
call edi
test eax, eax
je 0x40e72e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40e72e
test byte [ebp - 8], 1
jne 0x40e737
or dword [ebp + 0x10], 0x200000
jmp 0x40e76a
mov eax, dword [0x824354]
cmp eax, dword [ebp - 0x18]
je 0x40e76a
push eax
call esi
test eax, eax
je 0x40e76a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e76a
mov eax, dword [0x824358]
cmp eax, dword [ebp - 0x18]
je 0x40e76a
push eax
call esi
test eax, eax
je 0x40e76a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x824350]
call esi
test eax, eax
je 0x40e786
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40e788
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bf5c
leave
ret
Function at 0x80b640
Capabilities:
Delete directory
Get common file path
Read file on windows
Set console window title

Disassembly:
mov eax, 0x1820
call fcn.00410ad0
cmp dword [0xba93c0], 0x37
jne 0x80b721
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x405e78
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea ecx, [esp + 0xc24]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea edx, [esp + 8]
push edx
push 0x405eac
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x405ebc
push 0x405ed8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0x405edc
push 0x405ef8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edx, dword [0xba93c4]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x829424]
mov byte [edx + esi], cl
add esp, 0x1820
ret
Function at 0x80b8d0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [0xba93c0]
sub esp, 0x1d4
push ebx
push ebp
push esi
mov esi, dword [0x829424]
shr eax, 3
push edi
test eax, eax
je 0x80ba77
mov dword [esp + 0x38], 0x9e3779b9
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jmp 0x80b906
mov esi, dword [esp + 0x1c]
cmp dword [0xba93c0], 0x1c
jne 0x80b923
lea eax, [esp + 0x3c]
push eax
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov edx, dword [0x823320]
mov ecx, dword [0x823324]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [0x823328]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x82332c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80b967
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x28]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0xba8344], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xba93c0], 0x1be
lea ebp, [ebx + edi]
jne 0x80b9bc
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0xba93c0], 0x979
mov dword [0xba8348], 0xff6b3619
mov dword [0xba834c], 0xffffffff
jne 0x80b9f5
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
sub ebx, dword [esp + 0x18]
dec dword [esp + 0x20]
jne 0x80b963
cmp dword [0xba93c0], 0x8d4
jne 0x80ba38
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0xba93c0], 0x17
jne 0x80ba66
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x80b902
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret
Function at 0x406350
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x406352
ret
Function at 0x402140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402159
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40216d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402190
cmp esi, eax
jae 0x402167
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402180
cmp esi, eax
jae 0x402167
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402d30
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d40
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402d56
push ebp
sub eax, edx
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402ea8
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push str..UCIP
push edx
call ebx
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x402dc3
mov eax, dword [esp + 0x10]
push 0xd
push str.YingUnInstall
push 1
push 0
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push str.YingUnInstall
push eax
call ebx
test eax, eax
jne 0x402e9e
mov ecx, dword [esp + 0x10]
push 0xe
push str.Uninstall_File
push 1
push eax
push eax
push ecx
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push str.DefaultIcon
push eax
call ebx
test eax, eax
jne 0x402e1b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push ebp
push ecx
push 1
push eax
push eax
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push str.Shell
push edx
call ebx
test eax, eax
jne 0x402e97
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push str.Open
push ecx
call ebx
test eax, eax
jne 0x402e90
mov edx, dword [esp + 0x18]
push eax
push 0x4556bf
push 1
push eax
push eax
push edx
call esi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push str.Command
push ecx
call ebx
test eax, eax
jne 0x402e89
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push 2
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret
Function at 0x44bef7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46a298]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44bf99
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x44c09b
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x44c049
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c09c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c03e
cmp dword [ebp - 0x24], 1
jne 0x44c03e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x45a1dc
push eax
call fcn.004359f6
add esp, 0xc
cmp eax, 1
jne 0x44c03e
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44c09c
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x44c09c
lea ecx, [ebp - 0x18]
push ecx
push 0x44bee1
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x44c09c
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x44c0c2
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0044be62
cmp eax, ebx
pop ecx
pop ecx
jne 0x44c0c4
inc edi
cmp edi, esi
jl 0x44c0ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00435200
leave
ret 4
Function at 0x44c0d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x469864
je 0x44c18f
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c177
mov esi, dword [ebx + 4]
jmp 0x44c171
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c161
cmp dword [ebp - 0xc], 4
jne 0x44c161
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x44c159
or dword [eax + 0x9c], ecx
jmp 0x44c161
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x44c125
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x44c108
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x44c57d
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x454411
call fcn.004352d0
sub esp, 0x11c
mov eax, dword [0x46a298]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x44c676
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x44c64a
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402b10
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0044c57d
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004021f0
test bl, bl
jne 0x44c64a
or dword [ebp - 4], 0xffffffff
jmp 0x44c5bb
cmp esi, 0x103
je 0x44c65a
cmp esi, 0x3f2
jne 0x44c66a
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00435200
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10095c5
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x102164c]
push edi
push 0x47
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop edi
jae 0x100960b
xor eax, eax
jmp 0x1009615
cmp dword [ebp - 0x118], 2
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
call fcn.0101522e
leave
ret

Function at 0x1009624
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x102164c]
push edi
push 0x47
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x11c], 5
pop edi
jne 0x1009671
cmp dword [ebp - 0x118], eax
sete al
mov ecx, dword [ebp - 4]
call fcn.0101522e
leave
ret

Function at 0x1009919
Capabilities:
Get hostname

Disassembly:
mov eax, 0x101f865
call fcn.01015db4
push ecx
mov eax, 0x1808
call fcn.010162d0
mov eax, dword [0x102164c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push 0x1001750
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], eax
call fcn.01016d32
pop ecx
pop ecx
push 0x1001734
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x1009970
push 0x1001720
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1009970
push ebx
call eax
push 0x108
call fcn.0100f796
push 0x39
call fcn.0100f796
lea eax, [ebp - 0x1818]
push eax
lea eax, [ebp - 0x1814]
mov esi, 0x400
push eax
mov dword [ebp - 0x1818], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10099dc
push esi
lea eax, [ebp - 0x1014]
push eax
push 0x2d
call fcn.0100f5ca
lea eax, [ebp - 0x1814]
push eax
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0101556c
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
call fcn.0100f4f4
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.01009828
cmp eax, ebx
jne 0x10099f8
push dword [0x1022080]
call fcn.01009dcf
cmp eax, ebx
jge 0x1009a14
xor eax, eax
jmp 0x1009a14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0101522e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1015375
Capabilities:
Parse pe header

Disassembly:
push 0x18
push 0x1002150
call fcn.0101828c
mov edi, 0x94
mov eax, edi
call fcn.010162d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x10]
mov dword [0x1022970], eax
mov ecx, dword [esi + 4]
mov dword [0x102297c], ecx
mov edx, dword [esi + 8]
mov dword [0x1022980], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1022974], esi
cmp eax, 2
je 0x10153d5
or esi, 0x8000
mov dword [0x1022974], esi
shl ecx, 8
add ecx, edx
mov dword [0x1022978], ecx
cmp word [0x1000000], 0x5a4d
jne 0x1015413
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x1015413
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x101542c
cmp ecx, 0x20b
je 0x1015419
and dword [ebp - 0x1c], 0
jmp 0x1015443
cmp dword [eax + 0x1000084], 0xe
jbe 0x1015413
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x101543d
cmp dword [eax + 0x1000074], 0xe
jbe 0x1015413
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.0101822f
pop ecx
test eax, eax
jne 0x1015470
cmp dword [0x102294c], 2
je 0x101545d
call fcn.0101797c
push 0x1c
call fcn.0101778f
push 0xff
call fcn.010175ee
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.0101805f
test eax, eax
jge 0x1015485
push 0x1b
call fcn.01015346
pop ecx
call fcn.01017faf
mov dword [0x1024164], eax
call fcn.01017e10
mov dword [0x1022948], eax
call fcn.01017d73
test eax, eax
jge 0x10154aa
push 8
call fcn.01015346
pop ecx
call fcn.01017b32
test eax, eax
jge 0x10154bb
push 9
call fcn.01015346
pop ecx
call fcn.01017648
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10154ce
push eax
call fcn.01015346
pop ecx
mov eax, dword [0x1022998]
mov dword [0x102299c], eax
push eax
push dword [0x102298c]
push dword [0x1022984]
call fcn.01009919
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], 0
jne 0x10154fe
push esi
call fcn.01017728
call fcn.01017760
jmp 0x1015530
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.010182c7
ret
Function at 0x101ebb6
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1003be0
call fcn.0101828c
xor esi, esi
cmp dword [0x1022d00], esi
jne 0x101ebfa
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101ebe5
mov dword [0x1022d00], edi
jmp 0x101ebfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x101ebfa
mov dword [0x1022d00], 2
mov eax, dword [0x1022d00]
cmp eax, 2
je 0x101ecdb
cmp eax, esi
je 0x101ecdb
cmp eax, 1
jne 0x101ec3f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x101ec28
mov eax, dword [0x1022c00]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x101ec46
xor eax, eax
jmp 0x101eced
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.010162d0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x101ec7c
cmp edi, esi
jne 0x101ec97
lea eax, [ebx + ebx]
push eax
call fcn.01017480
pop ecx
mov edi, eax
cmp edi, esi
je 0x101ec3f
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101ecca
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x101ecb4
push esi
push esi
jmp 0x101ecba
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x101ecd6
push edi
call fcn.0101749c
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x101eced
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.010182c7
ret

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x36054369
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x447573eb
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x402119
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x40211c
imul edi, dword [edx + 0x5a], 0xffffffdd
jmp fcn.00402107