joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x410]
push eax
push 1
xor ebx, ebx
push ebx
push 0x10011e0
mov edi, 0x80000002
push edi
call esi
test eax, eax
je 0x1001b0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100265e
leave
ret
lea eax, [ebp - 0x41c]
push eax
push 1
push ebx
push 0x1001260
push edi
call esi
test eax, eax
je 0x1001b34
xor esi, esi
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001afd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push 0x10012e0
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], 4
call esi
test eax, eax
je 0x1001b72
xor esi, esi
jmp 0x1001c1c
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x408], ebx
cmp eax, ebx
jbe 0x1001c0a
mov ebx, 0x10013e4
mov edi, 0x200
push dword [ebp - 0x408]
lea eax, [ebp - 0x204]
push 0x100131c
push ebx
push edi
push eax
call fcn.01001801
add esp, 0x14
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], 0x100
call esi
test eax, eax
jne 0x1001bf6
push 0x1001340
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001c2d
inc dword [ebp - 0x408]
mov eax, dword [ebp - 0x418]
cmp dword [ebp - 0x408], eax
jb 0x1001b90
cmp dword [ebp - 0x408], eax
je 0x1001b6b
mov esi, dword [ebp - 0x41c]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001b24
push dword [ebp - 0x408]
lea eax, [ebp - 0x204]
push 0x10012c8
push ebx
push edi
push eax
call fcn.01001801
add esp, 0x14
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], 4
call esi
test eax, eax
jne 0x1001b6b
push eax
push dword [ebp - 0x420]
call sub.TAPI32.dll_lineRemoveProvider
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x1001c1c
Function at 0x1002075
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
xor edi, edi
call fcn.010015a6
mov dword [0x100403c], eax
test eax, eax
je 0x1002129
push esi
push 0x10013f0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x10020ad
push 0xfc9
jmp 0x1002111
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push 0x10013dc
push 0xffffffffffffffff
push dword [0x100403c]
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10020f3
call fcn.01001ac0
test eax, eax
jne 0x10020e4
push 0xfc0
jmp 0x1002111
push 0xfae
call fcn.01001540
xor edi, edi
inc edi
jmp 0x1002116
push dword [0x100403c]
call fcn.01001c9b
test eax, eax
jne 0x1002109
push 0xfc1
jmp 0x1002111
xor edi, edi
inc edi
push 0xfaf
call fcn.01001540
test esi, esi
je 0x1002128
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebp
ret 4

Function at 0x10022d4
Capabilities:
Accept command line arguments

Disassembly:
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
push 0x10043a0
push 0xfb0
push eax
mov dword [0x10047a0], eax
call dword [sym.imp.USER32.dll_LoadStringW]
call fcn.0100162d
test eax, eax
jne 0x100231d
push 0xfa0
call fcn.01001540
xor eax, eax
inc eax
jmp 0x100233d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x100232c
push 2
pop eax
jmp 0x100233d
push eax
call fcn.01002135
test eax, eax
jne 0x100233b
call fcn.01001861
xor eax, eax
ret 0x10
Function at 0x100264f
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1002ae0
call fcn.010027f4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x10047b0
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1002406
cmp eax, esi
jne 0x10023f9
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1002409
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10023e0
xor esi, esi
inc esi
mov eax, dword [0x10047ac]
cmp eax, esi
jne 0x100241c
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100244b
mov eax, dword [0x10047ac]
test eax, eax
jne 0x1002445
mov dword [0x10047ac], esi
push 0x1001110
push 0x1001104
call fcn.01002345
pop ecx
pop ecx
test eax, eax
je 0x100244b
jmp 0x1002573
mov dword [0x1004060], esi
mov eax, dword [0x10047ac]
cmp eax, esi
jne 0x100246f
push 0x1001100
push 0x10010f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10047ac], 2
test ebx, ebx
jne 0x100247b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10047b4], 0
je 0x100249f
push 0x10047b4
call fcn.01002769
pop ecx
test eax, eax
je 0x100249f
push 0
push 2
push 0
call dword [0x10047b4]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x10024fb
test al, al
je 0x10024b9
cmp dword [ebp - 0x1c], 0
jne 0x10024fb
mov al, byte [esi]
test al, al
je 0x10024c9
cmp al, 0x20
ja 0x10024c9
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10024b9
test byte [ebp - 0x3c], 1
je 0x10024d5
movzx eax, word [ebp - 0x38]
jmp 0x10024d8
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100405c], eax
cmp dword [0x1004050], 0
jne 0x100254f
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100250a
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100251d
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10024a6
cmp dword [0x1004060], 0
jne 0x100255e
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100405c]
jmp 0x100257f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01002839
ret
call fcn.01002941
jmp 0x10023a6
Function at 0x1001bdc
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.01001beb
jmp fcn.01001b4b
Function at 0x1002e67
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x1002e2c
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x1002e92
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x1002eb6
push 0x1001790
lea ecx, [ebp - 0x1c]
call fcn.01012495
push 0
push 3
push 2
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtInitiatePowerAction]
lea ecx, [ebp - 0x1c]
call fcn.010124fc
leave
ret 4

Function at 0x1002eea
Capabilities:
Create thread
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x1002eba
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x1002f15
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x1002f35
push 0x1001790
lea ecx, [ebp - 0x1c]
call fcn.01012495
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_ExitWindowsEx]
lea ecx, [ebp - 0x1c]
call fcn.010124fc
leave
ret 4

Function at 0x1002f39
Capabilities:
Lock the desktop
Log keystrokes via polling
Shutdown system

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffff05e
sub esp, 0x18
cmp eax, 8
ja case.default.0x1002f50
jmp dword [eax*4 + 0x1003000]
push 2
jmp 0x1002f5d
push 3
call fcn.01002e67
jmp case.default.0x1002f50
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1002f85
push 0x1001790
lea ecx, [ebp - 0x18]
call fcn.01012495
push 2
jmp 0x1002fbf
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push eax
push eax
mov dword [ebp + 8], eax
call fcn.01002cf0
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 7
inc eax
push eax
jmp 0x1002fd1
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jge 0x1002fcf
push 0x1001790
lea ecx, [ebp - 0x18]
call fcn.01012495
push 1
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
lea ecx, [ebp - 0x18]
call fcn.010124fc
jmp case.default.0x1002f50
push 2
call fcn.01002eea
jmp case.default.0x1002f50
xor eax, eax
push eax
push eax
call dword [sym.imp.user32.dll_ExitWindowsEx]
jmp case.default.0x1002f50
push 0
call dword [sym.imp.MSGINA.dll_Ordinal_4]
jmp case.default.0x1002f50
call dword [fcn.01015dd8]
jmp case.default.0x1002f50
call dword [sym.imp.user32.dll_LockWorkStation]
leave
ret 4
Function at 0x100312d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [esi], eax
mov dword [ebx], eax
mov dword [ecx], eax
push 0x47
pop ecx
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]
test eax, eax
je 0x100320e
test word [ebp - 8], 0x110
je 0x100320e
xor eax, eax
inc eax
cmp byte [ebp - 6], 3
mov dword [esi], eax
je 0x1003209
cmp byte [ebp - 6], 2
je 0x1003209
cmp byte [ebp - 6], al
jne 0x100320e
cmp word [ebp - 8], 0x100
jne 0x100320e
lea ecx, [ebp - 0x124]
push ecx
push eax
xor esi, esi
push esi
push 0x1001810
push 0x80000002
mov dword [ebx], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100320e
push 4
pop edi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push esi
push 0x10017e0
push dword [ebp - 0x124]
mov dword [ebp + 0x10], edi
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x10031fb
cmp dword [ebp + 8], edi
jne 0x10031fb
cmp dword [ebp + 0xc], esi
je 0x10031fb
mov dword [ebx], esi
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x100320e
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01011fd4
leave
ret 0xc

Function at 0x100321d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
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
test eax, eax
jl 0x100327e
xor edx, edx
mov eax, 0x100000
div dword [ebp - 0x28]
push edi
push 0
push 0x138
mov edi, eax
lea eax, [ebp - 0x168]
push eax
push 2
call esi
test eax, eax
jl 0x100327d
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x138]
xor edx, edx
div edi
cmp eax, 8
jbe 0x100327d
mov byte [ebp - 1], 0
pop edi
mov al, byte [ebp - 1]
pop esi
leave
ret

Function at 0x100353f
Capabilities:
Set registry value

Disassembly:
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 0x10018dc
push 0
push 0x1001530
push 0x80000001
mov edi, ecx
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1003597
push 0x2b0
push edi
push 3
push eax
push 0x10015a4
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
push dword [ebp - 4]
je 0x10035a5
call dword [sym.imp.advapi32.dll_RegCloseKey]
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.01003024
jmp 0x10035ad
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
leave
ret
Function at 0x10035b0
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0x10
mov esi, ecx
call edi
test ax, ax
jge 0x10035e4
push 0x12
call edi
test ax, ax
jge 0x10035e4
push 0x11
call edi
test ax, ax
jge 0x10035e4
mov ecx, esi
call fcn.0100256e
jmp 0x1003603
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1001530
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003608
xor eax, eax
inc eax
jmp 0x100366b
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10015a4
push dword [ebp - 8]
mov edi, 0x2b0
mov dword [ebp - 4], edi
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003656
cmp dword [ebp - 0xc], 3
jne 0x1003656
cmp dword [ebp - 4], edi
jne 0x1003656
push eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.user32.dll_MonitorFromRect]
test eax, eax
je 0x1003656
mov eax, dword [0x1015dc0]
dec eax
cmp dword [esi + 0x20], eax
jg 0x1003656
xor esi, esi
jmp 0x1003660
mov ecx, esi
call fcn.0100256e
xor esi, esi
inc esi
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x100381c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.user32.dll_GetForegroundWindow]
cmp eax, dword [ebp + 8]
jne 0x100383b
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
jl 0x10038db
push esi
xor esi, esi
cmp dword [0x1015dc0], esi
push edi
jle 0x100385c
mov ecx, dword [esi*4 + 0x1015dc4]
mov eax, dword [ecx]
call dword [eax + 0x18]
inc esi
cmp esi, dword [0x1015dc0]
jl 0x1003847
movzx eax, byte [0x10164b4]
mov ecx, dword [0x1015020]
imul eax, ecx
push ebx
push 0x64
xor edx, edx
pop esi
div esi
mov ebx, eax
cmp ebx, ecx
jb 0x100387d
lea ebx, [ecx - 1]
mov esi, dword [sym.imp.kernel32.dll_GetProcessHeap]
push 0x80
push 0
call esi
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10038b1
movzx eax, byte [0x10164b4]
push eax
push 0x1015a28
push 0x40
push edi
call fcn.0100368a
add esp, 0x10
push edi
push ebx
push 0x402
push dword [0x1015d88]
call dword [sym.imp.user32.dll_PostThreadMessageW]
test eax, eax
pop ebx
jne 0x10038d4
push edi
push eax
call esi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
call fcn.01003703
pop edi
pop esi
pop ebp
ret 4
Function at 0x1005445
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
push 0x80
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
mov eax, 0x1015014
mov esi, 0x1015018
cmp eax, esi
mov edi, eax
jae 0x100547e
mov eax, dword [edi]
test eax, eax
je 0x1005477
call eax
add edi, 4
cmp edi, esi
jb 0x100546f
mov eax, 0x1015000
mov esi, 0x1015010
cmp eax, esi
mov edi, eax
jae 0x100549d
mov eax, dword [edi]
test eax, eax
je 0x1005496
call eax
add edi, 4
cmp edi, esi
jb 0x100548e
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x22
push 2
pop ecx
jne 0x10054c9
add esi, ecx
movzx eax, word [esi]
test ax, ax
je 0x10054c1
cmp ax, 0x22
jne 0x10054b1
cmp word [esi], 0x22
jne 0x10054e1
jmp 0x10054df
cmp ax, 0x20
jbe 0x10054e1
add esi, ecx
cmp word [esi], 0x20
ja 0x10054cf
jmp 0x10054e1
cmp ax, 0x20
ja 0x10054e9
add esi, ecx
movzx eax, word [esi]
test ax, ax
jne 0x10054d9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x1005503
movzx eax, word [ebp - 0x14]
jmp 0x1005506
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call main
push eax
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x1005f10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x768
push ebx
xor ebx, ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x1005f35
xor al, al
jmp 0x1006075
mov eax, dword [ebp - 0x28]
mov dword [0x10160a8], eax
mov al, byte [ebp - 8]
cmp al, 0x20
mov byte [0x1015d78], al
jbe 0x1005f50
mov byte [0x1015d78], 0x20
cmp byte [0x1015d78], bl
push esi
mov esi, dword [sym.imp.kernel32.dll_LocalAlloc]
push edi
mov edi, 0x1f40
jbe 0x1005f99
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x10163b0], eax
je 0x100604f
push edi
push 0x40
call esi
test eax, eax
mov dword [ebx*4 + 0x1016430], eax
je 0x100604f
movzx eax, byte [0x1015d78]
inc ebx
cmp ebx, eax
jl 0x1005f65
push edi
push 0x40
call esi
test eax, eax
mov dword [0x10164b0], eax
je 0x100604f
push 0
push 0x600
lea eax, [ebp - 0x768]
push eax
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x100604f
movzx eax, byte [0x1015d78]
and dword [ebp - 4], 0
test eax, eax
jle 0x1006035
lea eax, [ebp - 0x760]
mov ecx, dword [ebp - 4]
mov edx, dword [eax - 8]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 0xc]
shl ecx, 3
mov dword [ecx + 0x10160b0], edx
mov edx, dword [eax - 4]
mov dword [ecx + 0x10160b4], edx
mov edx, dword [eax]
add edi, edx
adc ebx, esi
add edx, dword [eax - 8]
mov dword [ecx + 0x10161b0], edi
adc esi, dword [eax - 4]
mov dword [ecx + 0x10161b4], ebx
mov dword [ecx + 0x10162b0], edx
mov dword [ecx + 0x10162b4], esi
movzx ecx, byte [0x1015d78]
add eax, 0x30
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1005fde
push 0
push 0x138
lea eax, [ebp - 0x168]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x1006053
xor al, al
jmp 0x1006073
mov eax, dword [0x10160a8]
shr eax, 0xa
imul eax, dword [ebp - 0x134]
and dword [0x10164c4], 0
mov dword [0x10164c0], eax
mov al, byte [0x1015d78]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100743a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
push esi
push edi
push 0xa
lea eax, [ebp - 0xcc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll__ui64tow]
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push dword [ebp + 0x10]
mov edi, 0x400
push 0
push eax
push 0
push edi
call dword [sym.imp.kernel32.dll_GetNumberFormatW]
cmp word [0x101650c], 0
mov esi, 0x101650c
jne 0x100749d
push 4
push esi
push 0xe
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ntdll.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
je 0x10074b3
and word [eax], 0
mov ecx, dword [ebp - 4]
call fcn.01011fd4
leave
ret 0x10
Function at 0x100a15a
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
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 0x100a1a2
push ebx
push dword [esi + 0x14]
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, ebx
jge 0x100a1c4
cmp eax, 0xc0000004
jne 0x100a1cc
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x100a1a2
push eax
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esi + 0x10], ebx
add dword [esi + 0x14], 0x1000
push dword [esi + 0x14]
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x100a16e
mov dword [ebp - 4], 0x8007000e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 4], 0x80004005
jmp 0x100a1c4
Function at 0x100a2a5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
lea eax, [ebp - 0x48]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.user32.dll_GetClientRect]
push 3
call dword [sym.imp.user32.dll_BeginDeferWindowPos]
test eax, eax
mov dword [ebp - 4], eax
je 0x100a401
push ebx
push esi
push 0x3f2
push dword [edi + 4]
call dword [sym.imp.user32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.user32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.user32.dll_MapWindowPoints]
mov eax, dword [0x1015d98]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
push 0x15
add eax, eax
sub ebx, eax
sub ebx, dword [ebp - 0x10]
sub esi, eax
sub esi, dword [ebp - 0xc]
xor eax, eax
push eax
push eax
add ecx, esi
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, ebx
push ecx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_DeferWindowPos]
push 0x3f0
push dword [edi + 4]
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x100a39f
cmp dword [0x1015ddc], 0
je 0x100a394
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call dword [sym.imp.user32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.user32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x24]
push 0x15
xor eax, eax
push eax
push eax
add ecx, esi
push ecx
push dword [ebp - 0x28]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_DeferWindowPos]
jmp 0x100a39f
push 0
push dword [ebp - 8]
call dword [sym.imp.user32.dll_ShowWindow]
push 0x3f1
push dword [edi + 4]
call dword [sym.imp.user32.dll_GetDlgItem]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.user32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x38]
push eax
push dword [edi + 4]
xor edi, edi
push edi
call dword [sym.imp.user32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
sub eax, dword [0x1015d98]
push 0x16
sub eax, dword [ebp - 0x34]
add eax, esi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
add eax, ebx
push eax
push edi
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_DeferWindowPos]
push dword [ebp - 4]
call dword [sym.imp.user32.dll_EndDeferWindowPos]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x100a404
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
push esi
push edi
push 0xa
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll__i64tow]
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x84]
push dword [ebp + 0x10]
mov edi, 0x400
push 0
push eax
push 0
push edi
call dword [sym.imp.kernel32.dll_GetNumberFormatW]
cmp word [0x101650c], 0
mov esi, 0x101650c
jne 0x100a467
push 4
push esi
push 0xe
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.ntdll.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
je 0x100a47d
and word [eax], 0
mov ecx, dword [ebp - 4]
call fcn.01011fd4
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcessHeap]
push edi
mov eax, 0x47e0
push eax
push 0
mov dword [ebp - 4], eax
call esi
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
jmp 0x100a989
push 0
push dword [ebp - 4]
push ebx
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
mov dword [ebp - 8], eax
je 0x100a972
push ebx
push 0
call esi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor ebx, ebx
cmp dword [ebp - 8], 0xc0000004
jne 0x100a994
add dword [ebp - 4], 0x2000
push dword [ebp - 4]
push 0
call esi
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x100a94f
jmp 0x100a99a
cmp dword [ebp - 8], 0
jge 0x100a99e
xor eax, eax
jmp 0x100a9a0
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret