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

Disassembly:
push esi
call fcn.10007710
mov esi, dword [0x101ed758]
test esi, esi
jne 0x10081d84
push 0x128
call fcn.10092352
add esp, 4
test eax, eax
je 0x10081d7c
mov ecx, eax
call fcn.10084880
mov esi, eax
jmp 0x10081d7e
xor esi, esi
mov dword [0x101ed758], esi
push 2
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10081da7
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x10081db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10173f28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x101bd92c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10001750
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x18], ax
lea eax, [edi + 0x9c]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.10004790
push 0x12
push str.SmartCloudInfo.ini
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.10004660
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
push 0
push str.ActivityMode
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x1d8], eax
call fcn.100066b0
add eax, 0x144
cmp dword [eax + 0x14], 8
jb 0x10081e68
mov eax, dword [eax]
mov edx, str.excel.exe
mov ecx, eax
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x10081e96
test si, si
je 0x10081e92
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x10081e96
add ecx, 4
add edx, 4
test si, si
jne 0x10081e70
xor ecx, ecx
jmp 0x10081e9b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x10081eab
mov dword [edi + 0x1d0], 1
jmp 0x10081f27
mov edx, str.et.exe
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x10081ed8
test si, si
je 0x10081ed4
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x10081ed8
add ecx, 4
add edx, 4
test si, si
jne 0x10081eb2
xor ecx, ecx
jmp 0x10081edd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x10081eed
mov dword [edi + 0x1d0], 1
jmp 0x10081f27
mov ecx, str.youdaonote.exe
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10081f18
test dx, dx
je 0x10081f14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10081f18
add eax, 4
add ecx, 4
test dx, dx
jne 0x10081ef2
xor eax, eax
jmp 0x10081f1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10081f27
mov dword [edi + 0x1d4], eax
cmp dword [esp + 0x24], 8
jb 0x10081f3a
push dword [esp + 0x10]
call fcn.10091747
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x10085d40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
jne 0x10085d77
push 2
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10085d6c
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
ret

Function at 0x10085d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101724db
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101bd92c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x101ed6b8], 0
jne 0x10085dde
push 0x14
call fcn.10092352
add esp, 4
test eax, eax
je 0x10085dd7
mov byte [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
jmp 0x10085dd9
xor eax, eax
mov dword [0x101ed6b8], eax
mov eax, dword [0x101ed6d0]
test eax, eax
jne 0x10085e19
push 0xe0
call fcn.10092352
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10085e0b
mov ecx, eax
call fcn.10058ce0
jmp 0x10085e0d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed6d0], eax
push 1
push 1
push str.SoftKeyboard
mov ecx, eax
call fcn.1003e510
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10085e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101730ab
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101bd92c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101ed694]
test esi, esi
jne 0x10085ea4
push 0x138
call fcn.10092352
mov esi, eax
add esp, 4
test esi, esi
je 0x10085e9c
mov ecx, esi
call fcn.1007bf70
jmp 0x10085e9e
xor esi, esi
mov dword [0x101ed694], esi
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10085eba
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x101ed6b8], 0
jne 0x10085ef2
push 0x14
call fcn.10092352
add esp, 4
test eax, eax
je 0x10085eeb
mov byte [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
jmp 0x10085eed
xor eax, eax
mov dword [0x101ed6b8], eax
mov eax, dword [0x101ed6d0]
test eax, eax
jne 0x10085f2d
push 0xe0
call fcn.10092352
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10085f1f
mov ecx, eax
call fcn.10058ce0
jmp 0x10085f21
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed6d0], eax
push 0
push 0
push str.SoftKeyboard
mov ecx, eax
call fcn.1003e510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10086c60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [ecx + 0x48]
test esi, esi
je 0x10086cb3
cmp dword [0x101ed6b8], 0
jne 0x10086cab
push 0x14
call fcn.10092352
add esp, 4
test eax, eax
je 0x10086ca4
mov ecx, esi
mov byte [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [0x101ed6b8], eax
pop esi
jmp fcn.1006aed0
xor eax, eax
mov dword [0x101ed6b8], eax
mov ecx, esi
pop esi
jmp fcn.1006aed0
pop esi
ret
Function at 0x10088de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101739dc
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x101ed76c]
mov esi, dword [ebp + 0x18]
test ecx, ecx
jne 0x10088e49
push 0xc
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10088e41
mov dword [ecx + 8], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
jmp 0x10088e43
xor ecx, ecx
mov dword [0x101ed76c], ecx
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.1008c520
mov eax, dword [0x101ed76c]
test eax, eax
jne 0x10088e89
push 0xc
call fcn.10092352
add esp, 4
test eax, eax
je 0x10088e82
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x10088e84
xor eax, eax
mov dword [0x101ed76c], eax
push dword [ebp + 0xc]
mov ecx, eax
call fcn.1008c5a0
test esi, esi
jne 0x10088ea1
mov eax, 0x80070057
jmp 0x10089028
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
push 0xff
movzx ebx, ax
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp dword [0x101ed6a8], 0
jne 0x10088eee
push 1
call fcn.10092352
add esp, 4
mov dword [0x101ed6a8], eax
mov eax, dword [0x101ed724]
test eax, eax
jne 0x10088f2c
push 0x1d4
call fcn.10092352
add esp, 4
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10088f1e
mov ecx, eax
call fcn.1002c6b0
jmp 0x10088f20
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed724], eax
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
call fcn.1002d740
cmp dword [0x101ed6a8], 0
mov edi, eax
jne 0x10088f5a
push 1
call fcn.10092352
add esp, 4
mov dword [0x101ed6a8], eax
mov eax, dword [0x101ed724]
test eax, eax
jne 0x10088f98
push 0x1d4
call fcn.10092352
add esp, 4
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10088f8a
mov ecx, eax
call fcn.1002c6b0
jmp 0x10088f8c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed724], eax
mov ecx, dword [0x101ed774]
mov dword [eax + 0x17c], 0
test ecx, ecx
jne 0x10088fe8
push 0x14
call fcn.10092352
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10088fe0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
jmp 0x10088fe2
xor ecx, ecx
mov dword [0x101ed774], ecx
mov eax, dword [esi]
mov dword [ecx + 4], eax
xor eax, eax
test bx, bx
js 0x10088ff9
test edi, edi
setne al
mov dword [esi], eax
test eax, eax
jne 0x10089026
call fcn.1007fd10
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10089670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173ac3
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x60], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], eax
jne 0x100896f4
push 0x101e0840
push 0x58
call fcn.100966d7
add esp, 8
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100896da
push esi
mov ecx, eax
call fcn.1007dda0
jmp 0x100896dc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x60], eax
test eax, eax
jne 0x100896f4
mov eax, 0x8007000e
jmp 0x100897bd
push 0xff
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esi, dword [ebp + 0x10]
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
push eax
push esi
call dword [sym.imp.USER32.dll_ToAscii]
cmp eax, 1
jne 0x10089755
movzx eax, word [ebp - 0x114]
and eax, 0xff
shl eax, 0x10
or esi, eax
cmp dword [0x101ed6a8], 0
jne 0x1008976d
push 1
call fcn.10092352
add esp, 4
mov dword [0x101ed6a8], eax
mov eax, dword [0x101ed724]
test eax, eax
jne 0x100897ab
push 0x1d4
call fcn.10092352
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x1008979d
mov ecx, eax
call fcn.1002c6b0
jmp 0x1008979f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ed724], eax
lea ecx, [ebp - 0x110]
push ecx
push ecx
push esi
mov ecx, eax
call fcn.1002e600
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10089e60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x10089e9b
test dword [edi + 0x30], 0x40000000
je 0x10089e9b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x10089e9b
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
call fcn.10008b70
mov dword [eax + 8], esi
mov eax, dword [0x101ed718]
test eax, eax
jne 0x10089ec9
push 4
call fcn.10092352
add esp, 4
test eax, eax
je 0x10089ec2
mov dword [eax], 0
jmp 0x10089ec4
xor eax, eax
mov dword [0x101ed718], eax
push 0
push dword [eax]
call fcn.10008b70
mov ecx, eax
call fcn.100866b0
test dword [edi + 0x30], 0x40000000
jne 0x10089eeb
cmp dword [0x101c72e4], 0
jne 0x10089f21
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
jb 0x10089f62
call fcn.10008b70
mov esi, eax
cmp dword [esi + 0x4c], 0
jne 0x10089f62
cmp dword [0x101c72e4], 0
je 0x10089f62
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10089f62
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10089f56
call fcn.10008b70
mov ecx, eax
call fcn.100869a0
mov eax, dword [esi]
push 0
push dword [esi + 0x48]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret 4
Function at 0x1008c230
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
xor eax, eax
push 0x1fe
push eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2a]
mov esi, edx
push eax
mov dword [esp + 0x20], esi
mov ebx, ecx
mov dword [esp + 0x18], 0
call fcn.10098090
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push esi
push ebx
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1008c2a7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x1008c312
lea esp, [esp]
mov ecx, dword [esp + 0xc]
xor eax, eax
lea edx, [esp + 0x20]
mov word [esp + 0x21e], ax
call fcn.1008c230
mov esi, eax
test esi, esi
jne 0x1008c312
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
je 0x1008c2d0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1008c32d
push dword [esp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, dword [esp + 0x224]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1008c350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x58
push eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
xor esi, esi
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x266]
push eax
call fcn.10098090
add esp, 0x18
lea edx, [ebp - 0x54]
mov ecx, 0x10199010
call fcn.1008dfa0
test eax, eax
jne 0x1008c3d4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10199028]
movq xmm0, qword [str.CLSID_]
push edi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x270]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push SysReAllocString
movq qword [ebp - 0x60], xmm0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008c4d7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xe
push 0x10199030
push 1
push eax
push eax
push dword [ebp - 0x270]
call edi
test eax, eax
jne 0x1008c4d7
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x26c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.InProcServer32
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008c4d7
push 0x104
lea eax, [ebp - 0x268]
push eax
push dword [0x101eb59c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x103
jb 0x1008c493
mov eax, 0x104
jmp 0x1008c494
inc eax
mov dword [ebp - 0x274], eax
add eax, eax
push eax
lea eax, [ebp - 0x268]
push eax
push 1
push 0
push 0
push dword [ebp - 0x26c]
call edi
test eax, eax
jne 0x1008c4d7
push 0x14
push 0x1019d8e4
push 1
push eax
push str.ThreadingModel
push dword [ebp - 0x26c]
call edi
mov ecx, 1
test eax, eax
cmove esi, ecx
mov eax, dword [ebp - 0x26c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1008c4f4
push eax
call edi
mov dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x1008c501
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1008dd40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10173dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push esi
mov eax, dword [0x101bd92c]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
test dword [ecx + 0x30], 0x40000000
je 0x1008ddbd
push 0x11c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.10098090
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 0xa
jae 0x1008ddbd
mov al, 1
jmp 0x1008de6b
call fcn.100066b0
cmp dword [eax + 0x158], 8
lea edx, [eax + 0x144]
jb 0x1008ddd3
mov edx, dword [edx]
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
cmp word [edx], ax
jne 0x1008ddf3
xor ecx, ecx
jmp 0x1008de0f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x1008de00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008de00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.100048b0
mov dword [esp + 0x158], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, eax
call fcn.1000f1c0
test eax, eax
je 0x1008de54
push 0xc
push 0x101923f8
push dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
call fcn.10009c10
test eax, eax
je 0x1008de54
mov bl, 1
jmp 0x1008de56
xor bl, bl
cmp dword [esp + 0x20], 8
jb 0x1008de69
push dword [esp + 0xc]
call fcn.10091747
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.1009174c
mov esp, ebp
pop ebp
ret

Function at 0x1008ebe0
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
mov esi, ecx
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
jae 0x1008ecbb
test esi, esi
jne 0x1008ec94
mov esi, dword [0x101ed758]
test esi, esi
jne 0x1008ec62
push 0x128
call fcn.10092352
add esp, 4
test eax, eax
je 0x1008ec5a
mov ecx, eax
call fcn.10084880
mov esi, eax
jmp 0x1008ec5c
xor esi, esi
mov dword [0x101ed758], esi
push 2
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008ecbb
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret
push dword [0x101e88d4]
push 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0x10084600
push 0x1f4
push 0xa
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x101e88d4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1009174c
mov esp, ebp
pop ebp
ret
Function at 0x1008ecd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173ecb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101bd92c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x38]
test ecx, ecx
jne 0x1008ed68
mov esi, dword [0x101ed758]
test esi, esi
jne 0x1008ed2f
push 0x128
call fcn.10092352
add esp, 4
test eax, eax
je 0x1008ed27
mov ecx, eax
call fcn.10084880
mov esi, eax
jmp 0x1008ed29
xor esi, esi
mov dword [0x101ed758], esi
push 2
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008edf6
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x24]
test eax, eax
js 0x1008ed01
push 0x14
call fcn.10092352
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1008edc7
mov ecx, dword [ebx + 0x38]
mov esi, dword [ebp - 0x10]
mov dword [edi], vtable.CBaseEditSession.0
mov dword [edi + 0xc], 1
mov dword [edi + 4], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [edi + 8], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov dword [edi], vtable.CMiniStatusWndEditSession.0
mov dword [edi + 0x10], esi
jmp 0x1008edc9
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1008eded
mov eax, dword [ebx + 0x38]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 2
push edi
push dword [ebx + 0x2c]
push eax
call dword [ecx + 0xc]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ad66a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1009d96a
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100ad6a2
xor eax, eax
jmp 0x100ad6ce
cmp esi, dword [ebp - 4]
je 0x100ad6cb
cmp dword [ebp + 0xc], 0
je 0x100ad6cb
push dword [edi + 0x9c]
call fcn.100ad278
push dword [edi + 0x9c]
mov esi, eax
call fcn.10099de1
pop ecx
pop ecx
cmp esi, eax
je 0x100ad69e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret