joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d6755
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101613b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], reloc.MSVCRT.dll_strncpy
call fcn.007c578e
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.007092e8
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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
Function at 0x78bc75
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x101e3088], 0
jne 0x78bc83
call fcn.007be625
cmp byte [0x101e3092], 0
je 0x78bca1
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.007bece5
add esp, 0x10
ret
jmp fcn.007872f5
Function at 0x7a6855
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
cmp eax, 4
jb 0x7a688d
mov edi, eax
shr edi, 2
nop
mov ecx, dword [esi]
sub eax, 4
xor ecx, dword [edx]
add esi, 4
or ebx, ecx
add edx, 4
sub edi, 1
jne 0x7a6875
mov dword [esp + 0x24], eax
mov edi, ebx
mov ecx, ebx
shr edi, 8
xor ebp, ebp
or edi, ebx
shr ecx, 0x10
and edi, 0xff00
or edi, ecx
movzx ecx, bl
shr edi, 8
or edi, ecx
mov dword [esp + 0x10], edi
test eax, eax
je 0x7a697c
cmp eax, 8
jb 0x7a6961
mov ebx, eax
lea ecx, [edx + 4]
mov edi, esi
and ebx, 0xfffffff8
sub edi, edx
xorps xmm4, xmm4
mov dword [esp + 0x14], edi
xorps xmm3, xmm3
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
nop dword [eax]
movd xmm2, dword [esi + ebp]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 0xc]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
add ebp, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ecx - 8]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [eax + ecx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp ebp, ebx
jb 0x7a68e5
mov eax, dword [esp + 0x24]
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ecx, xmm3
or edi, ecx
cmp ebp, eax
jae 0x7a697c
sub esi, edx
lea ebx, [edx + ebp]
sub eax, ebp
movzx edx, byte [ebx + esi]
lea ebx, [ebx + 1]
movzx ecx, byte [ebx - 1]
xor edx, ecx
or edi, edx
sub eax, 1
jne 0x7a6968
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x7a6995
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x1c
test eax, eax
je 0x7a6adc
mov edx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x28]
push edi
cmp eax, 4
jb 0x7a69d8
mov edi, eax
shr edi, 2
mov ecx, dword [edx]
sub eax, 4
xor ecx, dword [ebx]
add edx, 4
mov dword [esi], ecx
add ebx, 4
add esi, 4
sub edi, 1
jne 0x7a69bd
mov dword [esp + 0x38], eax
push ebp
xor ebp, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
test eax, eax
je 0x7a6ad8
cmp eax, 0x40
jb 0x7a6abd
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x7a6a0a
cmp edi, ebx
jae 0x7a6abd
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x7a6a1b
cmp edi, edx
jae 0x7a6abd
mov ecx, eax
lea edi, [esi + 0x20]
mov eax, esi
mov dword [esp + 0x18], edi
sub eax, ebx
and ecx, 0xffffffc0
mov dword [esp + 0x20], eax
mov edi, edx
sub edi, ebx
mov dword [esp + 0x28], ecx
mov eax, edx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
lea ecx, [ebx + 0x10]
sub eax, esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edx + ebp]
lea edi, [edi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [edi - 0x60], xmm1
movups xmm1, xmmword [eax + ecx - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x30]
movups xmmword [esi + ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + edi - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x20]
movups xmmword [edi - 0x40], xmm1
movups xmm1, xmmword [edx + ebp + 0x30]
add ebp, 0x40
pxor xmm1, xmm0
movups xmmword [edi - 0x30], xmm1
cmp ebp, dword [esp + 0x28]
jb 0x7a6a56
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebp
cmp ebp, eax
jae 0x7a6ad8
sub edx, ebx
lea edi, [ebx + ebp]
sub esi, ebx
sub eax, ebp
mov cl, byte [edi + edx]
lea edi, [edi + 1]
xor cl, byte [edi - 1]
mov byte [edi + esi - 1], cl
sub eax, 1
jne 0x7a6ac6
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x7a6ae5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
test eax, eax
je 0x7a6bd8
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
cmp eax, 4
jb 0x7a6b1e
mov edi, eax
shr edi, 2
mov ecx, dword [edx]
sub eax, 4
xor dword [esi], ecx
add edx, 4
add esi, 4
sub edi, 1
jne 0x7a6b08
mov dword [esp + 0x1c], eax
push ebx
xor ebx, ebx
test eax, eax
je 0x7a6bd5
cmp eax, 0x40
jb 0x7a6bc0
lea ecx, [edx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x7a6b44
cmp edi, edx
jae 0x7a6bc0
push ebp
mov ebp, eax
lea edi, [edx + 0x30]
and ebp, 0xffffffc0
lea ecx, [esi + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, edx
sub ebp, esi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
nop
movups xmm0, xmmword [ecx - 0x10]
add ebx, 0x40
lea edi, [edi + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [eax + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [edi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [edi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp ebx, ebp
jb 0x7a6b65
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
pop ebp
cmp ebx, eax
jae 0x7a6bd5
sub edx, esi
lea edi, [ebx + esi]
sub eax, ebx
mov cl, byte [edi + edx]
lea edi, [edi + 1]
xor byte [edi - 1], cl
sub eax, 1
jne 0x7a6bc7
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x804a60
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x1017e108]
test eax, eax
je 0x804a9f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x804a9f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], reloc.MSVCRT.dll_strncpy
jne 0x804a9f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x804a9f
cmp dword [ecx + 0x74], 0xe
jbe 0x804a9f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x824905
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x824932
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], reloc.MSVCRT.dll_strncpy
jne 0x824932
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x8ceaed
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x8ceb00
mov eax, 0xffffff53
jmp 0x8cec0c
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], reloc.MSVCRT.dll_strncpy
mov dword [edx + ecx + 4], 0x6a09e667
mov eax, 8
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], reloc.MSVCRT.dll_strncpy
mov dword [ecx + eax + 4], 0xbb67ae85
mov edx, 8
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], reloc.MSVCRT.dll_strncpy
mov dword [eax + edx + 4], 0x3c6ef372
mov ecx, 8
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], reloc.MSVCRT.dll_strncpy
mov dword [eax + edx + 4], 0xa54ff53a
mov ecx, 8
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx], reloc.MSVCRT.dll_strncpy
mov dword [edx + ecx + 4], 0x510e527f
mov eax, 8
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + ecx], reloc.MSVCRT.dll_strncpy
mov dword [edx + ecx + 4], 0x9b05688c
mov eax, 8
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov dword [edx + ecx], reloc.MSVCRT.dll_strncpy
mov dword [edx + ecx + 4], 0x1f83d9ab
mov eax, 8
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov dword [edx + ecx], reloc.MSVCRT.dll_strncpy
mov dword [edx + ecx + 4], 0x5be0cd19
mov eax, dword [ebp + 8]
mov dword [eax + 0xc0], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0xd0], 0
mov dword [edx + 0xd4], 0
xor eax, eax
pop ebp
ret 4
Function at 0x91b6cc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001b526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov byte [esi], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], ebx
mov byte [esi + 0x24], cl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dl, byte [esp + 0xb]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
push 0x10
mov byte [esp + 0x1c], 1
mov byte [esi + 0x48], dl
call fcn.0092ae06
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ebx
mov eax, dword [reloc.MSVCRT.dll_strncpy]
add esp, 4
cmp eax, ebx
jne 0x91b76c
push 0x100263a0
push 0x1002633c
call dword [0x1001d1cc]
push eax
call dword [0x1001d1c0]
mov dword [reloc.MSVCRT.dll_strncpy], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x9b9ed6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f78d0]
xor edx, edx
cmp eax, edx
jne 0x9b9efc
xor eax, eax
mov byte [eax + 0x4f77d0], al
inc eax
cmp eax, 0x100
jl 0x9b9ee4
mov dword [0x4f78d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f77d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x9b9f8d
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x9b9f60
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x9b9f2e
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x9ba006
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x9ba059
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x9ba040
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9be626
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x9be847
cmp eax, 8
jg 0x9be847
cmp dword [esp + 0x8c], 2
jl 0x9be847
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x9be847
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x9be847
mov eax, dword [esp + 0x80]
test eax, eax
je 0x9be6ad
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x9be830
mov ebp, dword [fcn.004ba514]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x9be6df
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x9be817
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x9be6ff
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.004ba504]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x9be73e
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004ba600]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004ba548]
test eax, eax
jne 0x9be7fe
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.009bdc36
cmp eax, 1
jne 0x9be828
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.009be4e6
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x9be6f3
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x9be830
jmp 0x9be6ca
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.009bd836
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x9c12c6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x9c145e
cmp ebp, ebx
jle 0x9c145e
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x9c1324
dec eax
or eax, 0xfffffff8
inc eax
je 0x9c132b
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x9c133a
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x9c1341
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00a1b50b
add esp, 4
cmp eax, ebx
je 0x9c1362
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00a1b50b
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x9c1454
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x9c143b
mov al, byte [edx]
cmp al, 0xc0
jbe 0x9c1427
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x9c141c
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x9c142a
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x9c142a
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x9c13c6
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x9c13b7
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x9c8e76
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b75a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.009c99f6
lea edx, [esp + 0x18]
push eax
push edx
call dword [fcn.004ba4c4]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [fcn.004ba548]
test eax, eax
je 0x9c8f1f
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.009c8b06
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [fcn.004ba514]
push edi
lea ecx, [esp + 0x4c]
call fcn.00a22148
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.009df7e6
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [fcn.004ba084]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [fcn.004ba570]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [fcn.004ba600]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], reloc.MSVCRT.dll_strncpy
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00a221ba
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x9c9456
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b75d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.009c6f96
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x9c94af
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.009c4326
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.009c4316
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.009c8b06
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.004ba570]
push 0
lea ecx, [esp + 0x4c]
call fcn.00a22148
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.009df7e6
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.009c69a6
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.004ba088]
mov ecx, ebx
call fcn.009c4296
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x9c957a
push edi
mov ecx, esi
call fcn.009c6ab6
push eax
push ebp
mov ecx, esi
call fcn.009c6c76
cmp eax, dword [esp + 0x40]
jg 0x9c9576
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x9c9554
mov eax, ebx
jmp 0x9c9580
cmp edi, ebx
jl 0x9c957e
mov eax, ebx
jmp 0x9c9580
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x9c9591
mov dword [esp + 0x30], eax
jmp 0x9c959c
cmp edi, ebx
jl 0x9c9597
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.009c4256
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x9c95e3
push edi
mov ecx, esi
call fcn.009c69d6
push eax
push ebx
mov ecx, esi
call fcn.009c6da6
cmp eax, dword [esp + 0x44]
jg 0x9c95db
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x9c95b5
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x9c95ed
cmp edi, ebp
jl 0x9c95e7
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x9c95ed
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x9c95f6
mov ecx, eax
jmp 0x9c95ff
cmp edi, ebp
jl 0x9c95fc
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.009c69c6
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], reloc.MSVCRT.dll_strncpy
call fcn.00a221ba
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc