joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a03e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40a04d
pop dword [ebp - 0x34]
mov eax, 0x40a04d
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x505fe
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x771795fe
add ecx, 0x88e8b3be
xor edi, edi
add edi, eax
mov ebx, 0x487e00
add ebx, dword [ebp - 0x34]
mov edx, 0xfbf466aa
sub edx, 0x56ca7b6f
xor dword [ebp - 0x10], 0xdabdd540
mov esi, dword [ebx]
add dword [ebp - 0x18], 0xe4fb5889
add esi, edx
sub dword [ebp - 0x28], 0x2057d274
mov dword [edi], esi
xor dword [ebp - 0xc], 0xfc00699e
add edi, 0x7faeaac3
sub edi, 0x7faeaabf
add ebx, 0xb8086bb3
sub ebx, 0xb8086baf
loop 0x40a09e
add eax, 0x119c3
xor ebx, ebx
add ebx, eax
add eax, 0x73d94347
add eax, 0x8c26bcbe
mov ecx, 0x1cc4fae3
add ecx, 0xe37b051d
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1d2004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], edx
push 0
push eax
mov dword [ebp - 0x110], ecx
call fcn.0040a410
mov edx, 0x1d2844
add esp, 0xc
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x401780
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401790
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [0x1ca03c]
mov edi, eax
mov dword [ebp - 0x11c], edi
cmp edi, 0xffffffff
je 0x4018cd
push ebx
push 0
push edi
call dword [0x1ca04c]
mov esi, eax
xor edx, edx
mov ecx, esi
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call fcn.0040b4a2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x118], ebx
test ebx, ebx
je 0x4018cc
inc esi
push esi
push 0
push ebx
call fcn.0040a410
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push 0
push eax
push esi
push ebx
push edi
call dword [0x1ca0d8]
cmp dword [ebx], 0
mov esi, ebx
mov edi, ebx
je 0x4018b7
nop dword [eax + eax]
add edi, 0x208
cmp dword [edi], 0
jne 0x401840
nop dword [eax + eax]
xor eax, eax
xor byte [eax + esi + 8], al
lea ecx, [eax + esi]
inc eax
cmp eax, 0x200
jb 0x401852
lea ebx, [esi + 8]
push ebx
push 0x1cfac0
call fcn.0040dcbf
add esp, 8
test eax, eax
jne 0x4018a6
push dword [esi]
call fcn.004081ee
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
mov ecx, dword [ebx - 4]
push dword [esi]
add ecx, 0x208
add ecx, edi
push ecx
push eax
call fcn.00418680
mov ecx, dword [ebp - 0x114]
add esp, 0x10
mov eax, dword [esi]
mov dword [ecx], eax
add esi, 0x208
cmp dword [esi], 0
jne 0x401850
mov ebx, dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [0x1ca048]
push ebx
call fcn.0040b49d
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004080b5
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x10001532
Capabilities:
Parse pe header

Disassembly:
jmp 0x10047030
mov edx, dword [esp + 4]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10047089
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10047089
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10047069
nop word [eax + eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10047060
mov ecx, dword [esp + 8]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0xc]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
ret
Function at 0x10001b13
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x10046f20
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10ea36ec]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10ea338c]
cmp eax, dword [ecx + 0xeb68]
jg 0x10046f68
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, 0x10ea2de8
nop
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x10046f64
add esi, 4
cmp esi, 0x10ea3298
jne 0x10046f50
pop edi
pop esi
pop ebx
ret
push 0x10ea338c
call fcn.10005605
add esp, 4
cmp dword [0x10ea338c], 0xffffffff
jne 0x10046f3c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x100e4448
push 0x4b0
push 0x10ea2de8
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10ea338c
mov dword [0x10ea3388], eax
call fcn.10005691
add esp, 4
jmp 0x10046f3c

Function at 0x10002720
Capabilities:
Parse pe header

Disassembly:
jmp 0x10046fd0
mov edx, dword [esp + 4]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1004700f
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1004700f
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1004700f
mov edx, dword [esp + 8]
cmp dword [eax], edx
je 0x10047011
add eax, 4
cmp eax, ecx
jb 0x10047004
xor eax, eax
ret

Function at 0x10002964
Capabilities:
Create thread

Disassembly:
jmp 0x10013300
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x10012cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [esi + 0x1f4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x1f8], eax
mov al, 1
pop esi
ret

Function at 0x1000333c
Capabilities:
Terminate process

Disassembly:
jmp 0x1005dd3d
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1005dd4e
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10005349
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x1000343b
Capabilities:
Query environment variable

Disassembly:
jmp 0x100a3ec0
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100a3ed1
pop esi
ret
push ebx
push edi
push esi
call fcn.100a3da7
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10003c33
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100a3ef9
push ebx
push esi
push edi
call fcn.10005173
add esp, 0xc
push 0
call fcn.10005b7d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10003904
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x10049280
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.10004890
add esp, 0x18
test eax, eax
je 0x100492ab
inc eax
cmp byte [eax], 0xcc
je 0x100492a5
ret
Function at 0x10003a08
Capabilities:
Write file on windows

Disassembly:
jmp 0x10011200
sub esp, 0x214
mov eax, dword [0x100e2f80]
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.10002e5f
push 0x1f3
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push 0x1f4
push eax
call fcn.10002798
mov ecx, dword [esp + 0x30]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10011297
mov edx, dword [esp]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001128d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100112fa
push ecx
push edx
call fcn.10001942
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.10005272
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100035f8
add esp, 0x1c
lea eax, [esp + 0x18]
push 0
push 0x100e4448
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.10002da1
add esp, 0x214
ret
call fcn.10004381
int3

Function at 0x100040c5
Capabilities:
Write file on windows

Disassembly:
jmp 0x10011b20
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
js 0x10011b31
cmp esi, 0xc330
jbe 0x10011b47
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.10003a08
add esp, 0x10
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x20]
movups xmm0, xmmword [esp + 8]
push 0
push 0x100e4448
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 0x100043fe
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x10026670
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10ea36ec]
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10ea25f8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, dword [ecx + 0xeb68]
jg 0x10026772
push str.mono_assembly_get_image
push esi
call edi
push str.mono_image_get_name
push esi
mov dword [0x10ea1f28], eax
call edi
push str.mono_class_from_name
push esi
mov dword [0x10ea1f2c], eax
call edi
push str.mono_class_get_property_from_name
push esi
mov dword [0x10ea1f30], eax
call edi
push str.mono_property_get_set_method
push esi
mov dword [0x10ea1f34], eax
call edi
push str.mono_compile_method
push esi
mov dword [0x10ea1f38], eax
call edi
push str.mono_get_root_domain
push esi
mov dword [0x10ea1f3c], eax
call edi
push str.mono_thread_attach
push esi
mov dword [0x10ea1f40], eax
call edi
cmp dword [0x10ea25f4], 0
pop edi
mov dword [0x10ea1f44], eax
pop esi
je 0x1002676f
cmp dword [0x10ea1f28], 0
je 0x1002676f
cmp dword [0x10ea1f2c], 0
je 0x1002676f
cmp dword [0x10ea1f30], 0
je 0x1002676f
cmp dword [0x10ea1f34], 0
je 0x1002676f
cmp dword [0x10ea1f38], 0
je 0x1002676f
cmp dword [0x10ea1f3c], 0
je 0x1002676f
cmp dword [0x10ea1f40], 0
je 0x1002676f
test eax, eax
je 0x1002676f
push str.Mono_X86:_If_the_following_hooks_dont_work__create_the_TextractorConfig.txt_file_via_the__Configure_game__button_to_activate_the_brute_force_mode
call fcn.10003a08
push 0
push 0x10003120
call dword [0x10ea25f4]
add esp, 0xc
mov al, 1
ret
xor al, al
ret
push 0x10ea25f8
call fcn.10005605
add esp, 4
cmp dword [0x10ea25f8], 0xffffffff
jne 0x1002669c
push str.mono_assembly_foreach
push esi
call edi
push 0x10ea25f8
mov dword [0x10ea25f4], eax
call fcn.10005691
add esp, 4
jmp 0x1002669c

Function at 0x10004a98
Capabilities:
Get system information on windows

Disassembly:
jmp 0x10018530
sub esp, 0x40
push ebx
push esi
lea eax, [esp + 0x24]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x100185f8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x1001856c
add esi, dword [esp + 0x2c]
jmp 0x100185ed
mov eax, dword [esp + 0x18]
cmp eax, 0x1f00000
jne 0x100185eb
cmp dword [esp + 0x20], 4
jne 0x100185eb
cmp dword [esp + 0x24], 0x40000
jne 0x100185eb
push str.Textractor:_PPSSPP_memory_found:_searching_for_hooks_should_yield_working_hook_codes
mov bl, 1
call fcn.10003a08
lea eax, [esi - 0x8000000]
mov dword [0x100e2060], 6
mov dword [0x100e2074], eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [0x100e2040], 0x360ad83
mov word [0x100e2044], 0
mov dword [0x100e2064], 0
mov dword [0x100e2078], 0
mov dword [0x100e207c], 0xffffffff
mov dword [0x100e229c], 0x100167f0
add esi, eax
cmp esi, dword [esp + 0x34]
jb 0x10018555
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40
ret
Function at 0x10004ff7
Capabilities:
Parse pe header

Disassembly:
jmp 0x10047530
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x100475b4
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100475b4
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x100475b4
add eax, ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
mov dword [esp + 4], eax
push ecx
push eax
call fcn.10004971
add esp, 0xc
test eax, eax
je 0x100475b4
mov edx, dword [esp + 0xc]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10047583
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [esp + 0xc]
push edx
add eax, 0xfffffffc
push eax
push dword [esp + 0x10]
call fcn.10003bbb
add esp, 0x10
test eax, eax
setne al
pop esi
add esp, 8
ret
xor al, al
add esp, 8
ret

Function at 0x100050f1
Capabilities:
Write file on windows

Disassembly:
jmp 0x10011570
mov eax, dword [esp + 0xc]
sub esp, 0x10
test eax, eax
je 0x1001158a
push eax
push dword [0x100e2b20]
call fcn.10003a08
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push 0x100e4448
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 0x10005916
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x10013140
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x184]
test al, 0x40
je 0x10013183
lea ecx, [esi + 0x1c]
test al, al
jns 0x1001325f
lea eax, [esi + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001324c
add dword [esi + 0x1e8], eax
adc dword [esi + 0x1ec], 0
push edi
push 0x100e4448
push 0x40
push 0xa
push dword [esi + 0x1e8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
lea edi, [esi + 0x1fd]
push edi
push dword [esi + 0x1e8]
call fcn.10002f1d
test eax, eax
je 0x100131e8
cmp eax, 3
jne 0x1001328f
push 9
push dword [esi + 0x1ec]
push dword [esi + 0x1e8]
call fcn.1000258b
add esp, 0xc
lea eax, [esp + 8]
push eax
push edi
push dword [esi + 0x1e8]
call fcn.10002f1d
test eax, eax
jne 0x100131b4
mov eax, dword [0x100e202c]
mov ecx, dword [esp + 8]
mov dword [eax + 0x100e200c], esi
mov eax, dword [0x100e2030]
mov dword [eax + 0x100e200c], 0x10003f44
mov eax, dword [0x100e2034]
mov dword [eax + 0x100e200c], ecx
movups xmm0, xmmword [0x100e200c]
push dword [esi + 0x1e8]
movups xmmword [edi], xmm0
movq xmm0, qword [0x100e201c]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x100e2024]
mov dword [edi + 0x18], eax
mov al, byte [0x100e2028]
mov byte [edi + 0x1c], al
call fcn.10002f63
test eax, eax
pop edi
sete al
pop esi
pop ecx
ret
push dword [0x100e2b48]
call fcn.10003a08
add esp, 4
xor al, al
pop esi
pop ecx
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001327c
cdq
add dword [esi + 0x1e8], eax
adc dword [esi + 0x1ec], edx
jmp 0x10013183
push dword [0x100e2b4c]
call fcn.10003a08
add esp, 4
xor al, al
pop esi
pop ecx
ret
push eax
call fcn.10005ef7
push eax
call fcn.10003a08
add esp, 4
xor al, al
pop edi
pop esi
pop ecx
ret
Function at 0x10006082
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x10048f20
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.1000424b
add esp, 0x18
test eax, eax
je 0x10048f4b
inc eax
cmp byte [eax], 0xcc
je 0x10048f45
ret

Function at 0x100060c8
Capabilities:
Write file on windows

Disassembly:
jmp 0x100114a0
sub esp, 0x5dc
mov eax, dword [0x100e2f80]
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.10002e5f
push 0x1f3
push ebx
lea eax, [esp + 0x210]
push 0x1f4
push eax
call fcn.10005407
add esp, 0x1c
lea eax, [esp + 0xc]
push 0
push 0x100e4448
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.10002da1
add esp, 0x5dc
ret
Function at 0x10019970
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x254
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push 0x100c56fc
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10019a23
mov ecx, dword [0x10ea2650]
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100199c0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x10019a81
lea esi, [esp + 0x4c]
sub esi, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x100199e0
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [esp + 0x64]
mov dword [esp + edx*2 + 0x60], 0x69006e
mov ecx, 0x69
push eax
mov word [esp + edx*2 + 0x62], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10019a81
push 0x40
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10002e5f
add esp, 0xc
lea eax, [esp + 8]
push 0
push eax
push 0x40
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
mov byte [esp + 0x4b], 0
push 0x100c6984
push eax
call fcn.10003fee
add esp, 8
test eax, eax
je 0x10019a81
lea ecx, [esp + 4]
add eax, 3
push ecx
push 0x100c6988
push eax
call fcn.1000553d
add esp, 0xc
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.10002da1
add esp, 0x254
ret

Function at 0x1001d2f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
je 0x1001d31a
lea edx, [esi + 0x100]
mov ecx, esi
cmp esi, edx
jae 0x1001d31a
nop
cmp byte [ecx], 0xe8
je 0x1001d32f
inc ecx
cmp ecx, edx
jb 0x1001d310
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook1:_failed
jmp fcn.10003a08
mov edi, dword [ecx + 1]
add ecx, 5
push esi
add edi, ecx
call fcn.100052cc
add esp, 4
cmp eax, 1
je 0x1001d355
add esi, eax
push esi
call fcn.100052cc
add esp, 4
cmp eax, 1
jne 0x1001d345
push 0x1e8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10002e5f
movzx ecx, byte [esi]
mov eax, 0xfffffff8
and ecx, 0xf
mov dword [esp + 0x14], edi
shl ecx, 2
sub eax, ecx
mov dword [esp + 0x18], 0
push str.vnreng:_INSERT_AliceHook1
mov dword [esp + 0x20], 0xfffffff8
mov dword [esp + 0x28], eax
mov dword [esp + 0x19c], 0x11
call fcn.10003a08
add esp, 0x10
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.System40
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a6d
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret
Function at 0x1001d460
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
jne 0x1001d488
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook2:_failed
jmp fcn.10003a08
push 0x174
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10002e5f
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002e5f
mov eax, 1
mov dword [esp + 0x20], esi
push str.vnreng:_INSERT_AliceHook2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xfffffff8
mov dword [esp + 0x30], 8
mov word [esp + 0x1b0], ax
mov dword [esp + 0x1a8], 8
call fcn.10003a08
add esp, 0x1c
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.System40
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a6d
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret

Function at 0x10025440
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
push edi
push 0x170
lea eax, [esp + 0x20]
push 0
push eax
call fcn.10002e5f
push 0x5a
lea eax, [esp + 0x1a6]
mov dword [esp + 0x1a0], 0
push 0
push eax
call fcn.10002e5f
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x20], eax
mov eax, 1
push str.vnreng:_INSERT_KiriKiriZ
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xfffffff4
mov dword [esp + 0x34], 0xfffffff4
mov dword [esp + 0x30], 0x14
mov word [esp + 0x1b0], ax
mov dword [esp + 0x1a8], 0x3a
call fcn.10003a08
add esp, 0x1c
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.KiriKiriZ
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a6d
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:KiriKiriZ:_disable_GDI_hooks
jmp fcn.10003a08