joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417d83
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4231dc]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x417db4
xor eax, eax
jmp 0x417f3d
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x425dc0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x417df0
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00419a75
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x417ecb
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x417f09
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x417e54
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x417e45
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x417e25
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x417e94
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x417e9d
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x417e16
jmp 0x417e9f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x417f38
cmp dword [ebp - 0x6c], edi
je 0x417f09
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x417efe
call fcn.00414126
mov dword [eax], 9
call fcn.0041412f
mov dword [eax], esi
jmp 0x417f33
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x417ef3
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x417e9f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x417e9f
push dword [ebp - 0x6c]
call fcn.00414138
pop ecx
jmp 0x417f33
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x417f21
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x417f21
xor eax, eax
jmp 0x417f3b
call fcn.00414126
mov dword [eax], 0x1c
call fcn.0041412f
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x417f3b
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00411920
add ebp, 0x3a0
leave
ret
Function at 0x4187bd
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00411a60
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x418858
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x424510]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x418858
cmp eax, 1
je 0x418879
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x418858
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x418825
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x418854
xor eax, eax
inc eax
jmp 0x418898
cmp edi, eax
jae 0x41885c
xor eax, eax
jmp 0x418898
cmp eax, esi
jae 0x418863
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x424510]
jmp 0x41887c
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a5a28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4a5a37
pop dword [ebp - 0x18]
mov eax, 0x35b64bf8
add eax, 0xca940e3f
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x550b6
push 0
mov eax, 0x141a3e9f
sub eax, 0x13da2d4f
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x54689971
add ecx, 0xab97a3dd
xor edx, edx
add edx, eax
mov esi, 0x78a48d5c
sub esi, 0x7851775c
add esi, dword [ebp - 0x18]
mov ebx, 0xfa4ef3b6
sub ebx, 0x20a37ef2
sub dword [ebp - 4], 0x4d2c276c
mov edi, dword [esi]
add dword [ebp - 0x10], esi
xor edi, ebx
sub dword [ebp - 4], 0xf6e5897e
mov dword [edx], edi
mov dword [ebp - 0x10], 0xebb2d07d
add edx, 0x319742f2
sub edx, 0x319742ee
add esi, 4
loop 0x4a5a98
add eax, 0xe80b
mov ebx, eax
add eax, 0x6fa4ecaf
add eax, 0x905b1356
mov ecx, 0x3a285c70
add ecx, 0xc617a390
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10015970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
jl 0x10015b43
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 0xffffffff
jge 0x100159e5
mov edi, dword [esi + 0x18c]
test edi, edi
je 0x10015b43
cmp byte [edi + 0xc], 0
jne 0x100159d5
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x100159d5
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x17c]
movzx ecx, ax
test eax, eax
jne 0x10015a68
mov edi, dword [esi + 0x18c]
test edi, edi
je 0x10015a44
cmp byte [edi + 0xc], al
jne 0x10015a3a
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10015a3a
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
mov dword [esi + 0x188], 0xff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x188]
movsx ecx, cx
add eax, ecx
mov dword [esi + 0x188], eax
cmp eax, 0xfe
jle 0x10015af7
mov edi, dword [esi + 0x18c]
mov dword [esi + 0x188], 0xff
test edi, edi
je 0x10015add
cmp byte [edi + 0xc], 0
jne 0x10015ad3
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10015ad3
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18c], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
call sym.ExuiKrnln_X32.dll_ControlUpdateCache
cmp dword [esi + 0x18c], 0
jne 0x10015b43
movsx eax, word [esi + 0x17e]
mov ecx, 0x21
push 0
push 0
push 0
push esi
test eax, eax
push fcn.10015970
cmove eax, ecx
push eax
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x18c], eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x10036cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
jl 0x10036e7e
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 0xffffffff
jne 0x10036d25
mov edi, dword [esi + 0x194]
test edi, edi
je 0x10036e7e
cmp byte [edi + 0xc], 0
jne 0x10036d15
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036d15
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x184]
movzx ecx, ax
test eax, eax
jne 0x10036da8
mov edi, dword [esi + 0x194]
test edi, edi
je 0x10036d84
cmp byte [edi + 0xc], al
jne 0x10036d7a
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036d7a
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
mov dword [esi + 0x190], 0xff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
mov eax, dword [esi + 0x190]
movsx ecx, cx
add eax, ecx
mov dword [esi + 0x190], eax
cmp eax, 0xfe
jle 0x10036e37
mov edi, dword [esi + 0x194]
mov dword [esi + 0x190], 0xff
test edi, edi
je 0x10036e1d
cmp byte [edi + 0xc], 0
jne 0x10036e13
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10036e13
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x194], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp dword [esi + 0x194], 0
jne 0x10036e7e
movsx eax, word [esi + 0x186]
mov ecx, 0x21
push 0
push 0
push 0
push esi
test eax, eax
push fcn.10036cb0
cmove eax, ecx
push eax
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x194], eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x1003c790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
setne dl
push esi
mov eax, dword [ebx + 8]
mov byte [eax + 0x204], dl
mov esi, dword [ebx + 8]
test esi, esi
je 0x1003c8e8
cmp byte [esi + 0x204], 0
je 0x1003c892
cmp dword [0x1016b39c], esi
jne 0x1003c892
mov byte [esi + 0x224], 1
push edi
mov edi, dword [ebx + 8]
cmp dword [edi + 0x220], 0
jne 0x1003c886
push 0x2c
mov dword [ebp + 8], 0x100440e0
call fcn.10120a24
push 0x2c
mov esi, eax
push 0
push esi
call fcn.10122780
mov eax, 0x100440e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003c81c
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov dword [esi], eax
mov edi, dword [edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0x1f4
push 0x1f4
push esi
push 0x100f9cf0
mov dword [esi + 0x1c], edi
lea edi, [esi + 4]
push 0
push edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0x1f4
mov dword [esi + 0x24], 0x1f4
mov dword [esi + 0x18], eax
mov word [esi + 0xd], 0
mov dword [esi + 0x10], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
jne 0x1003c86b
mov dword [edi], eax
cmp dword [edi], 0
jne 0x1003c87d
push 0x2c
push esi
call fcn.10120a54
add esp, 8
xor esi, esi
mov eax, dword [ebx + 8]
mov dword [eax + 0x220], esi
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x220]
test esi, esi
je 0x1003c8e8
cmp byte [esi + 0xc], 0
jne 0x1003c8db
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x1003c8db
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 8]
mov dword [eax + 0x220], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x100594c0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov dword [0x1016b3d0], 0
mov dword [0x1016b498], 0
mov dword [0x1016b640], 0
mov dword [0x1016b504], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x18
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1005967a
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, 0x50
jl 0x10059679
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10059679
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10059679
movaps xmm0, xmmword [0x101549b0]
lea eax, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
mov edx, ebx
mov word [ebp - 8], 0x3e73
movaps xmm0, xmmword [0x101548b0]
movups xmmword [ebp - 0x48], xmm0
push ecx
movaps xmm0, xmmword [0x101549c0]
mov ecx, esi
movups xmmword [ebp - 0x38], xmm0
push eax
movaps xmm0, xmmword [0x101548e0]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x101549a0]
movups xmmword [ebp - 0x18], xmm0
call fcn.10059450
add esp, 8
test eax, eax
je 0x100595b7
mov dword [0x1016b3d0], 1
mov dword [0x1016b498], 1
movaps xmm0, xmmword [0x10154990]
lea eax, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
mov edx, ebx
mov word [ebp - 8], 0x3e73
movaps xmm0, xmmword [0x101548b0]
movups xmmword [ebp - 0x48], xmm0
push ecx
movaps xmm0, xmmword [0x101549c0]
mov ecx, esi
movups xmmword [ebp - 0x38], xmm0
push eax
movaps xmm0, xmmword [0x101548e0]
movups xmmword [ebp - 0x28], xmm0
movaps xmm0, xmmword [0x10154980]
movups xmmword [ebp - 0x18], xmm0
call fcn.10059450
add esp, 8
test eax, eax
je 0x1005961f
mov dword [0x1016b640], 1
mov dword [0x1016b504], 1
jmp 0x10059628
cmp dword [0x1016b504], 0
je 0x10059672
push pe_nt_image_headers32
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.10122780
add esp, 0xc
mov dword [ebp - 0x16c], 0x114
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x168], 6
jae 0x10059672
mov dword [0x1016b640], 0
mov dword [0x1016b504], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10120a11
mov esp, ebp
pop ebp
ret
Function at 0x10062790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
setne dl
push esi
mov eax, dword [ebx + 8]
mov byte [eax + 0x1f0], dl
mov esi, dword [ebx + 8]
test esi, esi
je 0x100628e8
cmp byte [esi + 0x1f0], 0
je 0x10062892
cmp dword [0x1016b39c], esi
jne 0x10062892
mov byte [esi + 0x1c8], 1
push edi
mov edi, dword [ebx + 8]
cmp dword [edi + 0x1c4], 0
jne 0x10062886
push 0x2c
mov dword [ebp + 8], 0x100687c0
call fcn.10120a24
push 0x2c
mov esi, eax
push 0
push esi
call fcn.10122780
mov eax, 0x100687c0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1006281c
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 8]
mov dword [esi], eax
mov edi, dword [edi + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0x1f4
push 0x1f4
push esi
push 0x100f9cf0
mov dword [esi + 0x1c], edi
lea edi, [esi + 4]
push 0
push edi
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0x1f4
mov dword [esi + 0x24], 0x1f4
mov dword [esi + 0x18], eax
mov word [esi + 0xd], 0
mov dword [esi + 0x10], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
test eax, eax
jne 0x1006286b
mov dword [edi], eax
cmp dword [edi], 0
jne 0x1006287d
push 0x2c
push esi
call fcn.10120a54
add esp, 8
xor esi, esi
mov eax, dword [ebx + 8]
mov dword [eax + 0x1c4], esi
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
mov esi, dword [esi + 0x1c4]
test esi, esi
je 0x100628e8
cmp byte [esi + 0xc], 0
jne 0x100628db
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x100628db
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100f9c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 8]
mov dword [eax + 0x1c4], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x100815d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x16c], 0
jle 0x100817a8
xor ecx, ecx
call fcn.1010dba0
mov eax, dword [0x1016bec0]
test eax, eax
je case.default.0x100816f5
call eax
mov dword [esi + 0x170], eax
test eax, eax
je case.default.0x100816f5
push esi
push str.ControlExHandle
push eax
call dword [0x1016bf20]
add esp, 0xc
lea eax, [esp + 8]
push 0x208
push 0
push eax
call fcn.10122780
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 8]
push eax
push dword [esi + 0x170]
call dword [0x1016c0d8]
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x170]
call dword [0x1016c06c]
push dword [esi + 0x28]
push dword [esi + 0x170]
call dword [0x1016c014]
push esi
push 0x10080f00
push dword [esi + 0x170]
call dword [0x1016c0d4]
add esp, 0x24
push 4
push esi
push 0x10080f50
push str.ExuiExtendControlEvent
call dword [0x1016befc]
push 4
push esi
push 0x10081270
push str.ExuiExtendControlCmd
call dword [0x1016befc]
add esp, 0x20
xor edi, edi
push 1
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
test eax, eax
je 0x100816e5
push 1
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
lea edi, [eax + 8]
mov eax, dword [esi + 0x16c]
dec eax
cmp eax, 3
ja case.default.0x100816f5
jmp dword [eax*4 + 0x100817e8]
push edi
push dword [esi + 0x170]
call dword [0x1016c090]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x170]
call dword [0x1016c070]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x170]
call dword [0x1016bebc]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret
push 3
push dword [esi + 0x168]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
mov ecx, eax
call fcn.100ee260
push eax
mov ecx, edi
call fcn.100ee3c0
push eax
push dword [esi + 0x170]
call dword [0x1016c09c]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x170]
test eax, eax
je case.default.0x100816f5
push 0
push eax
call dword [0x1016c014]
push dword [esi + 0x170]
call dword [0x1016c060]
mov dword [esi + 0x170], 0
add esp, 0xc
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret
Function at 0x10085e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, edx
test ecx, ecx
je 0x10085e63
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10085e63
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10085e70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], esi
test esi, esi
je 0x10085ef2
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, ebx
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10085e90
push edi
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10085ea1
mov ecx, ebx
mov esi, edx
mov edx, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [edx - 2]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x10085ec4
mov ecx, dword [str..Font]
mov dword [eax], ecx
mov ecx, dword [0x1014cc4c]
mov dword [eax + 4], ecx
mov ecx, dword [0x1014cc50]
pop esi
mov dword [eax + 8], ecx
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100861e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x1008621f
cmp dword [eax + 4], 3
jle 0x1008621f
add eax, 8
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10120a11
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x100862d4
cmp dword [esi + 4], 0
jle 0x100862d4
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [esi + 4]
lea eax, [ebp - 0x414]
push ecx
push eax
lea ecx, [esi + 8]
call fcn.100abaa0
lea edx, [ebp - 0x414]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10086260
push edi
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10086280
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
pop edi
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100862a4
mov eax, dword [str..Font]
mov dword [ecx], eax
mov eax, dword [0x1014cc4c]
mov dword [ecx + 4], eax
mov eax, dword [0x1014cc50]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10120a11
mov esp, ebp
pop ebp
ret 8