joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1150ee8
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, ecx
push dword [esi + 0x1a4]
mov edi, esi
neg edi
lea eax, [esi - 0xc8]
sbb edi, edi
and edi, eax
call ebx
test eax, eax
je 0x1150f23
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call ebx
test eax, eax
jne 0x1150f2f
inc eax
jmp 0x1150fa4
push dword [esi + 0x1a4]
call ebx
test eax, eax
je 0x1150f44
push dword [edi + 0x10]
call ebx
test eax, eax
jne 0x1150f4b
mov eax, 0x80004005
jmp 0x1150fa4
push dword [esi + 4]
call ebx
test eax, eax
je 0x1150f94
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
je 0x1150f94
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1153314
Capabilities:
Get disk size

Disassembly:
mov eax, 0x12845be
call fcn.01160168
sub esp, 0x1c
push ebx
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.01044ec9
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x12d2398
call fcn.0107cfa8
cmp eax, ebx
jl 0x1153377
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0107cd79
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1153377
cmp dword [ebp - 0x14], ebx
jb 0x1153377
ja 0x1153375
cmp dword [ebp - 0x18], 0x2800000
jbe 0x1153377
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010454b8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1153811
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1284643
call fcn.01160168
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x1153835
mov eax, 0x80004003
jmp 0x115390c
lea ecx, [ebp - 0x10]
call fcn.01044ec9
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.01044ec9
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x12d2398
call fcn.0107cfa8
test eax, eax
jge 0x1153866
mov esi, eax
jmp 0x11538f2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.01052598
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01045d6e
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0103299e
test eax, eax
je 0x11538b2
push eax
push 0
push 0x10094fc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x11538b2
mov esi, 0x80004005
jmp 0x11538f2
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.01032a0b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.01257752
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xf0]
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jl 0x11538f2
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.010454b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010454b8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1155c7d
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x12849f9
call fcn.01160168
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 2
mov dword [esi + 0x30c], 0xc
push dword [esi + 0x10]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
jne 0x1155cbd
xor al, al
jmp 0x1155e74
push dword [ebp - 0x14]
lea ecx, [esi + 0x2b0]
call fcn.0105a97e
push 0x87b
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155ced
push dword [ebp - 0x14]
lea ecx, [esi + 0x310]
call fcn.011002c1
push 0x87c
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155d0f
push dword [ebp - 0x14]
lea ecx, [esi + 0x370]
call fcn.011002c1
lea ecx, [esi + 0xc8]
call fcn.01150ee8
xor eax, eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push eax
push eax
push ecx
mov dword [ecx], eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.01034454
push dword [esi + 0x474]
call ebx
test eax, eax
je 0x1155ddd
push 1
lea ecx, [esi + 0x474]
call fcn.01034010
lea eax, [ebp - 0x28]
push eax
lea ebx, [esi + 0x2a4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x10]
push 2
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x9cfc
lea ecx, [ebp - 0x10]
call fcn.01032a95
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0103299e
push 0x5ce
lea ecx, [ebp - 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.01034481
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.01032a0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fa
push 0x8a4
push dword [esi + 0x10]
call edi
mov ecx, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
inc ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.01055a45
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1155e40
dec ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.01032a0b
push 0x26
lea ecx, [ebp - 0x10]
call fcn.0113f70e
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ebx, [esi + 0x3d0]
push 0x8a4
mov dword [ebx + 0x5c], 0x1c
push dword [esi + 0x10]
call edi
push eax
mov ecx, ebx
call fcn.0105a97e
mov ecx, esi
call fcn.01153ec4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fa
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1157188
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284ab5
call fcn.01160168
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x11571a0
cmp dword [ebp + 0xc], esi
jne 0x11571a7
mov eax, 0x80004003
jmp 0x11571fe
cmp dword [ebp + 0x10], 1
je 0x11571ba
cmp dword [ebp + 0x10], 2
je 0x11571ba
mov eax, 0x80004005
jmp 0x11571fe
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
call fcn.01157001
cmp eax, esi
jl 0x11571ee
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010449c4
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x1157212
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1284acc
call fcn.01160168
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x115722b
cmp dword [ebp + 0xc], edi
jne 0x1157232
mov eax, 0x80004003
jmp 0x11572a2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x1157241
mov eax, 0x80004003
jmp 0x11572a1
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
lea eax, [ebp + 0x10]
push eax
call fcn.0115709c
test eax, eax
jl 0x1157290
mov eax, dword [esi]
shl eax, 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
mov dword [esi], edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x115727d
mov edi, eax
jmp 0x1157293
cmp dword [ebp - 0x14], 1
je 0x1157287
push 0xd
jmp 0x1157292
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [esi], eax
jmp 0x1157293
push 3
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.010449c4
mov eax, edi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x1157429
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1284b12
call fcn.01160168
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov edi, eax
cmp edi, ebx
jge 0x115746b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1157464
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x115752e
cmp dword [ebp - 0x10], ebx
jne 0x115748b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1157481
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x115752e
lea ecx, [ebp - 0x18]
call fcn.01044ec9
mov byte [ebp - 4], 1
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push 0x9c93
lea ecx, [ebp - 0x14]
call fcn.01032a95
lea ecx, [ebp - 0x14]
call fcn.01052545
push 0x105
lea ecx, [ebp - 0x18]
call fcn.01055a45
cmp eax, ebx
je 0x11574db
push eax
push dword [ebp - 0x14]
push ebx
push ebx
push 0x800e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01032a0b
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.01052598
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.01045d6e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010328fa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.010454b8
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x115752c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x115775a
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1284b4b
call fcn.01160168
sub esp, 0x28
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x1003404]
movsd dword es:[edi], dword [esi]
call fcn.011576fe
xor edi, edi
cmp eax, edi
jl 0x11578fc
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.01156f56
cmp eax, edi
jl 0x11578fc
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x1003354]
call fcn.0115712e
cmp eax, edi
jl 0x11578fc
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x28], edi
call fcn.01265088
cmp eax, edi
jl 0x11578fc
push dword [ebp - 0x28]
mov ecx, ebx
push dword [0x10032ac]
call fcn.0115712e
cmp eax, edi
jl 0x11578fc
lea ecx, [ebp - 0x2c]
call fcn.01044ec9
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.011573ea
cmp eax, edi
jge 0x1157813
mov esi, eax
jmp 0x11578ee
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov esi, 0x10030fc
cmp ecx, esi
mov dword [ebp - 0x30], eax
jne 0x115782e
mov esi, 0x80004003
jmp 0x11578ee
cmp eax, edi
je 0x1157824
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.01157001
cmp eax, edi
mov dword [ebp - 0x34], eax
jge 0x115785c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.010449c4
mov esi, dword [ebp - 0x34]
jmp 0x1157888
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x30]
push 1
push edi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.010449c4
cmp esi, edi
jl 0x11578ee
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 0
call fcn.01156fa5
cmp eax, edi
jl 0x115780c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003150
mov ecx, ebx
call fcn.0115712e
cmp eax, edi
jl 0x115780c
lea eax, [ebp - 0x21]
push eax
mov ecx, ebx
mov byte [ebp - 0x21], 1
call fcn.01156fde
cmp eax, edi
jl 0x115780c
movzx eax, byte [ebp - 0x21]
push eax
push 0x1003124
mov ecx, ebx
call fcn.0115712e
cmp eax, edi
jl 0x115780c
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.010454b8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe73
leave
ret
Function at 0x1157e56
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffcc
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x1157ec7
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.01055a45
test eax, eax
je 0x1157eba
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.01032a0b
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1157eee
and dword [ebp - 4], 0
jmp 0x1157ede
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103260a
test eax, eax
mov dword [ebp - 4], eax
jne 0x1157f17
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.01157dfd
jmp 0x1157f17
cmp dword [ebp + 0x18], 0
je 0x1157f17
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1157f17
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
push dword [ebp + 8]
call fcn.0113f78f
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18

Function at 0x11593c3
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1284c92
call fcn.01160168
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x88]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x115948e
push edi
push 0
push dword [ebx]
lea edi, [esi + 0xb0]
mov byte [edi], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [edi], 0
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
push edi
lea ecx, [ebp - 0x10]
call fcn.0103299e
test eax, eax
je 0x1159481
push edi
push eax
mov ecx, ebx
call fcn.0105943e
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.01032a0b
cmp byte [esi + 0x84], 0
jne 0x1159456
mov eax, dword [esi + 0x80]
test eax, eax
je 0x1159456
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 0x64]
lea ecx, [ecx + eax*8 + 4]
jmp 0x1159466
mov ecx, dword [esi + 0x64]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x80]
lea ecx, [ecx + eax*8]
call fcn.01044b40
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fa
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1159fa2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1284d84
call fcn.01160168
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp di, 9
mov esi, ecx
je 0x1159fd8
cmp di, 0xd
je 0x1159fd8
push dword [ebp + 0x10]
lea ecx, [esi + 0x88]
push edi
push dword [ebp + 8]
call fcn.011591bb
jmp 0x115a13d
mov eax, dword [esi + 0x80]
mov dword [ebp + 8], eax
mov al, byte [esi + 0x84]
push 0x10
mov byte [ebp + 0xf], al
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setl al
test al, al
je 0x115a040
cmp di, 9
jne 0x115a040
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x115a024
push dword [ebp + 0x10]
push 9
push 0x100
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x115a0f8
cmp byte [esi + 0x84], 0
je 0x115a037
dec eax
mov byte [ebp + 0xf], 0
jmp 0x115a0f5
mov byte [ebp + 0xf], 1
jmp 0x115a0f8
cmp byte [esi + 0x84], 0
je 0x115a067
cmp dword [esi + 0x80], 0
jne 0x115a05e
mov dword [ebp + 8], 1
jmp 0x115a0f8
mov byte [ebp + 0xf], 0
jmp 0x115a0f8
mov eax, dword [esi + 0x68]
cmp eax, 0x32
jge 0x115a0da
mov eax, dword [esi + 0x78]
lea ecx, [eax - 1]
cmp dword [esi + 0x80], ecx
jne 0x115a0e2
xor edi, edi
push edi
inc eax
push edi
lea ecx, [ebp - 0x14]
mov dword [esi + 0x78], eax
call fcn.011596ca
mov dword [ebp - 4], edi
push eax
lea ecx, [esi + 0x64]
call fcn.01159cd6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0108ec01
mov eax, dword [esi + 0x70]
add dword [esi + 0x74], eax
mov eax, dword [esi + 0x74]
push 1
push eax
lea edi, [esi + 0x20]
push 1
mov ecx, edi
call fcn.01089d4d
push dword [esi + 0x70]
mov ecx, edi
push 1
call fcn.0108fdf1
push dword [esi + 0xb8]
mov ecx, edi
push 1
call fcn.0108fe25
jmp 0x115a0e2
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x80]
dec ecx
cmp eax, ecx
jge 0x115a0f8
inc eax
mov byte [ebp + 0xf], 1
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
cmp dword [esi + 0x80], edi
jne 0x115a10e
mov al, byte [esi + 0x84]
cmp al, byte [ebp + 0xf]
je 0x115a13b
mov ecx, esi
call fcn.011593c3
mov al, byte [ebp + 0xf]
mov ecx, esi
mov dword [esi + 0x80], edi
mov byte [esi + 0x84], al
call fcn.01159737
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.011592d7
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x115c723
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov eax, 0x12850f5
call fcn.01160168
sub esp, 0x2c
mov eax, dword [0x12cf8c8]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
push 0xf003f
mov ecx, 0x12d2398
call fcn.0107c455
push eax
push 0x80000001
lea ecx, [ebp - 0x34]
call fcn.010449e2
cmp eax, esi
jne 0x115c790
push 0x100f900
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.01044a1e
cmp eax, esi
jne 0x115c790
cmp dword [ebp - 0x38], esi
je 0x115c790
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.010449c4
xor eax, eax
inc eax
jmp 0x115c7fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.010449c4
mov eax, dword [0x12cf8a0]
cmp eax, 0xffffffff
jne 0x115c7fa
mov dword [0x12cf8a0], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp ax, si
mov word [0x12d324c], ax
je 0x115c7f5
push 0x10
lea ecx, [ebp - 0x30]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x115c7f5
test byte [ebp - 0x21], 8
je 0x115c7f5
xor eax, eax
mov ax, word [0x12d324c]
push eax
call fcn.0115c6ef
test eax, eax
je 0x115c7f5
mov dword [0x12cf8a0], 1
mov eax, dword [0x12cf8a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0115fe73
leave
ret
Function at 0x115cb90
Capabilities:
Set registry value

Disassembly:
mov eax, 0x128513b
call fcn.01160168
sub esp, 0xc
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x115cbb2
mov eax, 0x80004003
jmp 0x115cd47
mov eax, dword [0x12ce0a0]
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
push 0x28
lea ecx, [ebp - 0x14]
call fcn.0103299e
cmp eax, ebx
jne 0x115cbd6
mov esi, 0x8007000e
jmp 0x115cd38
push 0x28
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, ebx
jne 0x115cbee
mov esi, 0x80004005
jmp 0x115cd38
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.01032a0b
mov ecx, 0x12d2398
call fcn.0107c455
push eax
lea ecx, [ebp - 0x10]
call fcn.0103966b
mov byte [ebp - 4], 1
push dword [0x12cf8a4]
lea ecx, [ebp - 0x10]
call fcn.010524f5
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.01044c82
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 2
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
push 0x80000001
call fcn.0106156f
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
jne 0x115cc5d
mov esi, 0x80004005
jmp 0x115cd21
movzx eax, byte [edi + 0x10]
push dword [0x12cf8a8]
lea ecx, [ebp + 8]
push eax
call fcn.010615c4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
movzx eax, byte [edi + 0x11]
push dword [0x12cf8ac]
lea ecx, [ebp + 8]
push eax
call fcn.010615c4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
push dword [0x12cf8c0]
mov eax, dword [edi + 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.01044a7b
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 8
lea eax, [edi + 0x18]
push eax
push 3
push ebx
push dword [0x12cf8b0]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
push 8
lea eax, [edi + 0x20]
push eax
push 3
push ebx
push dword [0x12cf8b4]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
push 8
add edi, 0x28
push edi
push 3
push ebx
push dword [0x12cf8b8]
push dword [ebp + 8]
call esi
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
je 0x115cc53
xor esi, esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.010449c4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010328fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010328fa
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4