joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7fb116
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 0x7fb14e
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 0x7fb136
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 0x7fb23d
cmp eax, 8
jb 0x7fb222
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 0x7fb1a6
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 0x7fb23d
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 0x7fb229
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x7fb256
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x1c
test eax, eax
je 0x7fb39d
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 0x7fb299
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 0x7fb27e
mov dword [esp + 0x38], eax
push ebp
xor ebp, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
test eax, eax
je 0x7fb399
cmp eax, 0x40
jb 0x7fb37e
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x7fb2cb
cmp edi, ebx
jae 0x7fb37e
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x7fb2dc
cmp edi, edx
jae 0x7fb37e
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 0x7fb317
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebp
cmp ebp, eax
jae 0x7fb399
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 0x7fb387
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x7fb3a6
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
test eax, eax
je 0x7fb499
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
cmp eax, 4
jb 0x7fb3df
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 0x7fb3c9
mov dword [esp + 0x1c], eax
push ebx
xor ebx, ebx
test eax, eax
je 0x7fb496
cmp eax, 0x40
jb 0x7fb481
lea ecx, [edx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x7fb405
cmp edi, edx
jae 0x7fb481
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 0x7fb426
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
pop ebp
cmp ebx, eax
jae 0x7fb496
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 0x7fb488
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x859321
Capabilities:
Parse pe header

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

Function at 0x8791c6
Capabilities:
Parse pe header

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

Function at 0x9233ae
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x9233c1
mov eax, 0xffffff53
jmp 0x9234cd
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 0x963f44
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.0097367e
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 0x963fe4
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 0xa0e88f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f78d0]
xor edx, edx
cmp eax, edx
jne 0xa0e8b5
xor eax, eax
mov byte [eax + 0x4f77d0], al
inc eax
cmp eax, 0x100
jl 0xa0e89d
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 0xa0e946
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 0xa0e919
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 0xa0e8e7
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0xa0e9bf
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 0xa0ea12
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 0xa0e9f9
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 0xa12fdf
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 0xa13200
cmp eax, 8
jg 0xa13200
cmp dword [esp + 0x8c], 2
jl 0xa13200
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 0xa13200
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0xa13200
mov eax, dword [esp + 0x80]
test eax, eax
je 0xa13066
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 0xa131e9
mov ebp, dword [fcn.004ba514]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0xa13098
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0xa131d0
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0xa130b8
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 0xa130f7
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 0xa131b7
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.00a125ef
cmp eax, 1
jne 0xa131e1
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.00a12e9f
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0xa130ac
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0xa131e9
jmp 0xa13083
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00a121ef
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 0xa15c7f
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 0xa15e17
cmp ebp, ebx
jle 0xa15e17
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 0xa15cdd
dec eax
or eax, 0xfffffff8
inc eax
je 0xa15ce4
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0xa15cf3
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0xa15cfa
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00a6fec4
add esp, 4
cmp eax, ebx
je 0xa15d1b
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.00a6fec4
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 0xa15e0d
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 0xa15df4
mov al, byte [edx]
cmp al, 0xc0
jbe 0xa15de0
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0xa15dd5
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 0xa15de3
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0xa15de3
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0xa15d7f
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 0xa15d70
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 0xa1d82f
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.00a1e3af
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 0xa1d8d8
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.00a1d4bf
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.00a76b01
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.00a3419f
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.00a76b73
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0xa1de0f
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.00a1b94f
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0xa1de68
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.00a18cdf
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00a18ccf
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00a1d4bf
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.00a76b01
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.00a3419f
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00a1b35f
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.00a18c4f
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0xa1df33
push edi
mov ecx, esi
call fcn.00a1b46f
push eax
push ebp
mov ecx, esi
call fcn.00a1b62f
cmp eax, dword [esp + 0x40]
jg 0xa1df2f
inc edi
mov ebp, eax
cmp edi, ebx
jl 0xa1df0d
mov eax, ebx
jmp 0xa1df39
cmp edi, ebx
jl 0xa1df37
mov eax, ebx
jmp 0xa1df39
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0xa1df4a
mov dword [esp + 0x30], eax
jmp 0xa1df55
cmp edi, ebx
jl 0xa1df50
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00a18c0f
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0xa1df9c
push edi
mov ecx, esi
call fcn.00a1b38f
push eax
push ebx
mov ecx, esi
call fcn.00a1b75f
cmp eax, dword [esp + 0x44]
jg 0xa1df94
inc edi
mov ebx, eax
cmp edi, ebp
jl 0xa1df6e
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xa1dfa6
cmp edi, ebp
jl 0xa1dfa0
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xa1dfa6
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0xa1dfaf
mov ecx, eax
jmp 0xa1dfb8
cmp edi, ebp
jl 0xa1dfb5
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.00a1b37f
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], reloc.MSVCRT.dll_strncpy
call fcn.00a76b73
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