joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f16e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x214]
xor esi, esi
push eax
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [ebp - 0x20c]
push eax
xor eax, eax
cmp dword [ebp - 0x214], esi
push esi
setne al
push esi
lea eax, [eax*4 + 0x25]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
mov dword [ebp - 0x210], eax
jl 0x100f218
push esi
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0100f11e
cmp eax, esi
mov dword [ebp - 0x210], eax
jl 0x100f218
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
cmp eax, esi
jne 0x100f218
mov dword [ebp - 0x210], 0x80004001
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010049e5
leave
ret 8
Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x8ccba1
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x8cc92e
push ecx
mov eax, dword [esp]
add esp, 4
call fcn.008ccbd3
sub ecx, 0xd13149dd
xor dword [edi], esi
inc ecx
sub eax, eax
inc edi
add ecx, eax
mov ecx, eax
sub eax, ecx
cmp edi, ebx
jne fcn.008ccba1
sub eax, 1
ret
Function at 0x1000d607
Capabilities:
Delete file
Get file size

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x104], 0
je 0x1000d61a
xor eax, eax
jmp 0x1000d6a7
push ebx
push esi
mov ebx, 0x104
xor esi, esi
push ebx
push esi
push edi
call fcn.1006fd90
add esp, 0xc
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1000d646
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x1000d64a
xor eax, eax
jmp 0x1000d6a5
push str.log_
push ebx
push edi
call fcn.1007b1c3
push str.LogDTUninst.log
push ebx
push edi
call fcn.1007b1c3
add esp, 0x18
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000d6a3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x100000
jbe 0x1000d6a3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
pop esi
pop ebx
pop edi
ret 8
Function at 0x1000f1a6
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100c2070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
or esi, 0xffffffff
push ebx
push ebx
push 3
push ebx
push 1
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x1000f205
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push 0x2d1080
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push edi
cmovne esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret

Function at 0x10010963
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x100c2070]
xor eax, esp
mov dword [esp + 0x298], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
xor ebx, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push eax
call esi
cmp eax, 0x6f
jne 0x10010a13
push dword [esp + 0x10]
call fcn.1006cf9e
mov edi, eax
pop ecx
test edi, edi
je 0x10010a06
lea eax, [esp + 0x10]
push eax
push edi
call esi
test eax, eax
jne 0x10010a06
mov esi, edi
mov eax, dword [esi + 0x190]
cmp eax, 0x400
jae 0x100109f5
test eax, eax
jne 0x100109db
mov esi, dword [esi]
test esi, esi
jne 0x100109c2
jmp 0x100109f5
push eax
lea eax, [esi + 0x194]
push eax
push dword [esp + 0x1c]
call fcn.1006ea30
mov ebx, dword [esi + 0x190]
add esp, 0xc
push 0x288
push edi
call fcn.1006cf90
pop ecx
pop ecx
mov eax, ebx
jmp 0x10010a15
push 0x288
push edi
call fcn.1006cf90
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret 8
Function at 0x10010a2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x100c2070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x400
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x620]
push 0
push eax
call fcn.1006fd90
xor eax, eax
lea edi, [ebp - 0x16]
mov word [ebp - 0x18], ax
add esp, 0xc
cmp dword [esi], 0xffffffff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x10010ad2
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.1006fd90
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x2f
pop ecx
push 0x3f
pop eax
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x220]
mov word [ebp - 0x10], ax
push 0x3a
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], cx
mov word [ebp - 0x12], cx
lea ecx, [ebp - 0x18]
pop eax
mov word [ebp - 0xe], ax
call fcn.1000f1a6
mov dword [esi], eax
mov edx, dword [esi]
lea ecx, [ebp - 0x620]
call fcn.1000f218
mov bl, al
test bl, bl
je 0x10010afb
push ecx
push dword [ebp - 0x624]
push ecx
lea ecx, [ebp - 0x620]
call fcn.1000f44e
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret 8
Function at 0x10010fe0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
cmp edx, 0x1a
jle 0x1001115d
mov edi, dword [ebp + 8]
mov al, byte [edi]
mov byte [ebx], al
mov al, byte [edi + 1]
mov byte [ebx + 1], al
movzx ecx, byte [edi + 3]
shl cx, 8
mov word [ebx + 2], cx
movzx eax, byte [edi + 2]
add ax, cx
mov word [ebx + 2], ax
movzx ecx, byte [edi + 5]
shl cx, 8
mov word [ebx + 4], cx
movzx eax, byte [edi + 4]
add ax, cx
mov word [ebx + 4], ax
movzx ecx, byte [edi + 7]
shl cx, 8
mov word [ebx + 6], cx
movzx eax, byte [edi + 6]
add ax, cx
mov word [ebx + 6], ax
movzx ecx, byte [edi + 9]
shl cx, 8
mov word [ebx + 8], cx
movzx eax, byte [edi + 8]
add ax, cx
mov word [ebx + 8], ax
movzx ecx, byte [edi + 0xb]
shl cx, 8
mov word [ebx + 0xa], cx
movzx eax, byte [edi + 0xa]
add ax, cx
mov word [ebx + 0xa], ax
movzx ecx, byte [edi + 0xd]
shl cx, 8
mov word [ebx + 0xc], cx
movzx eax, byte [edi + 0xc]
add ax, cx
mov word [ebx + 0xc], ax
mov al, byte [edi + 0xe]
mov byte [ebx + 0xe], al
mov al, byte [edi + 0xf]
mov byte [ebx + 0xf], al
mov al, byte [edi + 0x10]
mov byte [ebx + 0x10], al
mov al, byte [edi + 0x11]
mov byte [ebx + 0x11], al
mov al, byte [edi + 0x12]
mov byte [ebx + 0x12], al
movzx ecx, byte [edi + 0x14]
shl cx, 8
mov word [ebx + 0x14], cx
movzx eax, byte [edi + 0x13]
add ax, cx
mov word [ebx + 0x14], ax
movzx ecx, byte [edi + 0x16]
shl cx, 8
mov word [ebx + 0x16], cx
movzx eax, byte [edi + 0x15]
add ax, cx
movzx ecx, byte [ebx + 1]
mov word [ebx + 0x16], ax
sub edx, ecx
mov al, byte [edi + 0x17]
mov byte [ebx + 0x18], al
mov al, byte [edi + 0x18]
mov byte [ebx + 0x19], al
mov al, byte [edi + 0x19]
mov byte [ebx + 0x1a], al
mov al, byte [edi + 0x1a]
mov byte [ebx + 0x1b], al
movzx eax, byte [ebx + 0x18]
push eax
push edx
lea eax, [ecx + edi]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.10010c02
movzx eax, byte [ebx + 0x19]
lea esi, [ebx + 0x68]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
push esi
call fcn.10010c02
movzx eax, byte [ebx + 0x1a]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
lea eax, [ebx + 0x50]
push eax
call fcn.10010c02
movzx eax, byte [ebx + 0x1b]
movzx ecx, byte [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
lea eax, [ecx + edi]
push eax
push esi
call fcn.10010c02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10011196
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100c2070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
pop eax
mov esi, eax
mov ax, word [0x100c5f40]
test ax, ax
jne 0x100112b0
push ebx
push edi
push str.IsWow64Process
xor eax, eax
push str.kernel32
mov word [0x100c5f40], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x40
pop ebx
test edi, edi
je 0x10011206
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x10011206
cmp dword [ebp - 0x124], 0
cmovne esi, ebx
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
push 0
push eax
call fcn.1006fd90
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100112a8
mov eax, dword [ebp - 0x11c]
push 4
pop ecx
cmp eax, ecx
jne 0x1001125d
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x10011255
cmp eax, 0xa
je 0x10011255
cmp eax, 0x5a
jne 0x100112a8
xor eax, eax
inc eax
jmp 0x10011326
cmp eax, 5
jne 0x100112bf
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x10011270
push 2
jmp 0x1001129d
cmp eax, 1
jne 0x1001128e
push 0x20
pop eax
cmp si, ax
jne 0x10011285
mov ax, cx
jmp 0x10011326
cmp si, bx
jne 0x100112a8
push 8
jmp 0x1001129d
cmp eax, 2
jne 0x100112a8
push 0x20
pop eax
cmp si, ax
jne 0x100112a3
push 0x10
pop eax
jmp 0x10011326
cmp si, bx
je 0x10011326
mov ax, word [0x100c5f40]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x1001132e
cmp dword [ebp - 0x118], 0
jne 0x10011304
cmp byte [ebp - 6], 3
push 0x20
pop eax
jne 0x100112ee
cmp si, ax
jne 0x100112e2
mov eax, 0x100
jmp 0x10011326
cmp si, bx
jne 0x100112a8
mov eax, 0x200
jmp 0x10011326
cmp si, ax
jne 0x100112f8
mov ax, bx
jmp 0x10011326
cmp si, bx
jne 0x100112a8
mov eax, 0x80
jmp 0x10011326
cmp dword [ebp - 0x118], 1
jne 0x10011334
push 0x20
pop eax
cmp si, ax
jne 0x1001131c
mov eax, 0x400
jmp 0x10011326
cmp si, bx
jne 0x100112a8
mov eax, 0x800
mov word [0x100c5f40], ax
jmp 0x100112ae
jb 0x100112a8
cmp si, bx
mov eax, 0x1000
mov ecx, 0x2000
cmove eax, ecx
jmp 0x10011326
Function at 0x100128f2
Capabilities:
Create thread

Disassembly:
call fcn.100129af
push eax
push 0
push 0x10012a57
call fcn.1007c3a8
xor eax, eax
add esp, 0xc
inc eax
ret

Function at 0x1001290b
Capabilities:
Create thread

Disassembly:
call fcn.100129af
push eax
push 0
push 0x10012caa
call fcn.1007c3a8
xor eax, eax
add esp, 0xc
inc eax
ret

Function at 0x10014406
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100c2070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push edi
push 0x100
push 0
push eax
call fcn.1006fd90
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edi, [ebp - 0x104]
mov eax, dword [esi + 4]
cmp edi, eax
jae 0x10014477
cmp dword [esi], edi
ja 0x10014477
mov ebx, edi
sub ebx, dword [esi]
cmp eax, dword [esi + 8]
jne 0x10014469
push ecx
mov ecx, esi
call fcn.10014e1b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1001448f
mov eax, dword [esi]
mov al, byte [ebx + eax]
jmp 0x1001448d
cmp eax, dword [esi + 8]
jne 0x10014484
push ecx
mov ecx, esi
call fcn.10014e1b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1001448f
mov al, byte [edi]
mov byte [ecx], al
inc dword [esi + 4]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014497
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x1001444d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c6c9
mov esp, ebp
pop ebp
ret 4
Function at 0x1001578e
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x1009109f
call fcn.1006d3f9
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edx, dword [0x100c5d84]
mov ecx, edx
movzx edi, ax
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], bl
jne 0x100157dc
cmp dword [eax + 0x10], edi
jae 0x100157ca
mov eax, dword [eax + 8]
jmp 0x100157ce
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], bl
je 0x100157c0
cmp ecx, edx
je 0x100157dc
cmp edi, dword [ecx + 0x10]
jae 0x100157de
mov ecx, edx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
cmp ecx, dword [0x100c5d84]
je 0x10015813
add ecx, 0x14
cmp esi, ecx
je 0x10015828
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, esi
call fcn.1000d185
jmp 0x10015828
mov edi, str.English
push edi
call fcn.1000cee8
pop ecx
push eax
push edi
mov ecx, esi
call fcn.1000d015
mov eax, esi
call fcn.1006d3d3
ret
Function at 0x1001f880
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x1001f8a5
or esi, 1
push 1
call edi
test ax, ax
jns 0x1001f8b1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x1001f8bd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x1001f8c9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x10020b20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x108], edi
jle 0x10020b6f
nop dword [eax + eax]
mov eax, dword [esi + 0x104]
lea edx, [ebp + 0xf]
mov byte [ebp + 0xf], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push ebx
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xf], 0
jne 0x10020c0c
inc edi
cmp edi, dword [esi + 0x108]
jl 0x10020b40
mov eax, dword [ebp + 8]
add eax, 0xffffff00
cmp eax, 0x18
ja case.0x10020b87.257
movzx eax, byte [eax + 0x10020d04]
jmp dword [eax*4 + 0x10020cf0]
cmp ebx, 9
jne case.0x10020b87.257
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x10020bf3
mov eax, dword [ecx]
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x10020bf3
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x10020bf3
mov ecx, dword [esi + 0x84]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.10071b9b
add esp, 8
test eax, eax
je 0x10020bf3
mov eax, dword [esi + 0x84]
cmp byte [eax + 0x679], 0
jne case.0x10020b87.257
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.100234e0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push ebx
mov dword [ebp + 8], eax
call fcn.1007b7dd
mov ecx, dword [esi + 0x80]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x8000000a
push edx
push 0x10024980
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je case.0x10020b87.257
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x84], 0
je case.0x10020b87.257
mov eax, dword [esi + 0x94]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x98]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov word [ebp - 0xc], bx
mov dword [ebp - 0x10], eax
call fcn.1001f880
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0x8bba
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10022f90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x10022fbb
cmp esi, dword [edi + 0x84]
je 0x10022fbb
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x84]
cmp esi, eax
je 0x100230bc
test eax, eax
je 0x1002302d
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], 0x14
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x84]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push ecx
push 0
push 0
push str.killfocus
push dword [edi + 0x84]
mov ecx, edi
call fcn.100239f0
mov dword [edi + 0x84], 0
test esi, esi
je 0x100230bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x100230bc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x100230bc
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x100230bc
xorps xmm0, xmm0
mov dword [edi + 0x84], esi
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x84]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push ecx
push 0
push 0
push str.setfocus
push dword [edi + 0x84]
mov ecx, edi
call fcn.100239f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10026fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x10027089
mov ecx, dword [0x100c5d28]
test ecx, ecx
movzx eax, word [ebp + 0x10]
cmove ecx, dword [0x100c5d2c]
push esi
push dword [ebp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10027033
mov ecx, dword [0x100c5d28]
test ecx, ecx
push esi
cmove ecx, dword [0x100c5d2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1002700e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebp
ret 0x14
mov eax, dword [0x100c5d28]
test eax, eax
push ebx
cmove eax, dword [0x100c5d2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x10027038
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop esi
pop ebp
ret 0x14
push edi
push ebx
call fcn.1006cf9e
mov edi, eax
add esp, 4
test edi, edi
je 0x1002707b
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.1006ea30
add esp, 0xc
mov edx, ebx
cmp byte [ebp + 0x18], 0
mov ecx, edi
je 0x1002706d
call fcn.100204d0
jmp 0x10027072
call fcn.10020570
push edi
call fcn.1006c6da
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
pop ebp
ret 0x14
cmp eax, 1
jne 0x10027034
cmp byte [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
je 0x100270a0
call fcn.10020630
pop ebp
ret 0x14
call fcn.100207a0
pop ebp
ret 0x14

Function at 0x10029510
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov edx, ecx
mov byte [edx + 0x199], al
test al, al
jne 0x1002953e
mov ecx, dword [edx + 0x40]
test ecx, ecx
je 0x1002953e
cmp dword [ecx + 0x84], edx
jne 0x1002953e
mov dword [ebp + 8], 0
pop ebp
jmp fcn.10022f90
pop ebp
ret 4
Function at 0x10036a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x199], al
test al, al
jne 0x10036a70
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10036aaa
cmp dword [ecx + 0x84], esi
jne 0x10036aaa
pop esi
mov dword [ebp + 8], 0
pop ebp
jmp fcn.10022f90
cmp byte [esi + 0x198], 0
je 0x10036aaa
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10036aaa
push esi
call fcn.100233a0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xe0]
call eax
test al, al
je 0x10036aaa
push dword [esi + 0x650]
mov ecx, dword [esi + 0x40]
push 0x3e8
push esi
call fcn.100231e0
pop esi
pop ebp
ret 4