joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a24e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
cmp dword [edx + 0x14], 0xf
push ebx
mov ebx, dword [edx + 0x10]
push esi
push edi
mov edi, edx
jbe 0x100a24f9
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100a2515
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100a2504
push esi
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.100a28c0
mov eax, dword [ebp - 8]
test eax, eax
je 0x100a2533
pop edi
pop esi
add eax, 0x20
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100bb417
int3

Function at 0x100a2630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 8
cmp dword [edx + 0x14], 0xf
push ebx
mov ebx, dword [edx + 0x10]
push esi
push edi
mov edi, edx
jbe 0x100a2649
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100a2665
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100a2654
push esi
push edx
lea eax, [ebp - 8]
push eax
call fcn.100a28c0
mov ecx, dword [0x101f81ec]
pop edi
pop esi
mov eax, dword [eax + 4]
test eax, eax
pop ebx
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b7490
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x100b74fd
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x100b74f4
cmp eax, edx
je 0x100b74fd
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x100b74e8
pop edi
add eax, 0xc
pop esi
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100bb417
int3
Function at 0x100b75a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
cmp ebx, eax
je 0x100b7715
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 8], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10052990
push 0x94
push edi
call fcn.100bf656
mov edx, dword [ebp - 0xc]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x100b7671
cmp esi, dword [ebp + 0xc]
jne 0x100b7620
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x100b7708
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x100b7683
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x100b7686
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
cmp esi, dword [ebp + 0xc]
je 0x100b7708
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.10052990
push 0x94
push edi
call fcn.100bf656
mov edx, dword [ebp - 0xc]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x100b771c
cmp esi, dword [ebp + 0xc]
jne 0x100b76d7
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp esi, dword [ebp + 0xc]
jne 0x100b7690
mov eax, dword [ebp - 0x14]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100baef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1017c400]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
movss xmm1, dword [edi]
movss xmm2, dword [edi + 4]
movss xmm0, dword [edi + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, dword [0x10176110]
movss dword [esp + 0x10], xmm0
jb 0x100bb0be
mov ecx, dword [0x101f0dc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101f04c8]
mov ebx, dword [0x101eabd0]
fstp dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101fa8bc]
cmp eax, dword [ecx + 4]
jle 0x100bb028
push 0x101fa8bc
call fcn.100bf2a3
add esp, 4
cmp dword [0x101fa8bc], 0xffffffff
jne 0x100bb028
lea eax, [esp + 0x1c]
mov ecx, 0x101eaa20
push eax
call fcn.1003aff0
mov eax, dword [ebx]
lea esi, [esp + 0x1c]
cmp dword [esp + 0x30], 0xf
mov ecx, ebx
cmova esi, dword [esp + 0x1c]
mov eax, dword [eax + 0x44]
call eax
mov edx, esi
mov ecx, eax
call fcn.1004a290
mov ecx, dword [esp + 0x30]
mov dword [0x101fa8b8], eax
cmp ecx, 0xf
jbe 0x100bb006
mov edx, dword [esp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100baffc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bb0d0
push ecx
push edx
call fcn.100bf656
add esp, 8
push 0x101fa8bc
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
call fcn.100bf252
add esp, 4
mov eax, dword [0x101fa8b8]
mov ecx, dword [0x101f0de0]
movss xmm0, dword [eax + ebx]
mov eax, dword [ecx]
movss dword [esp + 0x18], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
call dword [esp + 0xc]
movss xmm3, dword [esp + 0x10]
mov eax, dword [0x101f0ce8]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x18]
fstp dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm1, dword [eax + 0x20]
maxss xmm0, xmm3
mulss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100bb098
movaps xmm1, xmm0
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x100bb0be
divss xmm1, xmm3
movaps xmm0, xmm1
mulss xmm0, dword [edi]
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 4]
mulss xmm1, dword [edi + 8]
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100bf244
mov esp, ebp
pop ebp
ret
call fcn.1012a37e
int3
Function at 0x100bd250
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1017c400]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100bd3cc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100bd3b9
cmp dword [ebp - 0x28], 0x10
jb 0x100bd39d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100c0130
cmp dword [ebp - 0x1c], eax
jne 0x100bd39d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100c0130
cmp dword [ebp - 0x20], eax
je 0x100bd39d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100bd324
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x101f016c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100c0130
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100bd322
jmp 0x100bd3b9
jmp 0x100bd37d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100bd37d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101f016c]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100c0130
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100bd367
jmp 0x100bd3b9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100bd2a3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c0130
push edx
mov ecx, ebp
push eax
lea edx, [0x100bd3f8]
call fcn.100c00dc
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf244
add esp, 0x30
cmp ebp, esp
call fcn.100c0130
mov esp, ebp
pop ebp
ret
Function at 0x100bd410
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100bd250
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100bd4db
mov dword [ebp - 4], 0
jmp 0x100bd46c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100bd4db
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c0130
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd4d9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100c0130
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100bd070
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c0130
jmp 0x100bd463
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c0130
mov esp, ebp
pop ebp
ret

Function at 0x100bd4f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100bd59b
mov dword [ebp - 4], 0
jmp 0x100bd523
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100bd57e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c0130
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100bd57c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100c0130
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c0130
jmp 0x100bd51a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x101f016c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100c0130
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c0130
mov esp, ebp
pop ebp
ret
Function at 0x100bd5b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101fa8d0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100bd613
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c0130
test eax, eax
jne 0x100bd63e
mov eax, 0xa
jmp 0x100bd740
cmp dword [ebp + 0xc], 0
je 0x100bd68a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100bd688
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100bd6c6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100bd6b1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1011d900
add esp, 0xc
jmp 0x100bd6c6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1011d900
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c0130
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100c0130
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100c0130
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100bd764]
call fcn.100c00dc
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100c0130
mov esp, ebp
pop ebp
ret
Function at 0x100bde30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x101fa8c8]
mov dword [ebp - 4], eax
jmp 0x100bde57
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100bde70
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100bde6e
mov eax, dword [ebp - 4]
jmp 0x100bdef4
jmp 0x100bde4f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100c0130
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100bdef1
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100bdeb3
mov edx, dword [ebp - 4]
mov eax, dword [0x101fa8c8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x101fa8c8], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c0130
mov esp, ebp
pop ebp
ret

Function at 0x100be3e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100be430
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100be430
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100be430
xor eax, eax
jmp 0x100be471
mov dword [ebp - 4], 1
jmp 0x100be442
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100be46c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100be46a
xor eax, eax
jmp 0x100be471
jmp 0x100be439
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x100c6520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100c6543
push dword [ebx + 0x74]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x100c65a9
nop dword [eax + eax]
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x54]
test eax, eax
je 0x100c65a2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x100c6576
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x100c6565
jmp 0x100c65a2
test edx, edx
jne 0x100c657f
mov dword [edi + 0x54], ecx
jmp 0x100c6582
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100c658f
push esi
call eax
add esp, 4
push esi
call fcn.100c6940
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x100c6550
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100c6630
test edi, edi
je 0x100c6630
mov eax, dword [ecx]
test eax, eax
je 0x100c6623
mov ebx, eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100c65d8
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100c65eb
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100c65fc
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x100c65c2
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x100c6644
push ebx
call eax
add esp, 4
push edi
push ebx
call fcn.100c64a0
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100c665e
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x100c6694
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x100c6681
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x100c6694
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
test eax, eax
je 0x100c66ba
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1012178e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100c0840
mov eax, dword [0x1017c400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1012e0d2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x101217d0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1012192c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1013fb50
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x101f0858]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1012e2e1
mov ecx, dword [esi*4 + 0x101f0858]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10121925
cmp eax, dword [ecx + edi + 0x24]
jne 0x10121925
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10121925
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1012e2e1
add esp, 0x14
test edx, edx
jl 0x10121925
jg 0x1012189b
test eax, eax
jb 0x10121925
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10121925
jl 0x101218b5
cmp dword [ebp - 0x1008], eax
ja 0x10121925
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x101218d3
test ebx, ebx
je 0x1012190c
cmp ecx, edi
jae 0x1012190c
mov al, byte [ecx]
cmp al, 0xd
jne 0x101218ed
lea eax, [edi - 1]
cmp ecx, eax
jae 0x101218f9
cmp byte [ecx + 1], 0xa
jne 0x101218f9
inc ecx
jmp 0x101218f9
movzx eax, al
movsx eax, byte [eax + 0x1017c6a0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x101218d3
cmp edx, ebx
jne 0x101218d3
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1012192a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100bf244
leave
ret

Function at 0x1012d3fd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1012d43c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1012d43c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1012d43c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1012d43c
cmp dword [ecx + 0x74], 0xe
jbe 0x1012d43c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret