joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b53c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cvttss2si eax, xmm2
push edi
mov edi, ecx
movaps xmm4, xmm2
movss dword [ebp - 4], xmm3
movsx edx, ax
movss dword [ebp - 8], xmm4
cmp dword [0x879340c], edx
jl 0x100b54ff
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, edx
cmp dword [0x879340c], eax
jg 0x100b54ff
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b54ff
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b54ff
movss xmm0, dword [ebp + 0x18]
divss xmm0, dword [ebp + 0x20]
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, dword [ebp + 0x1c]
movss dword [ebp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp + 0x18]
mov ecx, 0x8000
movss xmm0, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test cx, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
je 0x100b548f
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x100b5495
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x100b556c
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
push edi
call dword [ebp + 0x24]
add esp, 0x10
pop edi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
movss xmm2, dword [ebp + 0x14]
divss xmm1, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
divss xmm2, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [ebp + 8]
call eax
add esp, 0x30
pop edi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100c44b0
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x101a306c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov dword [esp + 0x24], 0
cmp dword [0x10327210], 2
push edi
jne 0x100c4543
movq xmm0, qword [0x10327238]
lea ecx, [esp + 0x10]
mov ax, word [0x10327240]
mov edx, 0xe
mov dword [esp + 0x10], 0x3f30ec1
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], ax
call fcn.100c4990
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10327214], 1
mov dword [0x10327210], 3
call esi
mov dword [0x10327208], eax
call esi
mov dword [0x1032720c], eax
mov dword [0x10327200], 0x7530
mov dword [0x10327204], 0x7530
mov ecx, 0x10250083
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c4550
sub ecx, edx
je 0x100c45c7
push ecx
push 0x10250083
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
mov byte [esp + 0x18], al
call fcn.1000a8a0
mov dword [esp + 0x28], 1
lea esi, [esp + 0x10]
mov edi, dword [esp + 0x24]
cmp edi, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmovae esi, ecx
test eax, eax
je 0x100c45cf
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c45cf
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c45bc
inc eax
cmp eax, edx
jb 0x100c45b0
jmp 0x100c45cf
sub eax, esi
cmp eax, 0xffffffff
je 0x100c45cf
xor bl, bl
jmp 0x100c45d1
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov bl, 1
test byte [esp + 0x28], 1
je 0x100c4608
cmp edi, 0x10
jb 0x100c4608
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c45fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c46d7
push edx
push ecx
call fcn.100ed724
add esp, 8
test bl, bl
je 0x100c461f
cmp byte [0x1025044f], 0
jne 0x100c461f
mov ecx, 0x101a4b38
call fcn.1002fd00
mov ecx, dword [0x105a7ed8]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100c4678
nop dword [eax + eax]
mov byte [eax + 0x15], 0xff
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100c465a
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100c4656
cmp eax, dword [ecx + 8]
jne 0x100c4656
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100c4646
mov eax, ecx
jmp 0x100c4670
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100c4670
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100c4664
cmp eax, dword [0x105a7ed8]
jne 0x100c4630
mov ecx, 0x105a7ed8
call fcn.100ad930
mov ecx, 0x105a80dc
call fcn.100ad930
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x28]
push eax
push 0x40
push 1
push 0x83703d
mov dword [0x105a7f80], 0
call esi
lea eax, [esp + 0x28]
mov byte [0x83703d], 0xc
push eax
push dword [esp + 0x2c]
push 1
push 0x83703d
call esi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
call fcn.10144859
int3
Function at 0x100c5500
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100c568e
cmp dword [0x10327214], 2
je 0x100c568e
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x10250194]
mov dword [0x10327214], 1
mov dword [0x10327210], 0
call esi
mov dword [0x10327208], eax
call esi
mov dword [0x1032720c], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x10327200], 0x7530
mov dword [0x10327204], edi
mov dword [0x103271f8], 0
movzx eax, byte [eax + 8]
mov dword [0x103271fc], eax
mov byte [ebp - 0x108], 0xc1
mov byte [ebp - 0x106], 0x14
nop dword [eax + eax]
mov byte [ebp - 0x105], 0
mov ebx, 4
cmp esi, 0x190
jae 0x100c5626
mov edi, 6
lea eax, [ebp - 0x100]
sub edi, eax
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100c5618
cmp byte [eax + 0x30c], 0
je 0x100c5618
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 0x100c5626
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 0x100c55c1
push 0xffffffffffffffff
mov byte [ebp - 0x107], bl
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
call fcn.100c1570
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c55a0
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x10327238], xmm0
mov ax, word [ecx + 8]
mov word [0x10327240], ax
mov al, byte [ecx + 0xa]
mov byte [0x10327242], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
Function at 0x100c5cf0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1019e980
push 0x1013b1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101a306c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
push dword [ebp + 8]
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x150], esi
cmp esi, 0xffffffff
je 0x100c5eba
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push 0
lea eax, [ebp - 0x130]
push eax
push 8
lea eax, [ebp - 0x144]
push eax
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100c5dd4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c5eba
push dword [ebp - 0x140]
call fcn.100edd81
mov edi, eax
mov dword [ebp - 0x148], edi
push dword [ebp - 0x140]
push 0
push edi
call fcn.1013beb0
add esp, 0x10
push 0
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x140]
push edi
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100c5e36
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100edd7c
add esp, 4
jmp 0x100c5eba
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100c5e21
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x14c]
call fcn.1014d7f8
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100edd7c
add esp, 4
mov dword [ebp - 0x148], 0x8123
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100c5ebc
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100c7900
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178f60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x101937c4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000a8a0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1031b258]
lea ecx, [ebp - 0x48]
call fcn.1007dea0
push 0x100c78c0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1008ad30
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100c79b0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c79a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c7acf
push edx
push ecx
call fcn.100ed724
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 0x100c79fd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100c79f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c7ad4
push edx
push ecx
call fcn.100ed724
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1031b254
call fcn.100b28b0
push 0x1018fa3b
push str.StartLoadJewelStack
push 0x1031b254
call fcn.100b2a60
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 0x100c7790
push 0x7dc964
push 0xe9
call fcn.100c9b20
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 0x100c7890
push 0x7dd634
push 0xe9
call fcn.100c9b20
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.100ed713
mov esp, ebp
pop ebp
ret
call fcn.10144859
call fcn.10144859
int3
Function at 0x100c9130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 0x10], edx
push edi
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c9179
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x10]
push esi
call fcn.1013b3b0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c9163
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
ret

Function at 0x100c91c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
mov byte [ebp - 0x14], 0xe9
push eax
mov esi, ecx
mov dword [ebp - 8], 0
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c920e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c91f9
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
ret

Function at 0x100c9250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
mov byte [ebp - 0x14], al
mov esi, ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c92a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c928b
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
ret
Function at 0x100c9310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0xe8c578]
mov esi, ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100c9420
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100c9410
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
mov ecx, esi
call fcn.100c9460
push 0x1fc
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.1013beb0
mov dword [ebp - 0x200], 0x1fc
add esp, 0xc
mov dword [ebp - 0x1f8], 0x444
xor ecx, ecx
mov eax, dword [0xe8c578]
mov dword [ebp - 0x1fc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1f4], 0x13
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f0], 0x445
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x60], 0x1388
nop
mov al, byte [ecx + str.Game_has_been_minimized]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x100c93d0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1024ff71]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100c93f0
lea eax, [ebp - 0x200]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
push 5
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
mov ecx, esi
call fcn.100c9460
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
ret
Function at 0x100c9a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [ebx], edi
push eax
push dword [ebp - 8]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100ed713
mov esp, ebp
pop ebp
ret

Function at 0x100c9a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 8]
movss dword [ebp - 0xc], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100ed713
mov esp, ebp
pop ebp
ret

Function at 0x100c9ad0
Capabilities:
Allocate or change rwx memory

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

Function at 0x100c9b20
Capabilities:
Allocate or change rwx memory

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

Function at 0x100c9b80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a306c]
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.1013b3b0
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.100ed713
mov esp, ebp
pop ebp
ret
Function at 0x100c9be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push ebx
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
mov edi, dword [ebp - 0xc]
push edi
call fcn.1013beb0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100ed713
mov esp, ebp
pop ebp
ret

Function at 0x100c9c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a306c]
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.10144269
push dword [ebp - 0xc]
mov esi, eax
push ebx
push esi
call fcn.1013b3b0
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.1013beb0
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.100ed713
mov esp, ebp
pop ebp
ret
Function at 0x100c9ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x10324d00]
test edx, 0xffff0000
jne 0x100c9dd4
push ebx
push 0x101954f8
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x100c9dd3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100c9dd3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x100c9dd3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100c9dc9
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ebx
push esi
cmp ecx, dword [edi + 8]
jne 0x100c9d94
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100c9dd2
xor esi, esi
test edx, edx
je 0x100c9dc9
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + esi*4 + 0xc]
mov edx, ebx
call fcn.100c9a30
inc esi
cmp esi, dword [edi]
jb 0x100c9d74
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100c9dd2
xor esi, esi
test edx, edx
je 0x100c9dc9
mov ebx, dword [ebp + 8]
mov edx, dword [edi + esi*8 + 0x10]
mov ecx, dword [edi + esi*8 + 0xc]
add edx, ebx
call fcn.100c9a30
inc esi
cmp esi, dword [edi]
jb 0x100c9db5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100c9de0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x13], al
mov al, byte [ebp + 0x10]
push esi
mov byte [ebp - 0x12], al
mov esi, ecx
mov eax, dword [edx]
mov dword [ebp - 0x11], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push esi
mov byte [ebp - 0x14], 0xf
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c9e37
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed713
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov ax, word [ebp - 0x10]
mov word [esi + 4], ax
mov al, byte [ebp - 0xe]
mov byte [esi + 6], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c9e22
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
ret