joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b910
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
lea eax, [ebp - 0x410]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x40b93f
push edi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
and word [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x411710
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov eax, dword [esi + 0x694]
push 1
push 1
push 2
lea ecx, [ebp - 0x208]
push ecx
push esi
call fcn.0040b693
test eax, eax
pop edi
je 0x40b9c4
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40b99f
lea eax, [ebp - 0x208]
push eax
call fcn.00405fdd
pop ecx
jmp 0x40b9a5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40b9b7
push dword [esi + 0x208]
mov ecx, eax
call fcn.00405e9d
pop ecx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
leave
ret

Function at 0x40bd02
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebx + 0x274], edi
jne 0x40bdfa
push 0x208
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x20c]
push eax
call fcn.00406277
lea eax, [ebp - 0x20c]
push 0x2e
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 0x18
cmp eax, edi
je 0x40bd5b
mov word [eax], di
push esi
lea eax, [ebp - 0x20c]
push str..cfg
push eax
call sub.msvcrt.dll_wcscat
mov esi, dword [ebx + 0x6b0]
pop ecx
pop ecx
push str._cfg
call fcn.004075fa
cmp eax, edi
jl 0x40bda4
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x6b0]
call fcn.004075ea
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
mov word [ebp - 0x620], di
mov word [ebp - 0x416], di
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0x628], 0x411d04
call fcn.0040e600
mov eax, dword [ebx + 0x690]
lea esi, [ebp - 0x628]
call fcn.00401dda
mov eax, ebx
call fcn.004018eb
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x694]
mov ebx, esi
call fcn.004088e6
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x40c057
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x804
push dword [eax + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c156
push ebx
push edi
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x40c141
push esi
mov esi, dword [edi]
push 0x7fe
lea eax, [ebp - 0x802]
push ebx
push eax
add esi, edi
mov word [ebp - 0x804], bx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [edi + 0x10], ebx
jne 0x40c132
jmp 0x40c0f9
push 0x3ff
lea eax, [ebp - 0x804]
push eax
push esi
call fcn.00406cf0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x694]
add eax, 0x2dc
call fcn.004070cf
push esi
call sub.msvcrt.dll_strlen
pop ecx
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x40c0bf
jmp 0x40c137
push esi
mov eax, 0x3ff
lea edi, [ebp - 0x804]
call fcn.004060c1
pop ecx
mov eax, edi
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x694]
add eax, 0x2dc
call fcn.004070cf
push esi
call sub.msvcrt.dll_wcslen
pop ecx
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x40c0ff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
push 0x416
call fcn.00401b23
pop edi
pop ebx
leave
ret 4
Function at 0x40c245
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 8], ebx
call fcn.00407087
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x694]
call fcn.00408898
mov esi, eax
dec esi
js 0x40c3dc
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x694]
call fcn.00408f91
test eax, eax
je 0x40c2c0
mov eax, dword [ebp - 8]
add eax, 0x3c
push eax
mov dword [ebp - 0xc], eax
call sub.msvcrt.dll_wcslen
pop ecx
push dword [ebp - 0xc]
lea ebx, [ebx + eax + 1]
lea eax, [ebp - 0x48]
call fcn.004070cf
cmp dword [ebp + 0xc], 2
jne 0x40c2c0
mov dword [ebp - 4], 4
mov dword [edi + 0x6a4], 1
mov eax, dword [edi + 0x694]
push 4
push dword [ebp - 4]
push esi
call fcn.004088c9
dec esi
jns 0x40c272
test ebx, ebx
jle 0x40c3dc
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push 0x14
pop esi
lea eax, [ebx + ebx + 0x16]
push eax
push 0x2042
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
mov dword [ebp - 8], eax
call ebx
push esi
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x10], eax
call sub.msvcrt.dll_memcpy
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 4], esi
jle 0x40c367
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x48]
call fcn.00407171
push eax
mov dword [ebp - 0xc], eax
call sub.msvcrt.dll_wcslen
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + esi*2 + 0x14]
push eax
call sub.msvcrt.dll_wcscpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
inc dword [ebp - 4]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jl 0x40c32b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 0x208]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c3d3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xf
call esi
push 4
push 0x2042
call edi
mov edi, eax
push edi
call ebx
mov cl, byte [ebp + 0xc]
push edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 0
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push edi
push eax
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40c3dc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
lea esi, [ebp - 0x48]
call fcn.004070a9
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c41d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push 1
push edi
call fcn.0040bd02
and word [ebp - 0x248], 0
push 0x208
lea eax, [ebp - 0x246]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x248]
push eax
call fcn.00406277
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2c], eax
add esp, 0x1c
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.RunAs
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40c4a1
push dword [edi + 0x208]
call dword [sym.imp.USER32.dll_DestroyWindow]
leave
ret

Function at 0x40dbad
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 0x28], 0
jne 0x40dc2f
push edi
push str.Propsys.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.PSGetNameFromPropertyKey
push eax
mov dword [esi + 0x28], eax
call edi
push str.PSGetPropertyDescription
push dword [esi + 0x28]
mov dword [esi + 8], eax
call edi
push str.PSStringFromPropertyKey
push dword [esi + 0x28]
mov dword [esi + 0xc], eax
call edi
push str.PSFormatForDisplayAlloc
push dword [esi + 0x28]
mov dword [esi + 0x10], eax
call edi
push str.PSGetPropertyKeyFromName
push dword [esi + 0x28]
mov dword [esi + 0x14], eax
call edi
push str.PSCoerceToCanonicalValue
push dword [esi + 0x28]
mov dword [esi + 0x18], eax
call edi
push str.PSEnumeratePropertyDescriptions
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
call edi
push str.PSGetPropertyDescriptionByName
push dword [esi + 0x28]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
pop edi
ret
Function at 0x40e2a6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.0040f2e0
cmp dword [ebp + 8], 0
je 0x40e30b
test esi, esi
je 0x40e2f9
push 0x22
push esi
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x40e2f9
and word [ebp - 0x20000], 0
push esi
push str.__s_
lea eax, [ebp - 0x20000]
push 0xfffe
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20000]
push eax
jmp 0x40e2fd
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
leave
ret

Function at 0x40e323
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.0040f2e0
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40e382
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00406b27
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40e3c3
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x410484
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.00406bb0
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40e3c9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40e3e7
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040e259
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret
Function at 0x40edc4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x40ef56
push ebx
mov eax, edi
call fcn.00407905
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x411090
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40ee47
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40ee96
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x410484
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0040ed35
test eax, eax
jne 0x40eea6
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x4120b4
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0040ed35
push 0x4120cc
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0040ed35
push 0x4120ec
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0040ed35
push 0x412104
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0040ed35
push 0x412124
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0040ed35
push 0x41213c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0040ed35
push 0x412158
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0040ed35
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0040ed35
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x40f062
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x410420
call fcn.0040f270
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40f09d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f09d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40f0b5
cmp eax, 0x20b
je 0x40f0a2
mov dword [ebp - 0x1c], edi
jmp 0x40f0c9
cmp dword [ecx + 0x84], 0xe
jbe 0x40f09d
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x40f0c3
cmp dword [ecx + 0x74], 0xe
jbe 0x40f09d
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x415778], 0xffffffff
or dword [0x41577c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x4142fc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x4142f8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x415774], eax
call fcn.0040932a
cmp dword [section..data], edi
jne 0x40f126
push fcn.0040932a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0040f25e
push 0x4103f4
push 0x4103f0
call sub.msvcrt.dll__initterm
mov eax, dword [0x4142f4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4142f0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x4103ec
push 0x4103cc
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x40f18c
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x40f246
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x40f1da
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40f1a8
cmp ax, 0x22
jne 0x40f195
cmp word [esi], 0x22
jne 0x40f1b3
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x40f1c1
cmp ax, 0x20
jbe 0x40f1ae
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x40f1e7
movzx eax, word [ebp - 0x48]
jmp 0x40f1ea
cmp word [esi], 0x20
jbe 0x40f1b3
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x40f1da
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x40f20b
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x40f240
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040f2a9
ret
Function at 0x10001760
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x10030b94]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0xf
push 0
movups xmmword [esp + 8], xmm0
push eax
mov byte [esp + 0xc], 0
mov dword [esp + 0x24], 0
call fcn.10008f00
push 0x1f3
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push 0x1f4
push eax
call fcn.1000a9bb
mov ecx, dword [esp + 0x30]
add esp, 0x1c
cmp ecx, 0x10
jb 0x100017f7
mov edx, dword [esp]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100017ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000185a
push ecx
push edx
call fcn.100072cf
add esp, 8
lea eax, [esp + 0x21c]
push eax
push 0
push dword [esp + 0x220]
lea eax, [esp + 0x28]
push 0x1f4
push eax
call fcn.100028a0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.1000bc78
add esp, 0x1c
lea eax, [esp + 0x18]
push 0
push 0x10031620
push 0x1f8
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100075f7
add esp, 0x214
ret
call fcn.1000a7e1
int3

Function at 0x10001980
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x5dc
mov eax, dword [0x10030b94]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
mov ebx, dword [esp + 0x7cc]
lea eax, [esp + 0x1f4]
push esi
push edi
push 0x3e8
mov dword [esp + 0x10], 2
lea esi, [esp + 0x5f0]
mov ecx, 0x7a
lea edi, [esp + 0x18]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10008f00
push 0x1f3
push ebx
lea eax, [esp + 0x210]
push 0x1f4
push eax
call fcn.1000a8fd
add esp, 0x1c
lea eax, [esp + 0xc]
push 0
push 0x10031620
push 0x5d8
push eax
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x5e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100075f7
add esp, 0x5dc
ret

Function at 0x10001a20
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
test eax, eax
je 0x10001a3a
push eax
push dword [0x10030844]
call fcn.10001760
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0x10031620
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push 0x10
push eax
push dword [section..data]
mov dword [esp + 0x14], 3
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x10
ret

Function at 0x10001ea0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
js 0x10001eb1
cmp esi, 0xc330
jbe 0x10001ec7
push dword [esp + 0x14]
push dword [esp + 0x14]
push esi
push str.Textractor:_something_went_very_wrong__invalid_length__d_at_hook_address__I64d_
call fcn.10001760
add esp, 0x10
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x20]
movups xmm0, xmmword [esp + 8]
push 0
push 0x10031620
movups xmmword [ecx], xmm0
push eax
movups xmm0, xmmword [esp + 0x24]
push ecx
movups xmmword [ecx + 0x10], xmm0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
ret
Function at 0x100026c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10017af5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10030b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub eax, 0
je 0x1000286b
sub eax, 1
jne 0x1000287c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10002580
add esp, 8
push 0x10031684
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.ET_TEXT_ENGINE_HOOKMAN_
push ecx
call fcn.10001130
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.10001420
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0x100316a4
je 0x1000276d
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x100316a4]
mov byte [ebp - 4], 1
mov dword [0x100316a4], ecx
test eax, eax
je 0x1000276d
cmp eax, 0xffffffff
je 0x1000276d
push eax
call esi
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
test eax, eax
je 0x10002780
cmp eax, 0xffffffff
je 0x10002780
push eax
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100015f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100027a3
xor eax, eax
jmp 0x10002881
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10002580
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
push str.ET_TEXT_ENGINE_SECTION_
push eax
call fcn.10001130
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x100027db
mov eax, dword [eax]
push eax
push 0x2a1d40
push 0
push 0x40
push 0x10031684
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [0x10030004]
mov byte [ebp - 4], 4
mov dword [0x10030004], eax
test ecx, ecx
je 0x1000280d
cmp ecx, 0xffffffff
je 0x1000280d
push ecx
call esi
lea ecx, [ebp - 0x40]
call fcn.100015f0
lea ecx, [ebp - 0x58]
call fcn.100015f0
push 0x150ea0
push 0
push 0
push 0xf003f
push dword [0x10030004]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x150ea0
push 0
push eax
mov dword [0x100316a8], eax
call fcn.10008f00
add esp, 0xc
call fcn.10005500
push 0
push 0
push 0
push 0x10001a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call esi
jmp 0x1000287c
call fcn.100057a0
push dword [0x100316a8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100075f7
mov esp, ebp
pop ebp
ret 0xc