joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008e230
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 + 0x18c], 0
jle 0x1008e408
xor ecx, ecx
call fcn.1012bbe0
mov eax, dword [0x1018b1e0]
test eax, eax
je case.default.0x1008e355
call eax
mov dword [esi + 0x190], eax
test eax, eax
je case.default.0x1008e355
push esi
push str.ControlExHandle
push eax
call dword [0x1018b364]
add esp, 0xc
lea eax, [esp + 8]
push 0x208
push 0
push eax
call fcn.10140d50
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 + 0x190]
call dword [0x1018b8c4]
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x190]
call dword [0x1018b778]
push dword [esi + 0x28]
push dword [esi + 0x190]
call dword [0x1018b69c]
push esi
push 0x1008db60
push dword [esi + 0x190]
call dword [0x1018b8c0]
add esp, 0x24
push 4
push esi
push 0x1008dbb0
push str.ExuiExtendControlEvent
call dword [0x1018b288]
push 4
push esi
push 0x1008ded0
push str.ExuiExtendControlCmd
call dword [0x1018b288]
add esp, 0x20
xor edi, edi
push 1
push dword [esi + 0x188]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
test eax, eax
je 0x1008e345
push 1
push dword [esi + 0x188]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
lea edi, [eax + 8]
mov eax, dword [esi + 0x18c]
dec eax
cmp eax, 3
ja case.default.0x1008e355
jmp dword [eax*4 + 0x1008e448]
push edi
push dword [esi + 0x190]
call dword [0x1018b7e4]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x190]
call dword [0x1018b788]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0x190]
call dword [0x1018b1d8]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret
push 3
push dword [esi + 0x188]
call sym.ExuiKrnln_X32.dll_GetMemberText_StructEx
mov ecx, eax
call fcn.10104680
push eax
mov ecx, edi
call fcn.10104710
push eax
push dword [esi + 0x190]
call dword [0x1018b80c]
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x190]
test eax, eax
je case.default.0x1008e355
push 0
push eax
call dword [0x1018b69c]
push dword [esi + 0x190]
call dword [0x1018b760]
mov dword [esi + 0x190], 0
add esp, 0xc
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret
Function at 0x10092a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, edx
test ecx, ecx
je 0x10092ad3
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 0x10092ad3
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 0x10092ae0
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 0x10092b62
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 0x10092b00
push edi
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10092b11
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 0x10092b34
mov ecx, dword [str..Font]
mov dword [eax], ecx
mov ecx, dword [0x1016c39c]
mov dword [eax + 4], ecx
mov ecx, dword [0x1016c3a0]
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 0x1009be90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, edx
cmp edi, 0xffffffff
jle 0x1009bf8d
mov eax, dword [esi + 0x1b4]
test al, 2
je 0x1009bf8d
test al, 4
je 0x1009bef6
push 0x11
call ecx
bt ax, 0xf
jae 0x1009beea
mov eax, dword [esi + 0x128]
mov edx, edi
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x1c], 0
sete al
mov byte [ecx + 0x1c], al
mov ecx, esi
call fcn.100966f0
jmp 0x1009bf87
mov eax, dword [esi + 0x1b4]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 8
je 0x1009bf54
push 0x10
call ecx
bt ax, 0xf
jae 0x1009bf54
xor ecx, ecx
cmp dword [esi + 0x12c], ecx
jle 0x1009bf26
nop
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x1c], 0
cmp ecx, dword [esi + 0x12c]
jl 0x1009bf10
mov edx, dword [esi + 0x1e8]
cmp edi, edx
jge 0x1009bf34
mov ecx, edi
jmp 0x1009bf40
mov ecx, edx
mov edx, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x1c], 1
cmp ecx, edx
jle 0x1009bf40
jmp 0x1009bf87
xor ecx, ecx
mov dword [esi + 0x1e8], edi
cmp dword [esi + 0x12c], ecx
jle 0x1009bf7a
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x1c], 0
cmp ecx, dword [esi + 0x12c]
jl 0x1009bf64
mov eax, dword [esi + 0x128]
mov eax, dword [eax + edi*4]
mov byte [eax + 0x1c], 1
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [esi + 0x1b4]
test al, 0x10
je 0x1009c068
test al, 4
je 0x1009bfaf
push 0x11
call ecx
bt ax, 0xf
mov eax, 2
jb 0x1009bfb4
mov eax, 1
mov dword [esi + 0x1d4], eax
push dword [esi + 0x28]
mov dword [0x1018a57c], esi
call dword [sym.imp.USER32.dll_SetCapture]
test byte [esi + 0x1a8], 1
mov ecx, dword [esi + 0x200]
mov eax, dword [esi + 0x1c0]
je 0x1009bff3
mov eax, dword [eax + 4]
sub eax, dword [ecx]
add ebx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1d8], ebx
sub eax, dword [ecx + 4]
jmp 0x1009c004
sub ebx, dword [ecx]
mov dword [esi + 0x1d8], ebx
mov eax, dword [eax + 4]
sub eax, dword [ecx + 4]
add eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov dword [esi + 0x1dc], eax
push 0
push esi
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], eax
mov dword [esi + 0x1cc], 0xffffffff
mov dword [esi + 0x1d0], 0xffffffff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x1009c068
cmp dword [esi + 0xe4], 0
jle 0x1009c054
inc dword [esi + 0xe0]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100af100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1017056c
push ecx
movss dword [ebp - 4], xmm2
call fcn.1014d4e2
mov esi, eax
add esp, 8
test esi, esi
je 0x100af1af
push 2
push 0
push esi
call fcn.1014d8b4
add esp, 0xc
push esi
call fcn.1014d416
add esp, 4
mov ebx, eax
push 0
push 0
push esi
call fcn.1014d8b4
add esp, 0xc
lea ecx, [ebx + 1]
push ecx
call fcn.1014eff3
mov edi, eax
add esp, 4
test edi, edi
je 0x100af199
push esi
push ebx
push 1
push edi
call fcn.1014ef43
add esp, 0x10
cmp eax, ebx
jne 0x100af199
push esi
mov byte [ebx + edi], 0
call fcn.1014d56f
movss xmm2, dword [ebp - 4]
add esp, 4
mov ecx, edi
call fcn.100aedf0
push edi
mov esi, eax
call fcn.1014ed72
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.1014d56f
add esp, 4
test edi, edi
je 0x100af1af
push edi
call fcn.1014ed72
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c1fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, edx
mov dword [ebp - 4], edi
cmp ebx, 0xffffffff
jle 0x100c2105
mov eax, dword [esi + 0x1a0]
test al, 2
je 0x100c2105
test al, 4
je 0x100c204a
push 0x11
call ecx
bt ax, 0xf
jae 0x100c203e
mov eax, dword [esi + 0x128]
mov edx, ebx
mov ecx, dword [eax + ebx*4]
cmp byte [ecx + 0x20], 0
sete al
mov byte [ecx + 0x20], al
mov ecx, esi
call fcn.100be8b0
jmp 0x100c20ff
mov eax, dword [esi + 0x1a0]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 8
je 0x100c20b5
push 0x10
call ecx
bt ax, 0xf
jae 0x100c20b5
mov edi, dword [esi + 0x12c]
xor edx, edx
test edi, edi
jle 0x100c208f
xor ecx, ecx
mov eax, edi
test edi, edi
jle 0x100c2088
nop dword [eax]
mov eax, dword [esi + 0x128]
inc ecx
mov eax, dword [eax + edx*4]
mov byte [eax + 0x20], 0
mov eax, dword [esi + 0x12c]
cmp ecx, eax
jl 0x100c2070
inc edx
mov edi, eax
cmp edx, eax
jl 0x100c2065
mov edx, dword [esi + 0x1d8]
cmp ebx, edx
jge 0x100c209d
mov ecx, ebx
jmp 0x100c20a1
mov ecx, edx
mov edx, ebx
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ecx*4]
inc ecx
mov byte [eax + 0x20], 1
cmp ecx, edx
jle 0x100c20a1
jmp 0x100c20fc
mov edi, dword [esi + 0x12c]
xor edx, edx
mov dword [esi + 0x1d8], ebx
test edi, edi
jle 0x100c20ef
xor ecx, ecx
mov eax, edi
test edi, edi
jle 0x100c20e8
nop
mov eax, dword [esi + 0x128]
inc ecx
mov eax, dword [eax + edx*4]
mov byte [eax + 0x20], 0
mov eax, dword [esi + 0x12c]
cmp ecx, eax
jl 0x100c20d0
inc edx
mov edi, eax
cmp edx, eax
jl 0x100c20c7
mov eax, dword [esi + 0x128]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x20], 1
mov edi, dword [ebp - 4]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [esi + 0x1a0]
test al, 0x10
je 0x100c21c6
test al, 4
je 0x100c2127
push 0x11
call ecx
bt ax, 0xf
mov eax, 2
jb 0x100c212c
mov eax, 1
mov dword [esi + 0x1c4], eax
push dword [esi + 0x28]
mov dword [0x1018a57c], esi
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esi + 0x1e8]
mov eax, dword [esi + 0x1b0]
push 0xffffffffffffffff
push 0xffffffffffffffff
sub edi, dword [edx]
mov dword [esi + 0x1c8], edi
mov ecx, dword [eax + 4]
sub ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
push 0
add eax, ecx
mov dword [esi + 0x1d0], edi
push 0
push esi
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1bc], 0xffffffff
mov dword [esi + 0x1c0], 0xffffffff
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x100c21c6
cmp dword [esi + 0xe4], 0
jle 0x100c21b2
inc dword [esi + 0xe0]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c2c30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
jne 0x100c2c4f
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push edx
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
mov edx, ecx
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x68], 0x67452301
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
call fcn.100c2210
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.100c22d0
xorps xmm0, xmm0
xor esi, esi
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push edi
call fcn.100c21d0
inc esi
add esp, 0xc
add edi, 4
cmp esi, 0x10
jl 0x100c2cb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1013eec4
mov esp, ebp
pop ebp
ret 8
Function at 0x100e8bf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xd
push eax
mov eax, dword [ebp + 8]
push eax
push 0x3fa
mov dword [ebp - 4], 0
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret 4
Function at 0x10102d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10102de7
cmp byte [esi + 0x24], 0
jne 0x10102de7
cmp dword [esi + 4], esi
jne 0x10102de7
mov eax, dword [esi + 0x2c]
mov byte [esi + 0x24], 1
mov dword [esi + 4], 0
test eax, eax
je 0x10102d8b
mov byte [eax], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10102d9f
push eax
mov dword [esi + 0x28], 0
call sym.ExuiKrnln_X32.dll_DeleteTimerEx
push dword [esi + 0x14]
mov eax, dword [esi + 0x20]
push 0
push 0
push dword [esi + 0x18]
push 0xfffffffffffffffe
push esi
call eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10102dc8
push eax
call fcn.1013eed2
add esp, 4
mov dword [esi + 0x1c], 0
push 0
push 0
push esi
push 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4
Function at 0x10107330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jl 0x10107564
mov esi, dword [ebp + 0x1c]
cmp dword [esi + 0x2c], 1
jge 0x10107370
mov eax, dword [esi + 0x1d0]
test eax, eax
je 0x10107564
push eax
call sym.ExuiKrnln_X32.dll_DeleteTimerEx
mov dword [esi + 0x1d0], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x1c0]
movzx ecx, ax
test eax, eax
jne 0x1010744e
mov edi, dword [esi + 0x1d0]
test edi, edi
je 0x101073f9
cmp byte [edi + 0x10], al
jne 0x101073ef
cmp dword [edi + 4], edi
jne 0x101073ef
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], eax
mov dword [edi + 8], eax
test ebx, ebx
je 0x101073c3
push 0xea60
push 0xea60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call eax
push 0
push 0
push edi
push 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d0], 0
mov dword [esi + 0x1cc], 0xff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x10107564
cmp dword [esi + 0xe4], 0
jle 0x10107432
inc dword [esi + 0xe0]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x1cc]
movsx ecx, cx
add eax, ecx
mov dword [esi + 0x1cc], eax
cmp eax, 0xfe
jle 0x101074fb
mov edi, dword [esi + 0x1d0]
mov dword [esi + 0x1cc], 0xff
test edi, edi
je 0x10107403
cmp byte [edi + 0x10], 0
jne 0x101074ec
cmp dword [edi + 4], edi
jne 0x101074ec
mov ebx, dword [edi + 8]
mov byte [edi + 0x10], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x101074c0
push 0xea60
push 0xea60
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call eax
push 0
push 0
push edi
push 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d0], 0
jmp 0x10107403
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
cmp dword [esi + 0x2c], 1
jl 0x10107534
cmp dword [esi + 0xe4], 0
jle 0x10107520
inc dword [esi + 0xe0]
jmp 0x10107534
or dword [esi + 0xd0], 1
push 1
push 0x1018a5b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [esi + 0x1d0], 0
jne 0x10107564
movsx eax, word [esi + 0x1c2]
mov ecx, 0x21
push 0
push 0
test eax, eax
push esi
cmove eax, ecx
push fcn.10107330
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [esi + 0x1d0], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x101137e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1011385f
cmp byte [esi + 0x10], 0
jne 0x1011385f
cmp dword [esi + 4], esi
jne 0x1011385f
push edi
mov edi, dword [esi + 8]
mov byte [esi + 0x10], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x1011382e
push 0xea60
push 0xea60
push edi
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call eax
push 0
push 0
push esi
push 0x101075e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4
Function at 0x1012bad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp word [0x1018bb90], 0
push esi
push edi
mov esi, ecx
jne 0x1012bbb9
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, str.C:ExuiKrnln_win32.ini
push ebx
push 0
push 0
push 3
push 0
push 1
test esi, esi
mov eax, str.C:ExuiKrnln_win64.ini
push SysReAllocString
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1012bb3d
push 0
push 0
push 3
push 0
push 1
mov ecx, str.D:ExuiKrnln_win32.ini
test esi, esi
mov eax, str.D:ExuiKrnln_win64.ini
push SysReAllocString
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1012bbb8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push 0x104
push 0x1018bb90
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1012bbb1
mov eax, dword [ebp - 4]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x1012bbd0
xor ecx, ecx
mov word [eax + 0x1018bb90], cx
mov ecx, 0x1018bb90
call fcn.10104790
mov esi, eax
mov ecx, 0x82
mov edi, 0x1018bb90
mov eax, 0x206
rep movsd dword es:[edi], dword [esi]
cmp word [eax + 0x1018bb90], 0x5c
je 0x1012bbb1
cmp eax, 0x208
jae 0x1012bbd0
xor ecx, ecx
mov word [eax + 0x1018bb90], cx
sub eax, 2
jns 0x1012bb92
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, 0x82
mov esi, 0x1018bb90
mov edi, 0x1018bd98
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1013f040
int3
Function at 0x101339b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, 1
jge 0x101339ce
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
lea esi, [edi*2 + 4]
push esi
call fcn.1013ef15
push esi
push 0
push eax
mov dword [ebp + 8], eax
call fcn.10140d50
add esp, 0x10
lea ecx, [edi + 1]
push ecx
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 2]
cmp edi, 3
jge 0x10133a1a
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [edi + 8]
push eax
call fcn.1013ef15
mov esi, eax
push edi
push ebx
lea eax, [esi + 8]
push eax
call fcn.101421e0
add esp, 0x10
mov dword [esi + 4], edi
mov dword [esi], 0xffffffff
push esi
sub esp, 8
call fcn.101037f0
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10137790
Capabilities:
Get graphical window text

Disassembly:
cmp edx, 0x40
jg 0x1013789e
je 0x1013787d
dec edx
cmp edx, 0x1f
ja case.0x101377b0.3
movzx eax, byte [edx + 0x10137980]
jmp dword [eax*4 + 0x10137964]
cmp dword [ecx + 0x6c], 0xf
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xf
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x11
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x11
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x13
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x13
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x12
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x12
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x10
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x10
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x14
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x14
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x15
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x15
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x400
jg 0x10137917
je 0x101378fa
cmp edx, 0x80
je 0x101378dd
cmp edx, 0x200
jne case.0x101377b0.3
cmp dword [ecx + 0x6c], 0xd
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x16
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x16
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x800
je 0x10137944
cmp edx, 0x1000
jne case.0x101377b0.3
cmp dword [ecx + 0x6c], 6
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 6
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 3
je case.0x101377b0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 3
call dword [sym.imp.USER32.dll_SendMessageW]
ret