joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f820
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45388d
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x894e74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1a4], eax
call fcn.0040a820
cmp byte [edi], 0
mov dword [ebp - 4], 0
je 0x42f8c8
push dword [edi + 0xc]
lea eax, [ebp - 0x1b0]
push dword [edi + 8]
push eax
call fcn.0042f660
push eax
push 0xdb0
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 1
push eax
call fcn.0042f5f0
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 2
call fcn.0040a910
push dword [ebp - 0x1e0]
call fcn.004445d6
push dword [ebp - 0x1b0]
mov byte [ebp - 4], 0
call fcn.004445d6
add esp, 8
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a0], eax
call fcn.0040b6e0
mov esi, eax
lea eax, [ebp - 0x1c8]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.0041c580
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1bc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.0040a7c0
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0042f790
lea eax, [ebp - 0x1bc]
mov ecx, ebx
push eax
call fcn.0042f790
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040a6a0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 5
call fcn.0040ad40
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ab70
lea ecx, [ebp - 0x19c]
call fcn.0040ad40
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ab70
lea ecx, [ebp - 0x19c]
call fcn.0040ad40
cmp byte [edi + 1], 0
je 0x42f9e8
push 0x3f4
lea eax, [ebp - 0x1b0]
push eax
call fcn.00410f60
push eax
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 6
call fcn.0040ab70
push dword [ebp - 0x1b0]
mov byte [ebp - 4], 5
call fcn.004445d6
add esp, 4
lea ecx, [ebp - 0x19c]
push 0x4567ac
call fcn.0040abb0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00410e70
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040abb0
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x19c]
push eax
call fcn.00411a80
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040cfa0
push 0x110
push 0x160
lea ecx, [ebp - 0x190]
push ecx
push 0x80
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1b0]
mov esi, eax
call fcn.004445d6
add esp, 4
test esi, esi
je 0x42fa65
push dword [ebp - 0x1a4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x190]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x19c]
call fcn.004445d6
push dword [ebp - 0x1bc]
call fcn.004445d6
push dword [ebp - 0x1c8]
call fcn.004445d6
push dword [ebp - 0x1d4]
call fcn.004445d6
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443c2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42fe10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453a04
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x894e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x38]
mov dword [edi], 0x10000
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
call fcn.0040a820
lea ecx, [edi + 0x44]
mov dword [ebp - 4], 0
call fcn.0040a820
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 1
call fcn.0040a820
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
lea esi, [edi + 0x68]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esi
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0040a820
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 4
call fcn.0040a820
add esi, 0x18
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0040a820
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 6
call fcn.0040a820
lea eax, [edi + 0x98]
push eax
call fcn.00409c00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431460
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov eax, dword [edx]
cmp eax, dword [edi + 0xb4]
jne 0x431490
cmp dword [edx + 8], 0xffffff65
jne 0x431490
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x4314ba
sub eax, 0x14
je 0x431498
sub eax, 2
je 0x4314ba
pop edi
xor al, al
pop esi
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431490
lea ecx, [edi + 0xb4]
call fcn.00431c70
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x431490
mov ecx, edi
call fcn.004304e0
pop edi
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x433240
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x894e74]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x898998], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x4332c0
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0040bbd0
push 0x4010
push 0x160
mov ecx, dword [eax]
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x80
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.004445d6
mov ecx, dword [ebp - 0x160]
add esp, 4
mov eax, esi
mov dword [edi], ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443c2
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x898990]
test eax, eax
je 0x4332e7
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004443c2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433300
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x894e74]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x164]
cmovne ecx, edx
push ecx
push 0x160
push eax
push 0x90
push 0x4556a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004443c2
mov esp, ebp
pop ebp
ret 4
Function at 0x4335c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x894e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xd66
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
lea ecx, [ebp - 0x18]
sete al
mov byte [esi + 0x30], al
call fcn.0040a820
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.00411960
lea ecx, [ebp - 0x18]
call fcn.0040bb30
lea ecx, [ebp - 0x18]
call fcn.0040bae0
lea eax, [ebp - 0x18]
push eax
call fcn.004106b0
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0xc]
call fcn.0040a910
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x18]
call fcn.004445d6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433670
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453dc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x894e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CExtractDialog.0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
call fcn.0040a820
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040a820
mov word [esi + 0x24], 0
mov eax, esi
mov word [esi + 0x30], 0
mov byte [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433e30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453e90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x894e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x433ea3
mov esi, dword [ebx + 4]
jmp 0x433ea9
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x433ebd
movzx ecx, word [edi]
mov esi, dword [esi + 4]
cmp cx, word [esi + 8]
je 0x433f04
cmp esi, eax
jne 0x433eb0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x433eed
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x433f3f
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x433f61
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00444be7
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x433f47
mov dword [ecx], edi
jmp 0x433f61
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x433f61
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004397f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a060
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
mov esi, dword [edi + 0xc]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x18]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
nop
cmp ebx, ecx
jne 0x43a0a8
mov edx, ecx
jmp 0x43a0ad
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x43a0f9
mov dx, word [eax + 8]
cmp dx, word [esi]
je 0x43a0be
mov eax, dword [eax]
jmp 0x43a0a0
movzx esi, word [esi]
mov edx, eax
mov dword [ebp + 0xc], esi
cmp ebx, ecx
jne 0x43a0ce
mov esi, ecx
jmp 0x43a0d3
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x43a0e4
mov esi, dword [ebp + 0xc]
cmp si, word [eax + 8]
jne 0x43a0e4
mov eax, dword [eax]
jmp 0x43a0c6
cmp edx, eax
je 0x43a0f9
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8

Function at 0x43a110
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x43a169
cmp dword [ecx], edi
jne 0x43a161
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x43a171
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x43a171
cmp dword [ecx], edi
jne 0x43a174
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push 1
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push edi
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00439a30
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10008120
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100f7080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000821a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10008213
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100081f9
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100081f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100081f9
mov edx, dword [esi]
test edx, edx
jne 0x100081c2
push 0x200
push edx
push dword [0x1010cb20]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10008213
jmp 0x100081ed
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100081ed
shl eax, 3
push eax
push edx
push 0
push dword [0x1010cb20]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10008213
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10008181
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10008272
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10008272
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov eax, dword [esi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10008263
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.10007fb0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 4
mov dword [ebp - 0x24], ecx
cmp ebx, dword [esi + 8]
jb 0x10008230
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004f727
mov esp, ebp
pop ebp
ret

Function at 0x10008290
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x100082f4
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x100082e3
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100082d3
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, dword [edi + 8]
jb 0x100082b0
pop esi
push dword [edi]
push 0
push dword [0x1010cb20]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10008300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100f7080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1012aba0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10008361
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004f727
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10008382
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100083a3
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100083a3
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1000839d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100083a3
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.1004f727
mov esp, ebp
pop ebp
ret
Function at 0x1000b390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070220
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100f7080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0
cmp byte [ebp + 0x14], cl
cmovne ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1000b3ce
mov byte [ebp - 0x10], cl
jmp 0x1000b3eb
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10050bb0
add esp, 0xc
mov dword [ebp - 4], 0
cmp byte [ebp - 0x10], 0
je 0x1000b420
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000b440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070240
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100f7080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp byte [ebp + 0x14], al
mov esi, dword [ebp + 8]
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x1000b483
xor bl, bl
jmp 0x1000b4a2
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebp - 0x1c]
test eax, eax
mov ecx, dword [ebp + 0x10]
setne bl
push ecx
push esi
push dword [ebp + 0xc]
mov byte [ebp - 0x10], bl
call fcn.10050bb0
add esp, 0xc
mov dword [ebp - 4], 0
test bl, bl
je 0x1000b4d2
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070240
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x100f7080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov eax, esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
sub eax, 1
je 0x1000b54a
sub eax, 1
je 0x1000b5bb
sub eax, 2
je 0x1000b5d9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov bl, dl
mov ecx, dword [ebp + 0x14]
sub bl, al
movzx ecx, cl
dec bl
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x20], 0
test ecx, ecx
jne 0x1000b56e
mov byte [ebp - 0x14], cl
xor cl, cl
jmp 0x1000b58d
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [ebp + 0x10]
setne cl
mov byte [ebp - 0x14], cl
mov byte [eax], bl
mov dword [ebp - 4], 0
test cl, cl
je 0x1000b5b1
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp + 0x10], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
sub edx, esi
push dword [ebp + 0x14]
sub edx, eax
movzx ecx, dx
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.1000bd00
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
lea eax, [ecx + esi]
sub edx, eax
push edx
push ecx
mov eax, esp
mov dword [eax], ecx
call fcn.1000bda0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret