joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006653
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push edi
push dword [ebp + 0x10]
movzx edi, word [ebp + 0xc]
push edi
push 6
push eax
mov dword [ebp - 0x174], eax
call esi
xor ebx, ebx
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100683d
push ebx
push 0x55
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
je 0x100670e
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x6d
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x100670e
push 0x55
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_ResolveLocaleName]
push ebx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
cmp eax, ebx
je 0x100670e
push eax
push edi
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100683d
mov edi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0x164]
push eax
push ebx
lea eax, [ebp - 0x168]
push eax
push 4
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
call edi
test eax, eax
je 0x1006827
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jbe 0x1006827
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x16c], eax
cmp eax, ebx
je 0x1006827
lea ecx, [ebp - 0x164]
push ecx
push eax
lea eax, [ebp - 0x168]
push eax
push 4
call edi
test eax, eax
je 0x1006813
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ebx
cmp dword [ebp - 0x168], ebx
jbe 0x1006813
push 0x10
push ebx
push edi
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx eax, ax
push eax
movzx eax, word [ebp + 0xc]
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x1006813
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x164]
mov dword [ebp - 0x178], ebx
push edi
call fcn.01005e0c
test eax, eax
jl 0x1006813
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x164]
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp - 0x16c]
lea eax, [eax + ecx*2]
cmp edi, eax
jae 0x1006813
inc dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x168]
jb 0x100679b
push dword [ebp - 0x16c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x160], ebx
jne 0x100683d
movzx eax, word [ebp + 0xc]
push ebx
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c855
leave
ret 0xc
Function at 0x1006db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
and dword [ebx], 0
push esi
mov esi, eax
and esi, 0x8000000f
push edi
mov edi, dword [ecx + 0x7c]
mov dword [ebp - 4], 0x80004005
jns 0x1006ddb
dec esi
or esi, 0xfffffff0
inc esi
push dword [ebp + 0xc]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
inc eax
push eax
push edi
call fcn.01006653
test eax, eax
je 0x1006e51
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1006e51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1006e48
xor edx, edx
movzx ecx, word [eax]
xor edi, edi
inc eax
inc eax
cmp di, cx
je 0x1006e25
movzx ecx, cx
cmp edx, esi
je 0x1006e2d
lea eax, [eax + ecx*2]
inc edx
cmp edx, 0x10
jl 0x1006e0f
jmp 0x1006e48
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10074b1
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [esi + 0x3c], eax
lea eax, [esi + 8]
push eax
push 0x10018b4
push 0x1001b28
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x100755b
lea eax, [esi + 0xc]
push eax
push 0x10018a4
push 0x1001b08
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x100755b
lea eax, [esi + 0x18]
push eax
push 0x1001864
push 0x1001abc
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x100755b
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.01006d08
mov edi, eax
test edi, edi
jl 0x100755b
cmp dword [esi + 0x70], 0
push ebx
je 0x1007553
lea ebx, [esi + 0x14]
push ebx
push 0x100187c
push 0x1001b4c
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x100755a
push dword [ebx]
mov ecx, dword [esi + 0x70]
push dword [esi + 0x3c]
call fcn.0100b4be
mov ecx, esi
call fcn.01007395
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1007723
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x34]
mov edi, dword [eax + 4]
push 0x7d3
push edi
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp edi, eax
je 0x10077e7
push ebx
xor ebx, ebx
cmp byte [esi + 0x6c], bl
jne 0x10077e6
lea eax, [ebp - 0x30]
push eax
push ebx
mov byte [esi + 0x6c], 1
mov dword [ebp - 0x30], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x10077cb
cmp dword [ebp - 0x24], ebx
je 0x10077cb
push dword [ebp - 0x24]
mov ecx, esi
call fcn.01005c90
test al, al
jne 0x10077a1
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, ebx
je 0x10077a1
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
jmp 0x10077a4
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x10077cb
cmp dword [esi + 0x3c], edi
je 0x10077cb
mov ecx, esi
mov dword [esi + 0x3c], edi
call fcn.0100731b
mov ecx, esi
call fcn.01005f06
mov ecx, dword [esi + 0x70]
cmp ecx, ebx
je 0x10077cb
push edi
call fcn.0100b7e1
cmp byte [esi + 0x6f], bl
je 0x10077e3
mov ecx, esi
call fcn.01005d17
test al, al
je 0x10077e3
mov ecx, dword [esi + 0x70]
call fcn.0100bb01
mov byte [esi + 0x6c], bl
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x100875f
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push 0x1001c00
mov edi, ecx
push 0x80000001
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.01007b4b
test eax, eax
jne 0x10087f9
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x10087ee
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x10087ee
push 1
push eax
push eax
lea ecx, [ebp - 0x218]
call fcn.01007ba0
lea ecx, [ebp - 0x218]
call fcn.01007b2d
push esi
push esi
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x218]
call fcn.01007b2d
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100c855
leave
ret
Function at 0x1009e39
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
call fcn.0100b649
test al, al
je 0x1009eb3
lea eax, [ebp - 8]
push eax
push 0xc
mov ecx, esi
call fcn.01009b39
cmp dword [ebp - 8], 0
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
setne bl
xor eax, eax
test bl, bl
setne al
push eax
push 0x13a3
push dword [esi]
call edi
movzx eax, bl
push eax
mov ebx, 0x13a4
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 8]
push eax
push 0xd
mov ecx, esi
call fcn.01009b39
xor eax, eax
cmp dword [ebp - 8], eax
setne al
push eax
push ebx
push dword [esi]
call edi
jmp 0x1009fba
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x13a5
lea eax, [ebx + 2]
push eax
push dword [esi]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x13a3
mov dword [ebp - 0xc], 0x13a4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x13a1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 2
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
push dword [esi]
call edi
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x40]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x14]
push dword [esi]
call edi
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x1009f14
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x34]
push dword [esi]
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x24]
push eax
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x20]
push 5
xor eax, eax
push eax
push eax
sub ecx, ebx
push ecx
push dword [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jb 0x1009f43
lea eax, [ebp - 0x24]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 6
sub eax, ebx
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b3bf
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 8], 0x80004005
xor edi, edi
push 2
push dword [esi]
call sub.MSSWCH.dll_Ordinal_13
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x100b3f8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3c
jl 0x100b3d7
cmp dword [esi + 4], ebx
je 0x100b4b1
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x403
push dword [esi]
mov dword [ebp - 0x14], 8
call dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
push ebx
push dword [esi]
call sub.MSSWCH.dll_Ordinal_1
mov eax, dword [0x1026aac]
push ebx
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], 0x100b307
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x1002044
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x100b4b1
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x100b4b1
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push 0x100b0c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x100b4b1
push 0xbb8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bfef
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c4
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0xa2
call esi
mov edi, 0x8000
xor ebx, ebx
mov ecx, edi
inc ebx
test cx, ax
je 0x100c020
mov dword [ebp - 4], ebx
push 0xa3
call esi
push 2
test di, ax
pop edi
je 0x100c032
or dword [ebp - 4], edi
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c047
or dword [ebp - 4], 4
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c05c
or dword [ebp - 4], 8
push 0xa0
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c071
or dword [ebp - 4], 0x10
push 0xa1
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c086
or dword [ebp - 4], 0x20
and dword [ebp - 0x1c4], 0
push 0x1bc
lea eax, [ebp - 0x1c0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
test byte [ebp - 4], bl
je 0x100c0c4
mov eax, 0xa2
mov word [ebp - 0x1c0], ax
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov eax, ebx
test byte [ebp - 4], 2
push 3
pop esi
je 0x100c0e8
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa3
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], esi
inc eax
test byte [ebp - 4], 4
je 0x100c109
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa4
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
test byte [ebp - 4], 8
je 0x100c12a
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa5
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], esi
inc eax
test byte [ebp - 4], 0x10
je 0x100c14b
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa0
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
test byte [ebp - 4], 0x20
je 0x100c16c
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa1
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
and dword [ecx + 8], 0
mov dword [ecx], ebx
push 0x5b
pop edx
mov word [ecx + 4], dx
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
and dword [ecx + 8], 0
mov dword [ecx], ebx
push 0x55
pop edx
mov word [ecx + 4], dx
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov word [ecx + 4], dx
mov dword [ecx], ebx
mov dword [ecx + 8], edi
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
push 0x5b
lea ecx, [ebp + ecx - 0x1c4]
pop edx
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
push 0x1c
lea ecx, [ebp - 0x1c4]
push ecx
inc eax
push eax
call dword [sym.imp.USER32.dll_SendInput]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c83a
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x10202c0
call fcn.0100cac4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10276f8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100c5f5
cmp eax, esi
jne 0x100c5e8
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100c5f8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100c5cf
xor esi, esi
inc esi
mov eax, dword [0x10276f4]
cmp eax, esi
jne 0x100c60b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100c63a
mov eax, dword [0x10276f4]
test eax, eax
jne 0x100c634
mov dword [0x10276f4], esi
push 0x100154c
push 0x1001540
call fcn.0100c531
pop ecx
pop ecx
test eax, eax
je 0x100c63a
jmp 0x100c75e
mov dword [0x1026cfc], esi
mov eax, dword [0x10276f4]
cmp eax, esi
jne 0x100c65e
push 0x100153c
push 0x1001504
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10276f4], 2
cmp dword [ebp - 0x20], ebx
jne 0x100c66b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10276fc], ebx
je 0x100c68c
push 0x10276fc
call fcn.0100ca39
pop ecx
test eax, eax
je 0x100c68c
push ebx
push 2
push ebx
call dword [0x10276fc]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100c75e
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100c6f6
cmp cx, bx
je 0x100c6b1
cmp dword [ebp - 0x1c], ebx
jne 0x100c6f6
movzx ecx, word [eax]
cmp cx, bx
je 0x100c6c6
cmp cx, 0x20
ja 0x100c6c6
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100c6b1
test byte [ebp - 0x40], 1
je 0x100c6d2
movzx ecx, word [ebp - 0x3c]
jmp 0x100c6d5
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1026cf8], eax
cmp dword [0x1026cec], ebx
jne 0x100c73b
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100c707
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100c69b
cmp dword [0x1026cfc], ebx
jne 0x100c749
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1026cf8]
jmp 0x100c76a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100cb09
ret
call fcn.0100ccb7
jmp 0x100c592
Function at 0x100d841
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100d89a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100d88c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x100d888
cmp esi, eax
jae 0x100d88c
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100d87a
cmp esi, eax
jb 0x100d890
xor eax, eax
jmp 0x100d899
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x100eb39
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push eax
push 6
push edi
mov dword [ebp - 0x174], edi
call esi
xor ebx, ebx
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ed1a
push ebx
push 0x55
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
je 0x100ebf3
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x6d
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x100ebf3
push 0x55
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_ResolveLocaleName]
push ebx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
cmp eax, ebx
je 0x100ebf3
push eax
movzx eax, word [ebp + 0xc]
push eax
push 6
push edi
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ed1a
mov edi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0x164]
push eax
push ebx
lea eax, [ebp - 0x168]
push eax
push 4
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
call edi
test eax, eax
je 0x100ed04
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jbe 0x100ed04
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x16c], eax
cmp eax, ebx
je 0x100ed04
lea ecx, [ebp - 0x164]
push ecx
push eax
lea eax, [ebp - 0x168]
push eax
push 4
call edi
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ebx
cmp dword [ebp - 0x168], ebx
jbe 0x100ecf0
push 0x10
push ebx
push edi
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx eax, ax
push eax
movzx eax, word [ebp + 0xc]
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ecf0
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x164]
mov dword [ebp - 0x178], ebx
push edi
call fcn.01005e0c
test eax, eax
jl 0x100ecf0
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x16c]
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp - 0x164]
lea eax, [ecx + eax*2]
cmp edi, eax
jae 0x100ecf0
inc dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x168]
jb 0x100ec78
push dword [ebp - 0x16c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x160], ebx
jne 0x100ed1a
movzx eax, word [ebp + 0xc]
push ebx
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c855
leave
ret 0xc
Function at 0x1015100
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x118
mov eax, 0x101fe4a
call fcn.0101efc0
mov eax, dword [ebp + 8]
mov esi, ecx
cmp eax, dword [esi + 0x88]
jge 0x1015283
mov ecx, dword [esi + 0x8c]
mov edx, dword [ebp + 0xc]
shl eax, 3
mov dword [ebp - 0x124], eax
add eax, ecx
cmp edx, dword [eax]
jge 0x1015283
mov eax, dword [eax + 4]
mov ecx, edx
shl ecx, 3
add eax, ecx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax]
jge 0x1015283
mov eax, dword [eax + 4]
mov ebx, ecx
push 0x80
shl ebx, 3
mov edi, dword [ebx + eax]
lea eax, [ebp - 0x110]
push eax
push ecx
push edx
push dword [ebp + 8]
mov ecx, esi
call fcn.01014f0b
test eax, eax
jge 0x1015187
xor eax, eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
call fcn.01005e48
push dword [ebp - 0x11c]
mov ecx, dword [esi + 0x74]
and dword [ebp - 4], 0
push 0
push edi
call fcn.01017477
mov dword [ebp - 0x118], eax
test eax, eax
jl 0x101526f
cmp edi, 0x3a
je 0x1015232
cmp edi, 0x46
je 0x1015232
cmp edi, 0x45
je 0x1015232
mov byte [ebp - 0x111], 0
cmp edi, 0xcb
je 0x10151f2
cmp edi, 0xcd
je 0x10151f2
cmp edi, 0xc8
je 0x10151f2
cmp edi, 0xd0
jne 0x1015210
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1015210
mov ecx, dword [esi + 0x74]
push 1
mov byte [ebp - 0x111], 1
call fcn.010174ae
mov ecx, dword [esi + 0x74]
push edi
call fcn.0101744c
cmp byte [ebp - 0x111], 0
mov dword [ebp - 0x118], eax
je 0x1015232
mov ecx, dword [esi + 0x74]
push 0
call fcn.010174ae
cmp dword [ebp - 0x118], 0
jl 0x101526f
mov eax, dword [esi + 0x8c]
mov ecx, dword [ebp - 0x124]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [ebp - 0x120]
mov eax, dword [eax + ecx + 4]
mov esi, dword [eax + ebx + 4]
mov ecx, esi
call fcn.0101cd8e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push dword [eax + 4]
call dword [sym.imp.DUser.dll_InvalidateGadget]
push dword [ebp - 0x11c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x118]
jmp 0x1015288
mov eax, 0x80070057
call fcn.0101f014
ret 0xc