joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100baf77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.100a8d01
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.100a8d01
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.10096b50
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x10096ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bb050
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.100b4457
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x10096bd3
xor al, al
jmp 0x10096cff
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x10096bf5
xor al, al
jmp 0x10096cff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x10096c08
xor al, al
jmp 0x10096cff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x10096c1c
xor al, al
jmp 0x10096cff
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.100a8db1
test eax, eax
jne 0x10096c50
xor al, al
jmp 0x10096cff
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x100e2a94
mov dword [esp + 0x20], ebp
call fcn.100b4457
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.100b12d4
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.100b132b
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x10096ce4
mov ax, word [ebx]
test ax, ax
je 0x10096cd6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.10096d20
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x10096cba
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.100b132b
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x10097220
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.100b299d
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x10097266
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.1009a098
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x10100428
push ecx
call fcn.1009bcd0
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x10097480
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x100bb0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.100aa525
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x10097552
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100974ea
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100aa4b7
xor eax, eax
jmp 0x100975a2
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10097505
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x10097556
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10097556
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.1009a273
add esp, 8
test eax, eax
je 0x1009754e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10097527
jmp 0x10097556
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x10097576
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.100aa4b7
xor eax, eax
jmp 0x100975a2
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.100aa4b7
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8

Function at 0x100ac8b4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100ac8ec
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100aa912
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100aa8ea
jmp 0x100ac8f8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100ae080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100ae0c2
call fcn.100b4457
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100ae0c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100ae0b9
xor eax, eax
jmp 0x100ae0ca
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100ae0d0
pop edi
pop esi
pop ebx
ret 4

Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
call 0xafa5ecad
out 0xe, eax
push es
adc esp, dword [esi + 0x4c45b319]
xor al, byte [ebx + 0x1d]
stc
mov dl, 0x9a
push ds
or eax, 0x371320d
invalid
Function at 0x403860
Capabilities:
Encode data using xor

Disassembly:
fild word [edi]
invalid
push ebp
sub eax, 0x14ec83ec
mov eax, dword [0x7c02a8]
mov ebx, dword [edx + 0x10]
and eax, 0x56b3899e
cmp eax, ecx
push edi
jge 0xbc3a7a
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, ecx
jae 0x4038e3
or al, 0x3b
ret
add byte [eax], al
mov dword [esi + 0x14], ebx
je 0x4038aa
invalid
cmp dh, 0x4c
inc eax
inc ecx
add byte [ebx + 0x53], dl
push ecx
push esi
sub dword [edi - 0x74ff15ea], esp
push ss
mov eax, dword [0x44117fc]
push edx
jae 0x40384e
call 0x48fc6bf
xchg byte [ecx], al
outsd dx, dword [esi]
push edi
push esi
pop ds
sub eax, 0xa03b0000
je 0x4038e3
push eax
push str.socket
call 0xffbe1e40
add esp, 8
and byte [edi], dl
mov byte [ecx], al
push 8
push edx
call 0xcca86b0
push ss
and al, 0x74
push cs
push eax
push 0x5a40a328
call fcn.00401e40
add esp, 8
mov eax, dword [0x41026c]
cmp eax, ebx
je 0x40395b
or cl, byte [ebx + 0x23c36aea]
call 0x6d8db0
mov dl, 0xc3
je 0x40389b
jbe 0x4038a2
adc dword [ecx], eax
add byte [esi + ecx + 0x50], dh
push str.socket_send_buffer
call fcn.00401eb3
and ebp, 8
xchg ebx, eax
or eax, 0x41026c
mov edx, dword [edi]
push ecx
push 0xe70080
push edx
call 0xf340b7b0
cmp eax, ebx
je 0x40395b
cmp eax, 0x11187
mov byte [esi], cl
push eax
push str.socket_receive_buffer
call fcn.00401e40
cmp ebx, 8
call fcn.00406999
mov dword [0x41cea0], eax
mov dword [ebp + 0x4a410b32], esi
mov edx, dword [edi]
mov dword [edi - 0x4fff7d0], ebx
invalid
Function at 0x403acf
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x41ee8ce5
add bl, ch
and al, 0x8b
dec esi
adc byte [ecx + 0x8960292], ah
cmp ebp, dword [eax + 0x74]
sbb byte [ebx + 0x4102d60d], cl
inc esi
mov eax, dword [0xd202c0]
inc ecx
inc eax
mov dword [0x1e4102b8], ecx
mov dword [0x4102c0], eax
bsf eax, dword [edx]
inc ecx
add byte [edi + 0xd], ch
movsb byte es:[edi], byte [esi]
rol byte [eax + 0x51], 1
cmp eax, ecx
unpckhps xmm3, xmmword [esi - 0x7466ffff]
adc eax, 0x410b67
mov edi, eax
pop esi
out 5, eax
add edi, edx
inc eax
mov dword [0xfe02ac], eax
mov bl, 0xda
add byte cs:[eax], al
mov dword [0x41c9a0], eax
mov dword [ecx - 0x5c], eax
or eax, dword [ecx]
mov dword [esi + 0x850], eax
rcl byte [0x410ba4], cl
mov ebx, ebp
xor ch, dh
push ecx
add byte [edi + 0x85496], al
add byte [ecx + 0x348e8bde], cl
or byte [eax], al
add byte [edi], bl
dec edi
add al, 0x6f
cmp byte [eax], cl
add byte [eax], al
mov eax, dword [esi + 0x835]
mov edx, dword [esi + 0x834]
sub ebp, dword [eax + 0x83c028b]
add byte [eax], al
sbb eax, edx
test eax, eax
outsd dx, dword [esi]
or bh, byte [esi - 2]
leave
jae 0x403b23
xor ecx, ecx
or al, 0xc0
mov dword [edi + 0x29], ecx
mov dword [edi + 0x49], eax
mov ecx, dword [esi + 0xd20850]
stosd dword es:[edi], eax
jnp 0x403bbd
or byte [esi + 0x34968b00], ah
xor eax, dword [eax]
add byte [ebx], ch
enter 0xffffffffffff86c1, 0x54
or byte [eax], al
add byte [ebx], bl
ret 0xc085
or byte [eax], al
add byte [ebx + 0x6808a296], cl
add byte [ebx], ch
enter 0xffffffffffff868b, 0x4c
or byte [eax], al
add byte [0x7fe185c2], al
or bh, byte [esp + eax - 0x7b]
push ds
jae 0x403bde
mov eax, dword [ebx + esi - 0x40]
mov dword [edi + 0x76], ecx
mov dword [edi + 0xc], eax
mov ecx, dword [0x40d08b]
test dword [esp + esi*2 - 0x53c2dec9], esi
add al, byte [ecx]
mov eax, edi
dec edx
idiv ecx
test edx, edx
jne 0x403c25
mov edx, dword [0x8c40c0c8]
push edi
add edx, 0x40
push str.Completed__d_requests_n
push edx
in eax, 0x15
add cl, 0x40
rol dword [eax], 0xa1
enter 0x40c0, 0
mov eax, dword [0x4117f8]
mov ecx, dword [esi - 0x37]
lea edx, [ebp - 0x52]
jns 0x403c77
invalid
and byte [ebp + 0x41], dh
add byte [edx - 0x5a], cl
xlatb
cld
add byte [eax], ah
add byte [eax], al
call 0xe988b40
mov esi, eax
das
invalid

Function at 0x406a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
outsd dx, dword [esi]
jg 0x406a06
push es
lahf
add dword [eax], eax
add byte [eax - 0x519f715], dl
or byte [ecx], dh
and dword [esi + 0x14], ebp
ljmp 0xe509
add eax, edx
jmp 0x406a23
invalid
Function at 0x1002605
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 0x100265a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100265e
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 0x100264c
cmp esi, eax
jae 0x100265e
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100263e
cmp esi, eax
jae 0x100265e
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x1002659

Function at 0x1006c16
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
lea eax, [ebp + 0xc]
push eax
push esi
push 0x20106
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x1006c65
push edi
push 4
push dword [ebp + 0x14]
push 4
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov edi, eax
cmp edi, esi
jne 0x1011c7b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1006c64

Function at 0x1006cca
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp + 0x18], 4
je 0x1006d25
jmp 0x1006d02
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], 4
test esi, esi
je 0x1011c88
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [esi]
call edi
test eax, eax
je 0x1006cbd
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0x20119
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1006d2b
and dword [esi], 0
pop edi
pop esi
leave
ret 0x14
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [esi]
call edi
jmp 0x1006d25
push 6
pop eax
jmp 0x1006d26

Function at 0x100896d
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
mov edi, edi
push esi
xor esi, esi
call fcn.010085f3
test eax, eax
je 0x10089c6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
movzx esi, ax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push dword [0x102a1e4]
movzx ecx, ax
push 2
pop eax
push eax
push dword [0x102a180]
movzx ecx, cx
push eax
push dword [0x102a184]
push eax
push dword [0x102a1e0]
push eax
push esi
push eax
push ecx
push eax
push 6
push 0x5d2
call fcn.0100812f
add esp, 0x38
mov esi, eax
mov eax, esi
pop esi
ret
Function at 0x1008ab1
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x102a024]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
xor eax, eax
push esi
fstp qword [ebp - 0xd8]
mov esi, ecx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
cmp dword [esi + 0xc0], eax
je 0x1010a48
jmp 0x1010a54
pop edi
jmp 0x1008be8
cmp dword [edi + 4], eax
je 0x1008af0
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1010a68
mov eax, dword [ebp - 0xe0]
sub eax, dword [esi + 0xc0]
mov ecx, dword [ebp - 0xdc]
sbb ecx, dword [esi + 0xc4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
fild qword [ebp - 0xd8]
push ecx
fild qword [edi]
push ecx
lea eax, [ebp - 0xd0]
fdiv qword [0x1007ef8]
fdivp st(1)
fstp qword [ebp - 0xd8]
fld qword [ebp - 0xd8]
fstp qword [esp]
push 0x1008b80
push 0x64
push eax
call fcn.01001fc5
add esp, 0x14
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1008af0
fld qword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
fstp qword [esi + 0xc8]
xor ecx, ebp
fld qword [ebp - 0xd8]
pop esi
call fcn.01001bab
leave
ret
cmp dword [esi + 0xc4], eax
je 0x1008be8
push edi
lea edi, [esi + 0xb0]
cmp dword [edi], eax
je 0x1008af6
jmp 0x1008afb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1008af0

Function at 0x1008fe9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
mov edi, 0x1009068
push edi
push 0x80000002
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 2
call esi
test eax, eax
je 0x100eb45
lea eax, [ebp - 4]
push eax
push ebx
push 0
push edi
push 0x80000001
call esi
test eax, eax
je 0x100eb87
xor eax, eax
cmp dword [ebp - 8], 1
lea ecx, [ebp - 4]
setne al
mov esi, eax
call fcn.0100a0ed
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 8], 1
je 0x1009044
jmp 0x100902d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x100ebbc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.01008fc1
cmp dword [ebp - 0x10], 0
jne 0x100902d
cmp dword [ebp - 8], 0
jne 0x100905e
jmp 0x1009044
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x100ebbc
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea ecx, [ebp - 4]
call fcn.01008fc1
jmp 0x1009044

Function at 0x10096b3
Capabilities:
Get keyboard layout
Identify system language via api

Disassembly:
mov edi, edi
push esi
xor esi, esi
call fcn.010085f3
test eax, eax
je 0x10096ef
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
movzx esi, ax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
push esi
push 2
movzx eax, ax
push eax
push 2
push 2
push 0x5d1
call fcn.0100812f
add esp, 0x18
mov esi, eax
mov eax, esi
pop esi
ret
Function at 0x100b08b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x102a024]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
xor eax, eax
push esi
fstp qword [ebp - 0xd8]
mov esi, ecx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
cmp dword [esi + 0xa8], eax
je 0x1010a1d
jmp 0x1010a29
pop edi
jmp 0x100b1be
cmp dword [edi + 4], eax
je 0x100b0ca
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1010a3d
mov eax, dword [ebp - 0xe0]
sub eax, dword [esi + 0xa8]
mov ecx, dword [ebp - 0xdc]
sbb ecx, dword [esi + 0xac]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
fild qword [ebp - 0xd8]
push ecx
fild qword [edi]
push ecx
lea eax, [ebp - 0xd0]
fdiv qword [0x1007ef8]
fdivp st(1)
fstp qword [ebp - 0xd8]
fld qword [ebp - 0xd8]
fstp qword [esp]
push 0x100b158
push 0x64
push eax
call fcn.01001fc5
add esp, 0x14
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100b0ca
fld qword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
fstp qword [esi + 0xb8]
xor ecx, ebp
fld qword [ebp - 0xd8]
pop esi
call fcn.01001bab
leave
ret
cmp dword [esi + 0xac], eax
je 0x100b1be
push edi
lea edi, [esi + 0xb0]
cmp dword [edi], eax
je 0x100b0d0
jmp 0x100b0d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100b0ca
Function at 0x100b2d3
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
mov eax, 0x4e4
push 0x34
mov word [ebx + 6], ax
lea eax, [ebx + 8]
push 0
push eax
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x1010bf4
push esi
mov ecx, ebx
call fcn.01005c05
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1010c0c
cmp dword [ebp - 4], 0
jl 0x100b3b6
push eax
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1010c18
cmp dword [ebp - 4], 0
jl 0x100b3b6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x100b3f4
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1010c28
cmp dword [ebp - 4], 0
jl 0x100b3b6
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
push 0xd
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x100b3c0
push dword [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100b3a7
cmp dword [ebp - 0x10], 4
jb 0x100b3a7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x1010c38
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
call edi
push eax
call fcn.01014bd1
mov dword [ebp - 4], eax
test eax, eax
jge 0x100b31c
jmp 0x100b3b6
mov dword [ebp - 4], 0x8007000e
jmp 0x100b331
call edi
push eax
call fcn.01014bd1
mov dword [ebp - 4], eax
jmp 0x100b34c
call edi
push eax
call fcn.01014bd1
mov dword [ebp - 4], eax
jmp 0x100b36f
mov dword [ebp - 4], 0x8000ffff
jmp 0x100b3b6
Function at 0x100b57f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x102a0a0]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
push edi
xor ebx, ebx
mov edx, ecx
or edx, eax
push 1
mov dword [ebp - 4], ebx
pop edi
je 0x100b5b6
push edi
push eax
push ecx
push 0x507
push 0x1002344
call fcn.01002359
lea eax, [esi + 0x50]
push eax
mov dword [esi + 0xa4], edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x4c], ebx
jne 0x1010b71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x68]
mov dword [esi + 0xa0], eax
mov dword [edi], ebx
cmp dword [ebp + 8], ebx
je 0x100b602
push edi
push dword [ebp + 8]
push 0x100b644
call dword [sym.imp.ole32.dll_CoMarshalInterThreadInterfaceInStream]
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x100b63b
lea eax, [esi + 0x6c]
push eax
push ebx
push esi
push 0x100802f
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x4c], eax
cmp eax, ebx
je 0x1010b88
cmp dword [ebp - 4], ebx
jl 0x100b63b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x100b628
push ebx
push 0x101ec52
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
mov dword [ebp - 4], edi
jmp 0x100b628
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01014bd1
push dword [edi]
mov dword [ebp - 4], eax
call fcn.0101ebf3
mov dword [edi], ebx
jmp 0x100b623