joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c0f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000c11c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x1000c12d
push 0x64
push esi
call fcn.100858b9
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000c2c0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x1000c200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 1
push 0x1000c200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 2
push 0x1000c200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 3
push 0x1000c200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 4
push 0x1000c200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
test eax, eax
je 0x1000c353
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp dword [pe_dos_header]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000c3a0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10138018]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x5045454
push eax
push 0
push 0
push 0x1012a424
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
shl ecx, 0x10
or ecx, eax
movzx eax, word [esp + 0x16]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [esp + 0x1c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x16]
xor eax, 0x5d78a569
xor ecx, 0xf45bc123
push ecx
push eax
mov eax, dword [esp + 0x10]
xor eax, 0x12b586fe
push eax
lea eax, [esi + 4]
push str._08X__08X__08X__08X
push eax
call fcn.1000c4e0
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop esi
xor ecx, esp
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x10024ea0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114275
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x1012a560
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100102b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1013b138]
lea ecx, [ebp - 0x48]
call fcn.1000d740
push 0x10024dc0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10012f70
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10024f57
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024f4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025076
push edx
push ecx
call fcn.100858b9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10024fa4
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024f9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025076
push edx
push ecx
call fcn.100858b9
add esp, 8
push str.Data__Local__General__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1013b134
call fcn.10041da0
push 0x101295a0
push str.StartLoadJewelStack
push 0x1013b134
call fcn.10041f60
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x10024c70
push 0x7dc964
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x10024d90
push 0x7dd634
push 0xe9
call fcn.1007e590
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret
call fcn.100e88be
int3
Function at 0x10026ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf7], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
mov byte [0x62ee41], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 8]
mov byte [0x62eee4], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62eee4
call esi
push 0x10025e00
push 0x4dada4
push 0xe8
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100d37e0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x10026020
push 0x47fc85
push 0xe9
call fcn.1007e590
push 0x10026aa0
push 0x520ecf
push 0xe8
call fcn.1007e590
push 0x10026aa0
push 0x520f1f
push 0xe8
call fcn.1007e590
push 0x10026aa0
push 0x63e743
push 0xe8
call fcn.1007e590
push 0x10026aa0
push 0x640eb2
push 0xe8
call fcn.1007e590
push 0x10026aa0
push 0x7d2dd9
push 0xe8
call fcn.1007e590
add esp, 0x48
push 0x10026aa0
push 0x7e6c0f
push 0xe8
call fcn.1007e590
push 0x10026aa0
push 0x84aef7
push 0xe8
call fcn.1007e590
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x1002e520
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 0xd
push 0x83503c
call esi
mov eax, 0x83503c
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0xd
push 0x83503c
call esi
push 0x1002e850
push 0x83503c
push 0xe9
call fcn.1007e590
push 0x1002e9d0
push 0x8373a0
push 0xe9
call fcn.1007e590
push 0x1002eda0
push 0x8373c0
push 0xe9
call fcn.1007e590
add esp, 0x24
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x83b879
call esi
mov eax, 0x83b879
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x83b879
call esi
push 0x1002ef50
push 0x83b879
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x8353d9
call esi
mov eax, 0x8353d9
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x8353d9
call esi
push 0x1002f170
push 0x8353d9
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x833b26
call esi
mov eax, 0x833b26
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x833b26
call esi
push 0x1002f3b0
push 0x833b26
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x8380da
call esi
mov eax, 0x8380da
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x8380da
call esi
push 0x1002f710
push 0x8380da
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push 0x7dd2c6
call esi
mov eax, 0x7dd2c6
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 7
push 0x7dd2c6
call esi
push 0x1002f9b0
push 0x7dd2c6
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push 0x837b4f
call esi
mov eax, 0x837b4f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push 0x837b4f
call esi
push 0x1002fac0
push 0x837b4f
push 0xe9
call fcn.1007e590
push fcn.1002e4c0
push 0x663ef4
push 0xe8
call fcn.1007e590
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x10065720
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10114275
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x78c015
call esi
push 0x10065550
push 0x78c015
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 0xa
push 0x78a01b
call esi
push 0x10065590
push 0x78a01b
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x6403f5
call esi
push 0x100652e0
push 0x6403f5
push 0xe9
call fcn.1007e590
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push 0x788c59
call esi
push 0x100654e0
push 0x788c59
push 0xe9
call fcn.1007e590
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 2
push 0x1012a560
call fcn.100102b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10140bc0]
lea ecx, [ebp - 0x48]
call fcn.1000d740
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10065a20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100658f6
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100658ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006597f
push edx
push ecx
call fcn.100858b9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x1006593f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065935
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006597f
push edx
push ecx
call fcn.100858b9
add esp, 8
push str.Data__Local__General__Lua__Configs__MessageColors.lua
mov ecx, 0x10140bbc
call fcn.10041da0
push 0x101295a0
push str.StartLoadCustomMessageColors
push 0x10140bbc
call fcn.10041f60
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret
call fcn.100e88be
int3
Function at 0x10070ef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10070f37
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x10071050
cmp dword [ebp - 0x1e], 0x36
jne 0x10071050
cmp byte [ebp + 0x10], 0
mov eax, 0x101471d4
push esi
push 0
mov esi, 0x10147204
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x10147234]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10147238]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014723c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10147240]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x10147234]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10147238]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014723c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10147240]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x10147234]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x10147238]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014723c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x10147240]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.1008550c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007ad40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d75f0
call esi
lea eax, [ebp - 8]
mov dword [0x4d75f0], 0x5e
push eax
push dword [ebp - 8]
push 4
push 0x4d75f0
call esi
push 0x100794e0
push 0x4d76fb
push 0xe8
call fcn.1007e590
push 0x100794e0
push 0x4d79c3
push 0xe8
call fcn.1007e590
push 0x100795c0
push 0x5edda9
push 0xe8
call fcn.1007e590
add esp, 0x24
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
mov dword [0x4d7a0e], 0x1e0
push eax
push dword [ebp - 8]
push 4
push 0x4d7a0e
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d7a18
call esi
lea eax, [ebp - 8]
mov byte [0x4d7a18], 0
push eax
push dword [ebp - 8]
push 1
push 0x4d7a18
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40a7ef
call esi
mov eax, 0x40a7ef
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40a7ef
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40a87e
call esi
mov eax, 0x40a87e
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40a87e
call esi
push 0x1007ac10
push 0x414086
push 0xe8
call fcn.1007e590
push 0x1007ac10
push 0x4140d9
push 0xe8
call fcn.1007e590
push 0x1007ac10
push 0x41412e
push 0xe8
call fcn.1007e590
push 0x1007ac10
push 0x4141ba
push 0xe8
call fcn.1007e590
push 0x1007ac10
push 0x4141eb
push 0xe8
call fcn.1007e590
add esp, 0x3c
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x414239
call esi
lea eax, [ebp - 8]
mov byte [0x414239], 0
push eax
push dword [ebp - 8]
push 1
push 0x414239
call esi
push 0x1007ac30
push 0x4d7534
push 0xe8
call fcn.1007e590
push 0x1007ac30
push 0x4d7568
push 0xe8
call fcn.1007e590
push 0x1007aca0
push 0x401e49
push 0xe8
call fcn.1007e590
push 0x1007acf0
push 0x40464e
push 0xe8
call fcn.1007e590
push 0x403243
push 0x403126
push 0xe9
call fcn.1007e590
push 0x1007a1a0
push 0x403fa0
push 0xe9
call fcn.1007e590
mov ecx, dword [ebp - 4]
add esp, 0x48
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x1007e540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1008550c
mov esp, ebp
pop ebp
ret

Function at 0x1007e590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x1007e5bc
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret

Function at 0x1007e5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0x40
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.100d3260
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008550c
mov esp, ebp
pop ebp
ret

Function at 0x1007e650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 8]
mov esi, edx
push eax
push 0x40
mov ebx, ecx
mov dword [ebp - 0xc], esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
add esi, 5
setb cl
neg ecx
or ecx, esi
push ecx
call fcn.100dcd53
push dword [ebp - 0xc]
mov esi, eax
push ebx
push esi
call fcn.100d3260
mov eax, dword [ebp - 0xc]
mov ecx, ebx
sub ecx, esi
sub ecx, 5
mov byte [eax + esi], 0xe9
mov dword [eax + esi + 1], ecx
add eax, 0xfffffffb
push eax
sub esi, ebx
mov byte [ebx], 0xe9
lea eax, [ebx + 5]
sub esi, 5
push 0x90
push eax
mov dword [ebx + 1], esi
call fcn.100d37e0
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008550c
mov esp, ebp
pop ebp
ret
Function at 0x1007e6f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10149d7c]
test edx, 0xffff0000
jne 0x1007e825
push edi
push 0x1012dce4
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1007e824
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x1007e824
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1007e824
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1007e81a
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push edi
push esi
cmp ecx, dword [ebx + 8]
jne 0x1007e7c2
mov dword [ebp - 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 0xc]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x1007e823
xor edi, edi
test edx, edx
je 0x1007e81a
mov esi, dword [ebx + edi*4 + 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp edi, dword [ebx]
jb 0x1007e793
jmp 0x1007e81a
mov dword [ebp - 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 0xc]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x1007e823
xor eax, eax
mov dword [ebp - 0xc], eax
test edx, edx
je 0x1007e81a
mov esi, dword [ebx + eax*8 + 0x10]
mov edi, dword [ebx + eax*8 + 0xc]
lea eax, [ebp - 8]
add esi, dword [ebp + 8]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [edi], esi
push eax
push dword [ebp - 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebx]
jb 0x1007e7e3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008550c
mov esp, ebp
pop ebp
ret