joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005c770
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005c806
push ebx
push esi
call fcn.1005c550
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x100335c0
push 2
call esi
mov dword [0x1014782c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10033780
push 7
call esi
push 0x10033550
push 0x4d0e2f
push 0xe8
mov dword [0x10147830], eax
mov dword [0x10147828], ebx
call fcn.10075a00
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0xc
mov dword [0x101513d4], ebx
push 0
push 0
push 0
push 0x100595a0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100595e0
push 0
push 0
call esi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 0xc
Function at 0x1005e3c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x1005e3e5
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x1005e3f1
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x1005e3fd
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x1005e409
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x1013f18c], 0x10
lea ebx, [esi - 1]
mov ecx, 0x1013f178
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
cmovae ecx, dword [0x1013f178]
mov edi, 0x190
cmp dword [0x1013f16c], 1
mov eax, 0x2bc
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013f174]
mov edx, edi
push 0
push 0
push 0
cmove edx, eax
mov eax, dword [0x1013f170]
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c588], eax
mov ecx, 0x1013f19c
cmp dword [0x1013f1b0], 0x10
mov eax, 0x2bc
mov edx, edi
cmovae ecx, dword [0x1013f19c]
cmp dword [0x1013f190], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013f198]
cmove edx, eax
mov eax, dword [0x1013f194]
push 0
push 0
push 0
push edx
push 0
push 0
add eax, ebx
push 0
push eax
call esi
mov dword [0xe8c58c], eax
mov ecx, 0x1013f1c0
cmp dword [0x1013f1d4], 0x10
mov eax, 0x2bc
mov edx, edi
cmovae ecx, dword [0x1013f1c0]
cmp dword [0x1013f1b4], 1
push ecx
cmove edx, eax
mov eax, dword [0x1013f1b8]
push 0
push 3
push 0
lea eax, [eax + ebx*2]
push 0
push dword [0x1013f1bc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call esi
mov dword [0xe8c590], eax
mov ecx, 0x1013f1e4
cmp dword [0x1013f1f8], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x1013f1e4]
cmp dword [0x1013f1d8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x1013f1e0]
cmove edi, eax
mov eax, dword [0x1013f1dc]
push 0
push 0
push 0
push edi
push 0
push 0
add eax, 0xc
push 0
push eax
call esi
push str.Arial
push 0
push 3
push 0
push 0
push 0xa0
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [0xe8c594], eax
lea eax, [ebx - 2]
push 0
push eax
call esi
mov esi, eax
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
mov ecx, 0x1030a908
push eax
call fcn.10026cd0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.10078509
mov esp, ebp
pop ebp
ret 8
Function at 0x1005eea0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119255
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1013e00c]
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 0x1005ecd0
push 0x78c015
push 0xe9
call fcn.10075a00
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 0x1005ed10
push 0x78a01b
push 0xe9
call fcn.10075a00
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 0x1005ea60
push 0x6403f5
push 0xe9
call fcn.10075a00
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 0x1005ec60
push 0x788c59
push 0xe9
call fcn.10075a00
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 0x10130040
call fcn.10007410
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10147838]
lea ecx, [ebp - 0x48]
call fcn.10007cf0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1005f1a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1005f076
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005f06c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f0ff
push edx
push ecx
call fcn.10078831
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 0x1005f0bf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005f0b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005f0ff
push edx
push ecx
call fcn.10078831
add esp, 8
push str.Data__Files__Lua__Configs__MessageColors.lua
mov ecx, 0x10147834
call fcn.10040270
push 0x10130020
push str.StartLoadCustomMessageColors
push 0x10147834
call fcn.10040430
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.10078509
mov esp, ebp
pop ebp
ret
call fcn.100ed889
int3
Function at 0x1005fe40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1013e00c]
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 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1005fe87
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10078509
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 0x1005ffa0
cmp dword [ebp - 0x1e], 0x36
jne 0x1005ffa0
cmp byte [ebp + 0x10], 0
mov eax, 0x1014df9c
push esi
push 0
mov esi, 0x1014dfcc
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 [0x1014dffc]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1014e000]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014e004]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1014e008]
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 [0x1014dffc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1014e000]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014e004]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1014e008]
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 [0x1014dffc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1014e000]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1014e004]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1014e008]
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.10078509
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.10078509
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10066660
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, dword [ecx + 0x48]
mov dword [0x1015147c], eax
mov eax, dword [ecx + 0x4c]
mov dword [0x101514b0], eax
mov eax, dword [ecx + 0x50]
mov dword [0x101513f0], eax
mov eax, dword [ecx + 0x54]
mov dword [0x101513ec], eax
mov eax, dword [ecx + 0x58]
mov dword [0x101513f4], eax
mov eax, dword [ecx + 0x5c]
mov dword [0x101513f8], eax
mov eax, dword [ecx + 0x60]
mov dword [0x101513e4], eax
mov eax, dword [ecx + 0x64]
mov dword [0x1015144c], eax
mov eax, dword [ecx + 0x68]
mov dword [0x1015143c], eax
mov eax, dword [ecx + 0x6c]
mov dword [0x10151490], eax
mov eax, dword [ecx + 0x70]
mov dword [0x10151430], eax
mov eax, dword [ecx + 0x74]
mov dword [0x1015146c], eax
mov eax, dword [ecx + 0x78]
mov dword [0x10151408], eax
mov eax, dword [ecx + 0x7c]
mov dword [0x10151418], eax
mov eax, dword [ecx + 0x80]
xor ecx, ecx
mov dword [0x10151438], eax
mov eax, dword [0x7bc4f04]
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x10066718
jmp dword [eax*4 + 0x10066834]
cmp dword [0x1014d1c0], 0xffff
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
sbb bl, bl
push 1
and bl, 0xd
push 0x556c38
add bl, 2
call esi
mov byte [0x556c38], bl
jmp 0x100667a6
cmp dword [0x1014d1c4], 0xffff
jmp 0x10066729
cmp dword [0x1014d1c8], 0xffff
jmp 0x10066729
cmp dword [0x1014d1cc], 0xffff
jmp 0x10066729
cmp dword [0x1014d1d0], 0xffff
jmp 0x10066729
cmp dword [0x1014d1d4], 0xffff
jmp 0x10066729
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x556c38
call esi
mov byte [0x556c38], 0xf
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push 0x556c38
call esi
call fcn.10074cf0
call fcn.10074d70
mov ax, word [0x101334bc]
movq xmm0, qword [0x101334b4]
mov word [0x1014e910], ax
mov al, byte [0x101334be]
mov word [0x1014e8bc], 0
movq qword [str.Hope], xmm0
mov byte [0x1014e912], al
mov dword [0x1014e8c0], 0
mov word [0x1014e8c4], 0
mov dword [0x1014e91c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1013ef80
mov dword [0x1014e918], eax
call fcn.10007a80
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10078509
mov esp, ebp
pop ebp
ret
Function at 0x10067530
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100676cb
cmp dword [0x10151550], 2
je 0x100676cb
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
imul edi, dword [0x1014d128], 0x3e8
mov dword [0x10151550], 1
mov dword [0x101514f4], 0
call esi
mov dword [0x10151534], eax
call esi
cmp byte [0x1013ef46], 1
mov ecx, 0x3e8
mov dword [0x1015154c], eax
mov eax, 0x7530
cmove eax, ecx
mov dword [0x10151530], edi
mov dword [0x10151554], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x10151558], 0
movzx eax, byte [eax + 8]
mov dword [0x1015152c], eax
xor al, al
mov edi, 6
mov byte [ebp - 0x105], al
mov ebx, 4
lea eax, [ebp - 0x100]
sub edi, eax
nop word [eax + eax]
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x10067647
cmp byte [eax + 0x30c], 0
je 0x10067647
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x10067655
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100675f0
mov al, byte [ebp - 0x105]
push 0xffffffffffffffff
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
mov byte [ebp - 0x104], 0xc1
mov byte [ebp - 0x103], bl
mov byte [ebp - 0x102], 0x14
call fcn.10064d30
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100675d0
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x10151520], xmm0
mov ax, word [ecx + 8]
mov word [0x10151528], ax
mov al, byte [ecx + 0xa]
mov byte [0x1015152a], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10078509
mov esp, ebp
pop ebp
ret
Function at 0x1006e9c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xd
call edi
bt ax, 8
mov esi, dword [sym.imp.USER32.dll_keybd_event]
jae 0x1006e9ee
push 0
push 2
push 0
push 0xd
mov dword [0x1013ee10], 1
call esi
push 0x1b
call edi
bt ax, 8
jae 0x1006ea0d
push 0
push 2
push 0
push 0x1b
mov dword [0x1013ee10], 1
call esi
mov eax, 0x482b70
call eax
mov edi, 0x6d6c20
cmp byte [eax + 0x849c], 0
jne 0x1006ea86
xor esi, esi
mov ebx, 0x402bc0
nop dword [eax]
push esi
call ebx
mov ecx, eax
mov eax, 0x96a4c0
call eax
cmp byte [eax + 0x30c], 0
je 0x1006ea6b
inc esi
cmp esi, 5
jl 0x1006ea30
cmp dword [0x1013ee1c], 0xffffff4c
jl 0x1006ea86
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x1013ee1c], 0x14
jmp 0x1006ea86
cmp dword [0x1013ee1c], 0
jge 0x1006ea86
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x1013ee1c], 0x14
mov eax, dword [0xe60b4c]
test eax, eax
je 0x1006eae3
cmp eax, 1
je 0x1006eae3
cmp eax, 2
je 0x1006eae3
cmp eax, 3
je 0x1006eae3
cmp eax, 4
je 0x1006eae3
cmp eax, 5
je 0x1006eae3
cmp dword [0x1013ee14], 0xffffff4c
jle 0x1006eac6
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x1013ee14], 0x14
cmp dword [0x1013ee18], 0xa
jle 0x1006eb1c
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x1013ee18], 0x14
jmp 0x1006eb1c
cmp dword [0x1013ee14], 0xfffffff6
jge 0x1006eafe
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x1013ee14], 0x14
cmp dword [0x1013ee18], 0xc1
jge 0x1006eb1c
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x1013ee18], 0x14
cmp dword [0x1013ee10], 0
jne 0x1006eb42
cmp dword [0x1013ee20], 0
jge 0x1006eb60
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x1013ee20], 0x32
jmp 0x1006eb60
cmp dword [0x1013ee20], 0xfffffed4
jle 0x1006eb60
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x1013ee20], 0x32
xor esi, esi
mov ebx, 0xe60b4c
mov eax, 0x790b10
nop dword [eax]
cmp dword [ebx], esi
jne 0x1006ebf8
push 0xd
push 0x46
push 0x112
push 0x1f5
call eax
add esp, 0x10
test al, al
je 0x1006ebb2
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1006ebb2
push 0
push 0
push 0x19
call edi
add esp, 0xc
mov eax, 0x405b10
call eax
push 0xd
push 0x46
push 0x112
push 0x1a8
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1006ebf3
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1006ebf3
push 0
push 0
push 0x19
call edi
add esp, 0xc
xor cl, cl
mov eax, 0x4d6a60
call eax
mov eax, 0x790b10
inc esi
cmp esi, 5
jl 0x1006eb70
mov eax, 0x637770
call eax
push 0
push 1
push 1
sub esp, 0xc
mov eax, 0x637c60
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
push 0
sub esp, 0x10
mov dword [esp + 0xc], 0x44000000
mov dword [esp + 8], 0x44800000
mov dword [esp + 4], 0
mov dword [esp], 0
push 0xc943
call eax
add esp, 0x30
mov eax, 0x6366f0
pop edi
pop esi
pop ebx
jmp eax
Function at 0x100759b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
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.10078509
mov esp, ebp
pop ebp
ret

Function at 0x10075a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013e00c]
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 0x10075a2c
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.10078509
mov esp, ebp
pop ebp
ret

Function at 0x10075a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1013e00c]
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.100dbd10
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.10078509
mov esp, ebp
pop ebp
ret

Function at 0x10075ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1013e00c]
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.100e547f
push dword [ebp - 0xc]
mov esi, eax
push ebx
push esi
call fcn.100dbd10
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.100dba90
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.10078509
mov esp, ebp
pop ebp
ret
Function at 0x10075b60
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 [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x101513d4]
test edx, 0xffff0000
jne 0x10075c95
push edi
push 0x101334bc
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10075c94
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x10075c94
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10075c94
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10075c8a
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
push edi
push esi
cmp ecx, dword [ebx + 8]
jne 0x10075c32
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 0x10075c93
xor edi, edi
test edx, edx
je 0x10075c8a
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 0x10075c03
jmp 0x10075c8a
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 0x10075c93
xor eax, eax
mov dword [ebp - 0xc], eax
test edx, edx
je 0x10075c8a
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 0x10075c53
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.10078509
mov esp, ebp
pop ebp
ret
Function at 0x10075cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1013e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
movzx esi, dx
mov edi, ecx
push esi
call fcn.10078a38
push esi
mov ebx, eax
push 0x90
push ebx
call fcn.100dba90
add esp, 0x10
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10075d0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10078509
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call fcn.100dbd10
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10075cf8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10078509
mov esp, ebp
pop ebp
ret