joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10d1354
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x10d13bf
cmp byte [ebx + 0xd3], 0
jne 0x10d13bf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.01006ca4
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x10d13ac
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x10d13cc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.01006b68
jmp 0x10d13cc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.01006b68
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x10d2bf4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x10d2c62
mov eax, esi
call fcn.010ab06c
test al, al
je 0x10d2c62
mov eax, dword [ebx + 0x84]
call fcn.010aacc0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x10d2c62
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x10d2c56
push 0
mov eax, dword [ebx + 0x84]
call fcn.010aacc0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.010a1c94
jmp 0x10d2c62
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.010d2a2c
pop esi
pop ebx
ret

Function at 0x10d3eb8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x10d3edb
neg ecx
je 0x10d3edb
sub edx, ecx
push ebx
mov ebx, 0
mov bl, al
xor bl, byte [ecx + edx]
shr eax, 8
xor eax, dword [ebx*4 + 0x111a2b8]
inc ecx
jne 0x10d3ec8
pop ebx
ret
Function at 0x10d69f8
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.01006b50
xor eax, eax
push ebp
push 0x10d6bed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x44], 1
mov eax, dword [ebp - 4]
call fcn.01013c9c
test al, al
jne 0x10d6a3d
mov dword [ebx + 0x44], 2
jmp 0x10d6bd7
mov eax, esi
sub eax, 0x80000000
je 0x10d6a56
sub eax, 0x40000000
je 0x10d6a68
sub eax, 0x80000000
je 0x10d6a5f
jmp 0x10d6a71
mov dword [ebp - 8], 1
jmp 0x10d6a7d
mov dword [ebp - 8], 2
jmp 0x10d6a7d
mov dword [ebp - 8], 3
jmp 0x10d6a7d
mov dword [ebx + 0x44], 9
jmp 0x10d6bd7
push 0
push 0xa2
push 3
push 0
mov eax, dword [ebp - 8]
push eax
push esi
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
mov dword [ebx + 0x10], edi
cmp edi, 0xffffffff
jne 0x10d6ab1
mov dword [ebx + 0x44], 3
jmp 0x10d6bd7
lea eax, [ebx + 8]
mov edx, dword [ebp - 4]
call fcn.01006b68
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_SetFilePointer
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 0xc], 0x5a4d
je 0x10d6b08
mov dword [ebx + 0x44], 4
jmp 0x10d6bd7
push 0
push 0
push 0x3c
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_ReadFile
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 0x10], 0x4550
je 0x10d6b64
mov dword [ebx + 0x44], 5
jmp 0x10d6bd7
push 0
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x50
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x10]
push eax
call fcn.010098c8
pop ecx
mov dword [ebx + 0x14], eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebx + 0x10]
call fcn.010d3edc
mov dword [ebx + 0x4c], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov eax, ebx
call fcn.010d6fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10d6bf4
lea eax, [ebp - 4]
call fcn.01006b58
ret
Function at 0x10d6fa8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebx + 0x44], 1
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x1c], eax
cmp word [eax], 0x5a4d
je 0x10d6fd4
mov eax, ebx
call fcn.010d5a40
mov dword [ebx + 0x44], 4
jmp 0x10d708c
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x3c]
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x20], eax
cmp dword [eax], 0x4550
je 0x10d6ffb
mov eax, ebx
call fcn.010d5a40
mov dword [ebx + 0x44], 5
jmp 0x10d708c
mov eax, dword [ebx + 0x20]
lea edx, [eax + 0x18]
movzx eax, word [eax + 0x14]
add edx, eax
mov dword [ebx + 0x24], edx
mov eax, dword [ebx + 0x20]
movzx edx, word [eax + 6]
dec edx
test edx, edx
jl 0x10d7032
inc edx
xor eax, eax
lea ecx, [eax + eax*4]
mov esi, dword [ebx + 0x24]
mov esi, dword [esi + ecx*8 + 0xc]
mov edi, dword [ebx + 0x20]
cmp esi, dword [edi + 0x54]
jae 0x10d702e
mov dword [edi + 0x54], esi
inc eax
dec edx
jne 0x10d7019
mov eax, dword [ebx + 0x20]
movzx edx, word [eax + 6]
dec edx
test edx, edx
jl 0x10d706e
inc edx
xor eax, eax
lea esi, [eax + eax*4]
mov edi, dword [ebx + 0x24]
cmp dword [edi + esi*8 + 0x14], 0
jne 0x10d706a
mov ecx, dword [ebx + 0x24]
cmp dword [ecx + esi*8 + 0x10], 0
je 0x10d706a
mov ecx, dword [ebx + 0x24]
push dword [ecx + esi*8 + 0x10]
pop ecx
mov dword [edi + esi*8 + 8], ecx
xor ecx, ecx
mov dword [edi + esi*8 + 0x10], ecx
inc eax
dec edx
jne 0x10d7041
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x20]
movzx eax, word [eax + 0x16]
and ax, 0x2000
cmp ax, 0x2000
sete al
mov byte [ebx + 0x40], al
pop edi
pop esi
pop ebx
ret
Function at 0x10d765c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.01006b50
xor eax, eax
push ebp
push 0x10d7775
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x44], 1
push 0
push 0xa0
push 2
push 0
push 7
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
jne 0x10d76ba
mov dword [ebx + 0x44], 3
jmp 0x10d775f
push 0
push 0
push 0
push esi
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.KERNEL32.DLL_WriteFile
test eax, eax
je 0x10d76ec
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x54]
cmp eax, dword [ebp - 8]
je 0x10d76f4
push esi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x10d775f
mov eax, dword [ebx + 0x20]
movzx eax, word [eax + 6]
test ax, ax
jbe 0x10d7754
movzx eax, ax
dec eax
test eax, eax
jl 0x10d7754
inc eax
mov dword [ebp - 0xc], eax
xor edi, edi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x24]
mov eax, dword [edx + eax*8 + 0x10]
push eax
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x24]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebx + 0x14]
push eax
push esi
call sub.KERNEL32.DLL_WriteFile
test eax, eax
je 0x10d7746
lea eax, [edi + edi*4]
mov edx, dword [ebx + 0x24]
mov eax, dword [edx + eax*8 + 0x10]
cmp eax, dword [ebp - 8]
je 0x10d774e
push esi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x10d775f
inc edi
dec dword [ebp - 0xc]
jne 0x10d770e
push esi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10d777c
lea eax, [ebp - 4]
call fcn.01006b58
ret
Function at 0x10d8490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.01006b50
xor eax, eax
push ebp
push 0x10d854c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebx + 8], eax
push 0
push 0xa2
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x10d8536
mov eax, dword [ebx + 4]
test eax, eax
je 0x10d84f8
push eax
call fcn.010098d8
pop ecx
xor eax, eax
mov dword [ebx + 4], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push esi
call sub.KERNEL32.DLL_SetFilePointer
push edi
call fcn.010098c8
pop ecx
mov dword [ebx + 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [ebx + 4]
push eax
push esi
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
push esi
call sub.KERNEL32.DLL_CloseHandle
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10d8553
lea eax, [ebp - 4]
call fcn.01006b58
ret

Function at 0x10d8560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.01006b50
xor eax, eax
push ebp
push 0x10d85fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [esi + 8], 0
je 0x10d85e7
push 0
push 0xa0
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
cmp edi, 0xffffffff
je 0x10d85e7
push 2
push 0
push 0
push edi
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
push edi
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x10d85df
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x10d85e7
push edi
call sub.KERNEL32.DLL_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10d8604
lea eax, [ebp - 4]
call fcn.01006b58
ret

Function at 0x10d86f0
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 8]
add esp, 0x20
ret
Function at 0x10de6d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push ebx
push edx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
add eax, esi
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10de74c
mov eax, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 4], ecx
mov edi, dword [ecx + 0x24]
add edi, eax
mov esi, dword [ecx + 0x20]
add esi, eax
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 8], ecx
xor ecx, ecx
cmp ecx, dword [ebp - 8]
je 0x10de74c
mov ebx, dword [ebp + 8]
add ebx, dword [esi]
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, ebx
cmpsb byte [esi], byte es:[edi]
jne 0x10de725
cmp byte [esi - 1], 0
jne 0x10de71c
pop edi
pop esi
jne 0x10de73e
movzx edx, word [edi + ecx*2]
mov edi, dword [ebp - 4]
mov edi, dword [edi + 0x1c]
add edi, dword [ebp + 8]
lea eax, [edi + edx*4]
sub eax, dword [ebp + 8]
jmp 0x10de744
add esi, 4
inc ecx
jmp 0x10de70b
pop edx
pop ebx
pop edi
pop esi
leave
ret 8
xor eax, eax
jmp 0x10de744

Function at 0x10de754
Capabilities:
Get common file path
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff7e8
mov dword [esp], eax
mov byte [esp + 4], 0
push 0x802
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
push 0x10de8b4
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_lstrcatW
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x2c]
push eax
call sub.KERNEL32.DLL_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10de8a3
push 0
push 0
push 0
push 0x1000002
push 0
push ebx
call sub.KERNEL32.DLL_CreateFileMappingW
mov edi, eax
test edi, edi
jne 0x10de7cc
push ebx
call sub.KERNEL32.DLL_CloseHandle
jmp 0x10de8a3
push 0
push 0
push 0
push 4
push edi
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
test esi, esi
jne 0x10de7f1
push edi
call sub.KERNEL32.DLL_CloseHandle
push ebx
call sub.KERNEL32.DLL_CloseHandle
jmp 0x10de8a3
push 0x10de8d0
push esi
call fcn.010de6d4
mov ebp, eax
mov eax, esi
add eax, ebp
mov eax, dword [eax]
mov dword [esp + 8], eax
push 0x10de8e0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
add eax, ebp
push eax
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
add ebp, dword [esp + 0x1c]
push ebp
mov eax, dword [esp + 0x10]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
push 0x10de8fc
mov eax, dword [esp + 0x14]
push eax
call fcn.0100c1e8
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp word [eax], 0xff8b
jne 0x10de88c
mov dword [esp + 0xc], 0x70
lea edx, [esp + 0xc]
push edx
push 2
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
push esi
call sub.KERNEL32.DLL_UnmapViewOfFile
push edi
call sub.KERNEL32.DLL_CloseHandle
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov byte [esp + 4], 1
movzx eax, byte [esp + 4]
add esp, 0x818
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10e20f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.01006b50
xor eax, eax
push ebp
push 0x10e21bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0xa2
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
cmp edi, 0xffffffff
je 0x10e21a7
xor esi, esi
push 0
push 0
push 0
push edi
call sub.KERNEL32.DLL_SetFilePointer
mov eax, 0x10000
call fcn.010041e8
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x10000
push ebx
push edi
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 8], 0
je 0x10e2195
xor eax, eax
mov edx, ebx
add edx, eax
mov edx, dword [edx]
and edx, 0xffffff
cmp edx, 0xec8b55
jne 0x10e218d
add eax, 3
inc esi
jmp 0x10e218e
inc eax
cmp eax, dword [ebp - 8]
jle 0x10e2173
jmp 0x10e2159
mov eax, ebx
call fcn.01004204
push edi
call sub.KERNEL32.DLL_CloseHandle
test esi, esi
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10e21c4
lea eax, [ebp - 4]
call fcn.01006b58
ret
Function at 0x10f79a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcac
mov ebx, edx
mov byte [esp], 0
test ebx, 0xfff
jne 0x10f7b29
lea ecx, [esp + 4]
mov eax, dword [0x111a7cc]
mov eax, dword [eax + 0x128]
mov edx, ebx
call fcn.010d8658
cmp ebx, eax
jne 0x10f7b29
mov dword [esp + 4], 0x200
xor esi, esi
mov byte [esp + 8], 0
mov edi, ebx
jmp 0x10f7afd
push 0x10
lea ecx, [esp + 0xd]
mov edx, edi
mov eax, dword [0x111a7cc]
call fcn.0110ae84
test al, al
je 0x10f7b29
push 0
lea eax, [esp + 0x1d]
push eax
push edi
push 0x10
lea eax, [esp + 0x19]
push eax
call sub.disasm.dll_unsigned_long_int___cdecl_Disasm_Disasm_char___unsigned_long_int__unsigned_long_int__struct_t_disasm___int_
add esp, 0x14
mov ebp, eax
movzx ebx, byte [esp + 9]
cmp bl, 0xf2
je 0x10f7a50
cmp bl, 0xf3
je 0x10f7a50
cmp bl, 0x64
je 0x10f7a50
cmp bl, 0x65
je 0x10f7a50
cmp bl, 0x26
je 0x10f7a50
cmp bl, 0x2e
je 0x10f7a50
cmp bl, 0x36
je 0x10f7a50
cmp bl, 0x3e
jne 0x10f7a56
inc edi
jmp 0x10f7afd
cmp byte [esp + 9], 0xeb
jne 0x10f7a71
cmp byte [esp + 0xa], 1
jne 0x10f7a71
mov byte [esp + 8], 1
add edi, 3
jmp 0x10f7afd
cmp byte [esp + 9], 0xeb
jne 0x10f7a97
cmp byte [esp + 0xa], 2
jne 0x10f7a97
cmp byte [esp + 0xc], 0xcd
jne 0x10f7a97
cmp byte [esp + 0xd], 0x20
jne 0x10f7a97
mov byte [esp + 8], 1
add edi, 4
jmp 0x10f7afd
cmp ebp, 1
jne 0x10f7aac
test esi, esi
jne 0x10f7aac
movzx eax, byte [esp + 9]
and al, 0xf8
cmp al, 0x50
jne 0x10f7aac
inc esi
cmp ebp, 1
jne 0x10f7abe
cmp esi, 1
jne 0x10f7abe
cmp byte [esp + 9], 0x9c
jne 0x10f7abe
inc esi
cmp ebp, 3
jne 0x10f7ade
cmp esi, 2
jne 0x10f7ade
cmp byte [esp + 9], 0x83
jne 0x10f7ade
cmp byte [esp + 0xa], 0xec
jne 0x10f7ade
cmp byte [esp + 0xb], 0x20
jne 0x10f7ade
inc esi
cmp ebp, 2
jne 0x10f7afb
cmp esi, 3
jne 0x10f7afb
cmp byte [esp + 9], 0xff
jne 0x10f7afb
movzx eax, byte [esp + 0xa]
and al, 0xf8
cmp al, 0xd0
jne 0x10f7afb
inc esi
add edi, ebp
mov eax, dword [esp + 4]
add eax, edi
sub eax, 0x10
dec eax
cmp edi, eax
jge 0x10f7b14
cmp esi, 4
jb 0x10f79f0
cmp esi, 4
jne 0x10f7b20
cmp byte [esp + 8], 1
je 0x10f7b24
xor eax, eax
jmp 0x10f7b26
mov al, 1
mov byte [esp], al
movzx eax, byte [esp]
add esp, 0x354
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10fba78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x10fba80
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x34], edx
mov edi, eax
mov ecx, 7
lea eax, [ebp - 0x30]
mov edx, dword [0x1001240]
call fcn.0100782c
lea eax, [ebp - 0x14]
mov edx, dword [0x10fba18]
call fcn.010077f8
xor eax, eax
push ebp
push 0x10fc412
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x35], 0
mov eax, dword [ebp - 0x34]
mov edx, dword [edi + 0x24]
dec edx
sub edx, eax
jl 0x10fc3c6
inc edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x3c], eax
Function at 0x11093c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov byte [ebp - 1], 0
mov ebx, eax
test ebx, ebx
jle 0x11093f1
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.KERNEL32.DLL_WriteFile
dec ebx
jne 0x11093d3
pop ebx
pop ecx
pop ebp
ret
Function at 0x11093f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe0c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.01006b50
mov eax, dword [ebp - 0x10]
call fcn.01006b50
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x1109602
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0xa0
push 2
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0xc]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateFileW
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x1109462
xor ebx, ebx
jmp 0x11095dc
cmp byte [ebp + 8], 0
je 0x110949b
mov eax, dword [ebx + 0xa58]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0x34]
mov ecx, edx
add ecx, dword [eax + 0x50]
cmp ecx, 0x7f600000
jae 0x1109489
cmp edx, 0x7f600000
jb 0x1109492
mov dword [ebp - 0x18], 0x400000
jmp 0x11094aa
mov dword [ebp - 0x18], 0x7f600000
jmp 0x11094aa
mov eax, dword [ebx + 0xa58]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push 0x120
push 0x11143b8
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
push ebp
mov eax, 0x88
call fcn.011093c4
pop ecx
push 0
lea eax, [ebp - 4]
push eax
push 0x20
push 0x11144d8
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
push ebp
mov eax, 0x38
call fcn.011093c4
pop ecx
push 0
lea eax, [ebp - 4]
push eax
push 0x2a
push 0x11144f8
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
lea eax, [ebp - 0x1ee]
xor ecx, ecx
mov edx, 0x1d6
call fcn.01004858
lea eax, [ebp - 0x1f4]
mov edx, dword [ebp - 0x10]
mov ecx, 0
call fcn.01006dac
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1ee]
call fcn.010141e4
push 0
lea eax, [ebp - 4]
push eax
push 0x1d6
lea eax, [ebp - 0x1ee]
push eax
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
push 0
push 0xdc
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
push 0
push 0x21a
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push 0x1109614
push 0x1109630
call sub.KERNEL32.DLL_GetModuleHandleA
push eax
call fcn.0100c1e8
mov ebx, eax
push 0x1109630
call sub.KERNEL32.DLL_GetModuleHandleA
sub ebx, eax
mov dword [ebp - 0x14], ebx
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1109609
lea eax, [ebp - 0x1f4]
call fcn.01006134
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.01006b60
ret
Function at 0x110afe4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.01006b50
mov eax, dword [ebp - 8]
call fcn.01006b50
xor eax, eax
push ebp
push 0x110b159
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
cmp byte [ebx + 0xa4c], 0
je 0x110b031
mov eax, ebx
call fcn.0110b1cc
mov dword [ebx + 0x198], 0x10002
xor eax, eax
mov dword [ebx + 0x6a8], eax
xor eax, eax
mov dword [ebx + 0x6c4], eax
mov byte [ebx + 0xa4c], 1
mov byte [ebx + 0xa44], 0
xor eax, eax
mov dword [ebx + 0xa48], eax
mov dl, 1
mov eax, dword [0x10d4e20]
call fcn.010d5a74
mov esi, eax
mov dword [ebx + 0xa58], esi
mov ecx, 0x80000000
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.010d69f8
mov eax, dword [ebx + 0xa58]
cmp dword [eax + 0x44], 1
jne 0x110b131
cmp byte [eax + 0x40], 0
je 0x110b0f1
movzx eax, byte [ebp + 8]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.01013e5c
lea eax, [ebp - 0x10]
mov edx, 0x110b178
call fcn.01006f7c
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.011093f8
test al, al
je 0x110b131
lea eax, [ebx + 0xa50]
mov edx, dword [ebp - 4]
call fcn.01006b68
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.01013e5c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x110b178
call fcn.0100703c
lea eax, [ebx + 0x128]
push eax
lea eax, [ebx + 0xe4]
push eax
push 0
push 0
push 6
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.01006bf4
push eax
mov eax, dword [ebp - 4]
call fcn.01006bf4
push eax
call sub.KERNEL32.DLL_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x110b131
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x110b160
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.01006b60
lea eax, [ebp - 8]
mov edx, 2
call fcn.01006b60
ret