joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001afa
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x6c], 0
cmp dword [eax + 4], 0x100
je 0x1009354
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.01001679
leave
ret 4
mov eax, dword [eax + 8]
cmp eax, 9
je 0x1009365
cmp eax, 0xd
jne 0x1001b20
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jl 0x10094a9
push 0x12
call esi
test ax, ax
jl 0x10094a9
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
push 0x32
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10094a8
push edi
push 0x10
call esi
xor ecx, ecx
test ax, ax
setge cl
push 0x10094c8
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x74], ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10093e5
push 0
push 0
push 0x101f
push ebx
call edi
mov ecx, eax
mov eax, ebx
jmp 0x10093fd
push 0x10094b0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x1009445
push ebx
call esi
mov ecx, ebx
xor edx, edx
cmp eax, edx
je 0x1009445
cmp ecx, edx
je 0x1009445
mov edi, dword [ebp + 8]
cmp dword [edi + 8], 0xd
jne 0x1009421
cmp ecx, ebx
jne 0x10094a7
push ecx
push eax
call fcn.0100da46
jmp 0x10094a0
cmp dword [ebp - 0x74], edx
je 0x100942e
cmp eax, ebx
jne 0x100942e
mov eax, ecx
jmp 0x1009495
cmp ecx, ebx
jne 0x10094a7
cmp dword [ebp - 0x74], edx
je 0x1009495
push edx
push eax
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
jmp 0x1009495
cmp dword [ebp - 0x74], 0
jne 0x10094a7
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 9
jne 0x10094a7
push 1
push ebx
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov esi, eax
test esi, esi
je 0x10094a7
push 0x32
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10094a7
push 0x10094c8
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
jne 0x10094a7
push eax
push eax
push 0x101f
push esi
call edi
test eax, eax
je 0x10094a7
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 0x6c], 1
pop edi
pop ebx
pop esi
jmp 0x1001b20
Function at 0x1001b36
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x10096ec
push esi
xor esi, esi
cmp dword [0x101e0d8], edi
jle 0x1001b67
mov ecx, dword [esi*4 + 0x101e548]
mov eax, dword [ecx]
call dword [eax + 0x18]
inc esi
cmp esi, dword [0x101e0d8]
jl 0x1001b52
cmp dword [0x101e0cc], edi
je 0x100970f
movzx eax, byte [0x101e080]
mov ecx, dword [0x101f6bc]
imul eax, ecx
push ebx
push 0x64
xor edx, edx
pop esi
div esi
mov ebx, eax
cmp ebx, ecx
jae 0x10096f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x100
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1001bcb
movzx eax, byte [0x101e080]
push eax
push 0x101ed50
push 0x80
push edi
call fcn.0100196b
add esp, 0x10
push edi
push ebx
push 0x402
push dword [0x101e0b0]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop ebx
test eax, eax
je 0x10096ff
call fcn.01002432
pop esi
pop edi
pop ebp
ret 8
cmp eax, dword [ebp + 8]
jne 0x1001b47
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1001b47
jmp 0x1001bed
call dword [sym.imp.USER32.dll_GetForegroundWindow]
jmp 0x1001ea6
lea ebx, [ecx - 1]
jmp 0x1001b95
push edi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1001be7
push edi
push edi
push 0x404
push dword [0x101e0b0]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov dword [0x101e0cc], eax
jmp 0x1001be7

Function at 0x10025a3
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, ecx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100664c
lea ecx, [ebp - 8]
push ecx
push dword [esi + 0x14]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, ebx
jl 0x1007ab4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 8], ebx
jmp 0x1007ac0
cmp eax, 0xc0000004
je 0x1007ac0
jmp 0x100b693
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x1007ad5
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x10], ebx
mov eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
lea eax, [ecx + eax + 0x1000]
push eax
push ebx
mov dword [esi + 0x14], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x10025ba
jmp 0x100b69f
mov dword [ebp - 4], 0x80004005
jmp 0x10025dd
mov dword [ebp - 4], 0x8007000e
jmp 0x10025dd
Function at 0x10037b4
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x34], 1
cmp dword [esi + 0x38], edi
je 0x100686e
cmp dword [esi + 0x3c], edi
jne 0x1006879
push edi
push edi
push edi
push edi
call ebx
mov dword [esi + 0x3c], eax
jmp 0x1006879
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push 0x100335c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
cmp eax, edi
je 0x1003828
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x40
push 0xffffffffffffffff
push dword [esi + 0x3c]
push edi
call fcn.0100383a
mov eax, dword [esi + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x34], edi
pop edi
pop esi
pop ebx
leave
ret 8
push edi
push edi
push edi
push edi
call ebx
jmp 0x100ca68
mov edx, dword [esi + 0x38]
cmp edx, edi
jne 0x100ca70
jmp 0x1003828
mov dword [esi + 0x38], eax
jmp 0x10037db
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
je 0x1003828
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x1c]
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x40], edi
jne 0x100380c
jmp 0x10037f2

Function at 0x1003d11
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xa
push 0x40
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.msvcrt.dll__i64tow_s
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0x84]
push ebx
push 0
push eax
push 0
mov edi, 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov esi, 0x101e4cc
cmp ax, word [0x101e4cc]
je 0x100582d
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
jne 0x100b724
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001679
leave
ret 0x10
push 4
push esi
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1003d74
xor ecx, ecx
mov word [eax], cx
jmp 0x1003d89
Function at 0x100698d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x1006a11
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1006a11
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1006a0a
and dword [ebp + 0xc], 0xf
jbe 0x10069db
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x10069d1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1006a01
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x10069f5
jmp 0x10069fb
mov eax, 0x80004005
jmp 0x10069fd
call fcn.0101b392
jmp 0x10069fd

Function at 0x1007ef5
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x178
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push 0
mov byte [ebp - 1], 1
call esi
jmp 0x10092fa
test eax, eax
jl 0x1007f47
xor edx, edx
mov eax, 0x100000
div dword [ebp - 0x28]
mov ecx, dword [ebp - 0x144]
sub ecx, dword [ebp - 0x148]
xor edx, edx
mov esi, eax
mov eax, ecx
div esi
cmp eax, 8
jbe 0x1007f47
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop esi
leave
ret
test eax, eax
jl 0x1007f47
push 0
push 0x148
lea eax, [ebp - 0x178]
push eax
push 2
call esi
jmp 0x1007f1c
Function at 0x1008995
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0x1008a00
push 0
push 0x1005150
push 0x80000001
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10094e4
push 0x330
push edi
push 3
push 0
push 0x10051c4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x10094ee
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
leave
ret
call fcn.0100dd74
jmp 0x10089fa
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10094e4

Function at 0x1008aad
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push 0x1005150
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008afe
push 0x64
push 0x101f350
push 3
push esi
push 0x10051dc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1008af5
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x10095da
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x1005150
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x1009636
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10051c4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
jne 0x100965a
jmp 0x1009662
pop esi
mov eax, ebx
pop ebx
leave
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x330
call esi
test ax, ax
jge 0x1006401
push 0x12
call esi
test ax, ax
jge 0x1006401
push 0x11
call esi
test ax, ax
jge 0x1006401
push ebx
push ebx
push 0xc3b4
push ebx
call fcn.0100561e
push eax
call fcn.0101af5a
inc ebx
jmp 0x1009699
xor ecx, ecx
mov edi, 0xffff
mov esi, 0x80070000
cmp eax, ebx
je 0x100964e
jle 0x100964c
and eax, edi
or eax, esi
mov ecx, eax
mov ebx, ecx
test ecx, ecx
jge 0x1007f4d
jmp 0x1009698
jle 0x1009660
and eax, edi
or eax, esi
mov ecx, eax
mov ebx, ecx
test ecx, ecx
jl 0x1009698
cmp dword [ebp - 0x10], 3
jne 0x1009693
cmp dword [ebp - 0xc], 0x330
jne 0x1009693
mov eax, dword [0x101e0d8]
lea ecx, [eax - 1]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], ecx
jg 0x1009693
cmp dword [eax + 4], 0
jne 0x1009698
cmp dword [eax + 0xc], 3
je 0x1009698
mov ebx, 0x80004005
pop edi
cmp dword [ebp - 4], 0
je 0x10096a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jl 0x10096b5
cmp ebx, 1
jne 0x1007f77
mov ecx, dword [ebp - 8]
call fcn.01007d35
jmp 0x1007f77
Function at 0x100cb63
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x1007439
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
push 0x1005150
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007423
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push 0x10051dc
push dword [ebp - 0xc]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007400
cmp dword [ebp - 0x10], 3
jne 0x1007400
cmp dword [ebp - 8], esi
jne 0x1007400
mov eax, dword [ebx]
mov dword [ebp - 4], 1
xor ecx, ecx
cmp eax, dword [0x101f350]
jne 0x1007434
mov edx, dword [ebx + 4]
cmp edx, dword [0x101f354]
jne 0x1007434
inc ecx
cmp ecx, 5
jb 0x10073e7
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], edi
je 0x1007423
mov eax, dword [ebp - 0x14]
push 0x19
pop ecx
mov esi, ebx
mov edi, 0x101f350
rep movsd dword es:[edi], dword [esi]
and dword [eax + 8], 0
xor edi, edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x100cbae
pop edi
pop esi
leave
ret
mov dword [ebp - 4], edi
jmp 0x1007400
mov eax, dword [ebp - 4]
pop ebx
jmp 0x1007430
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
xor edi, edi
push 0x10
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edi
call esi
test ax, ax
jge 0x100cb9d
push 0x12
call esi
test ax, ax
jge 0x100cb9d
push 0x11
call esi
test ax, ax
jge 0x100cb9d
xor eax, eax
jmp 0x1007430
push ebx
push 0x64
pop esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x1007383
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1007439

Function at 0x100d98f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
push dword [0x101e098]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101e094]
cmp eax, esi
je 0x100d9d0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x101e094]
cmp eax, esi
je 0x100d9d0
cmp eax, 0xffffffff
je 0x100d9d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x101e094], 0xffffffff
cmp dword [0x101fdcc], esi
jne 0x100d9fb
push esi
push esi
push dword [ebp + 8]
push 0x100d959
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x101fdcc], eax
cmp eax, esi
jne 0x100d9fb
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebp
ret 4
Function at 0x100de95
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100e048
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x101e094], eax
test eax, eax
jne 0x100def0
call ebx
mov esi, 0xffff
mov edi, 0x80070000
test eax, eax
je 0x100dee3
jle 0x100dee8
and eax, esi
or eax, edi
jmp 0x100dee8
mov eax, 0x80004005
mov dword [ebp - 0x210], eax
jmp 0x100df10
call ebx
xor ecx, ecx
mov esi, 0xffff
mov edi, 0x80070000
test eax, eax
je 0x100df0a
jle 0x100df08
and eax, esi
or eax, edi
mov ecx, eax
mov dword [ebp - 0x210], ecx
cmp dword [ebp - 0x210], 0
jge 0x100e02f
mov eax, dword [ebp - 0x210]
and eax, esi
cmp eax, 0xb7
jne 0x100e02f
cmp dword [ebp + 8], 0
jne 0x100df51
push dword [0x101e094]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x210], 1
jmp 0x100e02f
push 0x2710
push dword [0x101e094]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x2713
push dword [0x101e0a4]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x100df8c
and dword [ebp - 0x210], 0
jmp 0x100dfad
call ebx
test eax, eax
je 0x100df9a
jle 0x100df9f
and eax, esi
or eax, edi
jmp 0x100df9f
mov eax, 0x80004005
mov dword [ebp - 0x210], eax
test eax, eax
jl 0x100e02f
lea eax, [ebp - 0x20c]
push eax
push 0x8002
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x100e02f
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea eax, [ebp - 0x218]
push eax
push 0x2710
push 2
push 0
push 0
push 0x40b
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x100e018
call ebx
test eax, eax
jle 0x100e016
and eax, esi
or eax, edi
test eax, eax
jl 0x100e028
cmp dword [ebp - 0x218], 0x40b
je 0x100df42
and dword [ebp - 0x210], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001679
leave
ret 4
Function at 0x100f094
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x40
mov esi, ecx
mov dword [ebp - 0x30], 0x2d
mov dword [ebp - 0x2c], 0x6b756843
mov dword [ebp - 0x28], 0x10
pop ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [esi + 8]
jbe 0x100f106
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x100f0ee
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ecx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x100f161
mov ecx, dword [ebp - 8]
mov dword [esi + 8], ecx
mov ebx, dword [esi + 4]
lea eax, [ebp - 8]
push eax
push 0x14
lea eax, [ebp - 0x30]
push eax
push 0x4f
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
xor edx, edx
cmp eax, edx
jle 0x100f13b
and eax, 0xffff
or eax, 0x80070000
cmp eax, edx
mov dword [ebp - 4], eax
jge 0x100f16d
cmp eax, 0x800700ea
jne 0x100f23f
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
ja 0x100f0cc
mov ecx, dword [ebp - 0xc]
jmp 0x100f0c9
mov dword [ebp - 4], 0x8007000e
jmp 0x100f23f
cmp dword [ebx], 1
je 0x100f17e
mov dword [ebp - 4], 0x8007051a
jmp 0x100f23f
mov ecx, dword [ebx + 8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
test ecx, ecx
jbe 0x100f1cc
lea eax, [ebx + 0x28]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax - 0xc]
add edx, ecx
mov ecx, dword [eax + 0x14]
adc dword [ebp - 0x18], ecx
mov ecx, dword [eax - 0x10]
add ecx, dword [eax - 8]
adc ebx, dword [eax - 4]
add ecx, dword [eax]
adc ebx, dword [eax + 4]
add esi, ecx
mov ecx, dword [eax + 8]
adc edi, ebx
add dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0xc]
adc dword [ebp - 0x10], ecx
add eax, 0x30
dec dword [ebp - 0xc]
jne 0x100f198
push 0
push dword [0x101e0e8]
mov eax, esi
add eax, edx
mov ecx, edi
adc ecx, dword [ebp - 0x18]
push ecx
push eax
call fcn.01002233
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
shrd ecx, edx, 0x14
shr edx, 0x14
push 0
mov dword [eax], ecx
mov dword [eax + 4], edx
push dword [0x101e0e8]
call fcn.01002233
mov ecx, eax
mov eax, dword [ebp + 0xc]
shrd ecx, edx, 0x14
shr edx, 0x14
add esi, dword [ebp - 0x14]
push 0
adc edi, dword [ebp - 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
push dword [0x101e0e8]
push edi
push esi
call fcn.01002233
mov ecx, eax
mov eax, dword [ebp + 0x10]
shrd ecx, edx, 0x14
shr edx, 0x14
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100f487
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
push edi
push 0
push 0x148
lea eax, [ebp - 0x148]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
test eax, eax
jle 0x100f4be
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jl 0x100f565
mov eax, dword [0x101e0e8]
shr eax, 0xa
mov ecx, eax
imul ecx, dword [ebp - 0x118]
and dword [0x101fddc], 0
and dword [0x101fdd4], 0
mov edx, dword [0x101e118]
mov dword [0x101fdd8], ecx
mov ecx, eax
imul eax, dword [ebp - 0x11c]
imul ecx, dword [ebp - 0x114]
mov dword [0x101fdd0], ecx
xor ecx, ecx
sub edx, eax
mov eax, dword [0x101e11c]
sbb eax, ecx
mov dword [0x101e114], eax
mov eax, dword [0x101e0ec]
push 0x7cf
push eax
inc eax
push eax
mov dword [0x101e110], edx
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
push 0
push 0x64
push dword [0x101e114]
push dword [0x101e110]
call fcn.01002233
push dword [0x101e11c]
push dword [0x101e118]
push edx
push eax
call fcn.01001aad
mov ecx, dword [0x101e0ec]
mov byte [ecx], al
mov eax, edi
pop edi
leave
ret

Function at 0x101059e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x101e08c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xa
push 0x64
lea eax, [ebp - 0xcc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.msvcrt.dll__ui64tow_s
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push ebx
push 0
push eax
push 0
mov edi, 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov esi, 0x101e4cc
cmp ax, word [0x101e4cc]
jne 0x1010609
push 4
push esi
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
je 0x101061f
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001679
leave
ret 0x10