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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 9], 1
lea edx, [ebp - 4]
push edx
call fcn.100bc6e0
or eax, 0x20019
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd256
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100bd29d
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd27f
mov byte [ebp - 9], 0
jmp 0x100bd291
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jne 0x100bd291
mov byte [ebp - 9], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100bd2a1
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x100bd2ab
jmp 0x100bd2b5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x100bd2c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.100bc510
push eax
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100bc630
add esp, 0x24
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100bd331
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100bd32f
mov byte [ebp - 0xd], 0
jmp 0x100bd335
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100bdff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018cd10
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2d], 0
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.100be150
add esp, 0x10
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x14], 0x10
jb 0x100be06a
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
mov dword [ebp - 0x15c], eax
jmp 0x100be076
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x15c], ecx
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.1014e930
add esp, 8
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
movsx ecx, byte [ebp - 0x13c]
test ecx, ecx
je 0x100be128
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
je 0x100be128
push 0
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100be11b
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x144]
mov dword [ecx], edx
xor eax, eax
cmp eax, dword [ebp - 0x144]
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100bfca0
Capabilities:
Clear file content
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ef10
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2d], 0
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.100be150
add esp, 0x10
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x158]
cmp dword [ecx + 0x14], 0x10
jb 0x100bfd1a
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov dword [ebp - 0x184], eax
jmp 0x100bfd26
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x184]
push edx
lea eax, [ebp - 0x13c]
push eax
call fcn.1014e930
add esp, 8
mov dword [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10042350
mov dword [ebp - 4], 0xffffffff
movsx ecx, byte [ebp - 0x13c]
test ecx, ecx
je 0x100bfe6f
push 0
push 0x8000080
push 2
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
je 0x100bfe62
push 0
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100bfdbb
jmp 0x100bfdcc
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov byte [ebp - 0x2d], 1
cmp dword [ebp + 8], 1
je 0x100bfe62
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x154], edx
push pe_nt_image_headers32
lea ecx, [ebp - 0x154]
call fcn.10069850
movzx eax, al
imul eax, eax, 5
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add eax, 3
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x150]
imul ecx, ecx, 0xbe
mov edx, dword [ebp - 0x148]
sub edx, ecx
mov dword [ebp - 0x148], edx
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100c2540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x101a0fc1]
mov byte [ebp - 0x110], al
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.1014e270
add esp, 0xc
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.100c2460
add esp, 8
push 0x10010
lea eax, [ebp - 0x110]
push eax
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x43
call fcn.1008ebf0
add esp, 0x28
push eax
push 0
call fcn.1008d300
add esp, 4
push eax
push 0x101a3c20
call fcn.1013b0e0
add esp, 0x14
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0xfffffffe
je 0x100c25f6
call fcn.100c87e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret

Function at 0x100c2610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f688
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x101a0fc1]
mov byte [ebp - 0x17c], al
push 0x103
push 0
lea ecx, [ebp - 0x17b]
push ecx
call fcn.1014e270
add esp, 0xc
push 0
lea edx, [ebp - 0x17c]
push edx
call fcn.100c2460
add esp, 8
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.100e1250
mov dword [ebp - 4], 0
push 0x10010
lea ecx, [ebp - 0x17c]
push ecx
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
push 0x101e57b0
lea edx, [ebp - 0x74]
push edx
push 0
call fcn.1008ebf0
add esp, 0x28
push eax
push 0
call fcn.1008d300
add esp, 4
push eax
push 0x101a3c34
call fcn.1013b0e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10063f10
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0xfffffffe
je 0x100c2704
call fcn.100c87e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100e1170
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100df580
add esp, 0xc
pop ebp
ret

Function at 0x100e2060
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 5
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 2
mov dword [ebp - 0xb0], 0x9c
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x100e20a7
xor al, al
jmp 0x100e20f4
cmp dword [ebp - 0xa0], 2
je 0x100e20b4
xor al, al
jmp 0x100e20f4
cmp dword [ebp - 0xac], 5
jae 0x100e20c1
xor al, al
jmp 0x100e20f4
cmp dword [ebp - 0xac], 5
jbe 0x100e20ce
mov al, 1
jmp 0x100e20f4
cmp dword [ebp - 0xa8], 1
jae 0x100e20db
xor al, al
jmp 0x100e20f4
cmp dword [ebp - 0xa8], 1
jbe 0x100e20e8
mov al, 1
jmp 0x100e20f4
movzx ecx, word [ebp - 0x1c]
xor eax, eax
cmp ecx, 2
setge al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100e2850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191b06
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], 0
mov eax, dword [0x101e573c]
and eax, 1
jne 0x100e28db
mov ecx, dword [0x101e573c]
or ecx, 1
mov dword [0x101e573c], ecx
mov dword [ebp - 4], 1
push 0x101a4724
lea ecx, [ebp - 0x2c]
call fcn.10083da0
mov byte [ebp - 4], 2
push 1
push str.Kernel32.dll
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x101e5738
call fcn.100e48b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1003b690
mov byte [ebp - 4], 0
mov ecx, 0x101e5738
call fcn.100e4810
movzx eax, al
test eax, eax
je 0x100e295f
push 0
push 0x104
lea ecx, [ebp - 0xb8]
call fcn.100e5050
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0xb8]
call fcn.100e46e0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
lea ecx, [ebp - 0xb8]
call fcn.100e46e0
push eax
mov ecx, dword [ebp + 8]
call fcn.1009f160
mov ecx, dword [ebp - 0xbc]
or ecx, 1
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.100e4680
mov eax, dword [ebp + 8]
jmp 0x100e29ee
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.100e27b0
add esp, 4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x8c]
call fcn.1006ac00
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
call fcn.100e1650
mov ecx, dword [ebp - 0xbc]
or ecx, 1
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.10063f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.1003b690
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100e2ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191bc6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], 0
mov eax, dword [0x101e5744]
and eax, 1
jne 0x100e2b4b
mov ecx, dword [0x101e5744]
or ecx, 1
mov dword [0x101e5744], ecx
mov dword [ebp - 4], 1
push 0x101a4734
lea ecx, [ebp - 0x2c]
call fcn.10083da0
mov byte [ebp - 4], 2
push 1
push str.Kernel32.dll
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x101e5740
call fcn.100e48b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1003b690
mov byte [ebp - 4], 0
mov ecx, 0x101e5740
call fcn.100e4810
movzx eax, al
test eax, eax
je 0x100e2c06
mov ecx, dword [ebp + 0xc]
call fcn.100e1cd0
movzx ecx, al
test ecx, ecx
jne 0x100e2b82
mov ecx, dword [ebp + 0x10]
call fcn.100e1cd0
movzx edx, al
test edx, edx
je 0x100e2c06
push 0
push 0x104
lea ecx, [ebp - 0xb8]
call fcn.100e5050
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0xb8]
call fcn.100e46e0
push eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.100e19e0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100e19e0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea ecx, [ebp - 0xb8]
call fcn.100e46e0
push eax
mov ecx, dword [ebp + 8]
call fcn.1009f160
mov ecx, dword [ebp - 0xbc]
or ecx, 1
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.100e4680
mov eax, dword [ebp + 8]
jmp 0x100e2ca1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.100e2a10
add esp, 0x10
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x8c]
call fcn.1006ac00
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
call fcn.100e1650
mov ecx, dword [ebp - 0xbc]
or ecx, 1
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.10063f10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.1003b690
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100e2ea0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191c91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101d8724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.100e1870
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100e2f56
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.100e4540
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.100e45e0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100e1870
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0
lea ecx, [ebp - 0x20]
call fcn.100e45e0
push eax
mov ecx, dword [ebp + 8]
call fcn.10083da0
mov eax, dword [ebp - 0x28]
or eax, 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1005dd40
mov eax, dword [ebp + 8]
jmp 0x100e2f75
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100e84d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100e3370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191c91
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101d8724]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea ecx, [ebp - 0x20]
call fcn.100e4540
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x20]
call fcn.100e45e0
push eax
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
lea ecx, [ebp - 0x20]
call fcn.100e45e0
push eax
mov ecx, dword [ebp + 8]
call fcn.10083da0
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1005dd40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100e9340
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192681
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x101d6478], 0
jge 0x100e943a
push str.ARMTESTDAYS
lea ecx, [ebp - 0x8c]
call fcn.100e1250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.1003b630
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0xa8]
push eax
call fcn.100e2ea0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.1003b690
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.10063f10
lea ecx, [ebp - 0xa8]
push ecx
call fcn.100e9690
add esp, 4
mov dword [0x101d6478], eax
cmp dword [0x101d6478], 0
je 0x100e9415
push 0
push str.ARMTESTDAYS
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp dword [0x101d6478], 0
jge 0x100e9428
mov dword [0x101d6478], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1003b690
movzx edx, byte [ebp + 8]
push edx
call fcn.100e9310
add esp, 4
movzx eax, ax
add eax, dword [0x101d6478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret
Function at 0x100f2b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193578
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
movsx ecx, byte [eax + 2]
test ecx, ecx
jne 0x100f2b56
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x100f2b56
mov ecx, dword [ebp - 0x80]
call fcn.100f2a70
mov eax, dword [ebp - 0x80]
movzx ecx, byte [eax + 1]
test ecx, ecx
jne 0x100f2c26
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx]
test eax, eax
jne 0x100f2c26
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x20c], 0
je 0x100f2bc5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x20c]
push ecx
call fcn.100e31a0
add esp, 8
mov dword [ebp - 0x78], eax
push 0
mov edx, dword [ebp - 0x78]
push edx
push 0x186
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x20c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x20c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x100f2c26
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x100f2c26
mov edx, dword [ebp - 0x80]
add edx, 2
push edx
lea ecx, [ebp - 0x74]
call fcn.100e1250
mov dword [ebp - 4], 0
push 0x10001
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100e2f90
add esp, 0x10
xor ecx, ecx
cmp eax, 2
sete cl
mov byte [ebp - 0x79], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.10063f10
movzx edx, byte [ebp - 0x79]
test edx, edx
je 0x100f2c26
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100f31b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 1], 0
cmp dword [0x101e6028], 0
jne 0x100f3289
push str.u3dapi10.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100f3289
push str.dapiCreateSession
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6028], eax
push str.dapiDestroySession
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e602c], eax
push str.dapiRegisterCallback
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6030], eax
push str.dapiQueryDeviceCapability
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6034], eax
push str.dapiQueryDeviceInformation
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6038], eax
push str.dapiWriteBinaryCookie
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e603c], eax
push str.dapiReadBinaryCookie
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6040], eax
push str.dapiDeleteCookie
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101e6044], eax
cmp dword [0x101e6028], 0
je 0x100f3307
cmp dword [0x101d65b4], 0xffffffff
jne 0x100f3303
push 0x101d65b4
call dword [0x101e6028]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100f3301
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100f3320
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [0x101d65b4]
push ecx
call dword [0x101e6030]
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100f32fc
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov byte [ebp - 1], 1
mov byte [0x101d65c0], 1
jmp 0x100f3301
call fcn.100f3180
jmp 0x100f3307
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret