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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4597d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov ebx, ecx
test esi, esi
je 0x8853ec
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x8853ec
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
shr eax, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x10]
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x8853bc
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00884767
mov edx, dword [esp + 0x20]
xor dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
xor dword [esp + 0x34], edx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ebp, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
jne 0x88534e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], ebp
pop ebp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x20]
pop edi
mov dword [ebx + 0xc], ecx
pop esi
mov dword [ebx + 0x10], edx
shl eax, 4
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00892869
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00892869
add esp, 0x2c
ret 0xc

Function at 0x888257
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret 4
Function at 0x88c907
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
mov esi, dword [esp + reloc.MSVCRT.dll_strncpy]
push edi
mov ebx, ecx
movzx edi, word [ebx]
sub edi, dword [esi + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x14], ebx
push edi
push esi
call fcn.0088c6f7
mov dl, byte [esi + 0xa6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
sub eax, 6
lea ebp, [esp + 0x18]
xor ecx, ecx
lea ecx, [ecx]
movzx ebx, byte [eax + 6]
add eax, 6
cmp byte [ebx + esi + 0x66c], dl
je 0x88c947
movzx ebx, byte [eax + 1]
mov dword [ebp], eax
add ecx, ebx
add ebp, 4
sub edi, 1
jne 0x88c947
add dword [esi + reloc.MSVCRT.dll_strncpy], ecx
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
xor edx, edx
div dword [esi + reloc.MSVCRT.dll_strncpy]
xor edx, edx
mov edi, eax
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
sub eax, dword [esi + reloc.MSVCRT.dll_strncpy]
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
div edi
mov ebx, dword [esi + reloc.MSVCRT.dll_strncpy]
cmp eax, ebx
jl 0x88c9ad
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x408
ret 4
cmp eax, ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x18]
jge 0x88ca2a
movzx ecx, byte [edx + 1]
cmp ecx, eax
jg 0x88c9d7
lea ebx, [ebx]
mov edx, dword [edi + 4]
movzx ebx, byte [edx + 1]
add edi, 4
add ecx, ebx
cmp ecx, eax
jle 0x88c9c7
mov edi, dword [esp + 0x10]
mov dword [esi + reloc.MSVCRT.dll_strncpy], ecx
movzx eax, byte [edx + 1]
sub ecx, eax
mov dword [esi + reloc.MSVCRT.dll_strncpy], ecx
mov cl, byte [edi + 2]
cmp cl, 7
jae 0x88ca10
add byte [edi + 3], 0xff
jne 0x88ca10
mov ax, word [edi]
add ax, ax
mov word [edi], ax
mov al, 3
shl al, cl
inc cl
mov byte [edi + 2], cl
mov byte [edi + 3], al
mov ecx, dword [esp + 0x14]
push edx
push esi
call fcn.0088c6b7
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4
mov edi, dword [esp + 0x14]
mov dword [esi + reloc.MSVCRT.dll_strncpy], ecx
mov dword [esi + reloc.MSVCRT.dll_strncpy], ebx
movzx ecx, word [edi]
sub ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x18]
sub eax, 4
mov edx, dword [eax + 4]
movzx edx, byte [edx]
mov bl, byte [esi + 0xa6c]
add eax, 4
sub ecx, 1
mov byte [edx + esi + 0x66c], bl
jne 0x88ca4a
mov cx, word [esi + 0x4a84]
mov eax, dword [esp + 0x10]
add word [eax], cx
movzx edx, word [edi]
pop edi
mov dword [esi + reloc.MSVCRT.dll_strncpy], edx
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x408
ret 4

Function at 0xb2eb43
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
xor eax, eax
push 4
push eax
push 0x1000ae3a
push eax
mov esi, ecx
push eax
call fcn.00b8e63e
add esp, 0x18
mov dword [esi + 0x34], eax
pop esi
pop ecx
ret
Function at 0xb358cc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006ad14
call fcn.00b8e447
push ecx
push ebx
push esi
mov esi, ecx
push 4
mov dword [ebp - 0x10], esi
or dword [esi], reloc.MSVCRT.dll_strncpy
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00b35708
mov dword [ebx], reloc.MSVCRT.dll_strncpy
xor ebx, ebx
mov dword [esi + 0x28], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x100717e8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x2c], 1
call fcn.00b359d3
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0xac]
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], reloc.MSVCRT.dll_strncpy
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xb359d3
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006ad5f
call fcn.00b8e447
push ecx
push ebx
push esi
push edi
push 3
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0xb3811b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006b216
call fcn.00b8e447
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 3
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b2e4b3
lea edi, [esi + 0x24]
push 3
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.00b2e4b3
push 0x100874c0
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [esi], bl
mov dword [esi + 4], 0x10084850
call fcn.00b2dfe5
mov ecx, esi
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.00b383dc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xb42785
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006bf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], reloc.MSVCRT.dll_strncpy
mov dword [esi + 4], 0x10072090
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esp + 8], esi
mov dword [esi + 0x30], edi
lea ecx, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x14], edi
call fcn.00b4021d
lea eax, reloc.MSVCRT.dll_strncpy
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
push eax
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
call fcn.00b8dfef
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
mov dword [esi + reloc.MSVCRT.dll_strncpy], edi
mov dword [esi + reloc.MSVCRT.dll_strncpy], eax
mov byte [esi + 0x6fe0], al
mov dword [esi], reloc.MSVCRT.dll_strncpy
mov dword [esi + 4], 0x10072068
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0xb458af
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.00b44f6f
push 0x41
mov ecx, esi
call fcn.00b44f6f
push 0x59
mov ecx, esi
call fcn.00b44f6f
push 0x26
mov ecx, esi
call fcn.00b44f6f
push 0x53
mov ecx, esi
call fcn.00b44f6f
push 0x59
mov ecx, esi
call fcn.00b44f6f
mov ecx, dword [esp + 0x1c]
or eax, reloc.MSVCRT.dll_strncpy
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0xb4593f
test cl, cl
jbe 0xb4593b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
xor eax, edi
dec ecx
jne 0xb45925
xor edi, edi
jmp 0xb4596e
cmp bl, cl
jne 0xb45946
inc edi
jmp 0xb45951
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll_strncpy]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0xb458fd
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.00b44faf
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00b450af
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0xb45b7f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + reloc.MSVCRT.dll_strncpy], ebx
mov eax, dword [edx + reloc.MSVCRT.dll_strncpy]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.00b459af
mov ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
cmp byte [ecx + 0x198], bl
je 0xb45bfc
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + reloc.MSVCRT.dll_strncpy]
shl edx, 9
mov ecx, dword [edx + eax + reloc.MSVCRT.dll_strncpy]
push ecx
call fcn.00b8de5f
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
xor edx, edx
cmp eax, ebx
jbe 0xb45c39
lea edi, reloc.MSVCRT.dll_strncpy
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
add edi, 4
add eax, 0x170
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
cmp edx, eax
jb 0xb45c0e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
mov eax, dword [esp + 0x20]
sub ecx, eax
push ecx
mov ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
push edx
call fcn.00b45d0f
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
cmp byte [eax + 0x198], bl
je 0xb45cf8
mov edi, dword [esi + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
inc edi
cmp edi, ecx
jne 0xb45c84
xor edi, edi
cmp dword [eax + reloc.MSVCRT.dll_strncpy], ebx
je 0xb45cd4
lea ebx, reloc.MSVCRT.dll_strncpy
mov ecx, ebx
call fcn.00b41884
mov ebp, dword [ebx + 0x28]
mov ecx, 0xf
sub ecx, ebp
xor ebx, ebx
shr ecx, 3
add eax, ecx
adc edx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + reloc.MSVCRT.dll_strncpy]
mov eax, dword [edx + reloc.MSVCRT.dll_strncpy]
lea edx, [esp + 0x10]
push edx
lea edx, reloc.MSVCRT.dll_strncpy
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + reloc.MSVCRT.dll_strncpy]
lea ecx, [edi + edi*8]
shl ecx, 3
mov edx, dword [eax + reloc.MSVCRT.dll_strncpy]
sub ecx, edi
shl ecx, 9
lea eax, reloc.MSVCRT.dll_strncpy
push eax
call fcn.00b8decf
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0xb52149
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1006cb07
call fcn.00b8e447
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], reloc.MSVCRT.dll_strncpy
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x10072a5c
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 3
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00b2e4b3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0xb54833
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x1006d188
call fcn.00b8e447
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], reloc.MSVCRT.dll_strncpy
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x10072a7c
push 4
mov ebx, 0x10071594
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00b35708
mov dword [esi + 0x3c], 0x10072bd8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00b35708
mov dword [edi], reloc.MSVCRT.dll_strncpy
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00b50c25
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.00b53827
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00b50c25
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.00b53827
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00b50c25
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00b53827
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00b50c25
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.00b53827
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.00b53827
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xb62364
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006e3e7
call fcn.00b8e447
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 4
mov dword [esi], reloc.MSVCRT.dll_strncpy
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 1
mov dword [esi + 0x20], 0x10072d40
lea ecx, [esi + 0x38]
mov byte [esi + 0x34], bl
push 3
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00b3007c
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0xb71667
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006f9e3
call fcn.00b8e447
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00b2e44d
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00b2e44d
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00b2e44d
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00b2e44d
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00b2e44d
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00b2e44d
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00b2e44d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0xb742cb
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006ffbe
call fcn.00b8e447
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0xc]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.00b2e44d
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00b74342
and dword [esi + 0x30], 0
and dword [esi + 0x34], 0
lea ecx, [esi + 0x2c]
lea eax, [edi + 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ecx], reloc.MSVCRT.dll_strncpy
call fcn.00b527fa
mov al, byte [edi + 0x38]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x38], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0xb79a5f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0xb79aa6
mov ecx, ebx
call fcn.00b7a21f
mov eax, dword [esp + 0x50]
push esi
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00b7aa2f
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call fcn.00b7aacf
jmp 0xb79ac2
test esi, esi
jbe 0xb79ac2
mov ecx, esi
mov esi, dword [esp + 0x50]
mov edx, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0xb79ac4
mov ecx, ebx
call fcn.00b7a21f
lea eax, [esp + 0xc]
push 0x40
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00b7aa2f
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0xb79af3
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00b7a21f
lea ecx, [esp + 0xc]
push 0x40
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00b7aa2f
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0xb79b8f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xbc
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xd0]
cmp edi, 0x40
jbe 0xb79c17
lea ecx, [esp + 0x60]
call fcn.00b7a21f
mov eax, dword [esp + 0xcc]
push edi
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], 0
call fcn.00b7aa2f
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x64]
call fcn.00b7aacf
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dh, byte [esp + eax + 0xc]
mov cl, byte [esp + eax + 0xe]
mov dl, byte [esp + eax + 0xd]
add eax, 4
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esp + eax + 0xb]
shl edx, 8
or edx, ecx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], edx
jb 0xb79be9
jmp 0xb79c50
xor eax, eax
test edi, edi
jbe 0xb79c50
push ebp
mov ebp, dword [esp + 0xd0]
mov edx, eax
mov ecx, 3
shr edx, 2
lea esi, [esp + edx*4 + 0x24]
mov edx, eax
and edx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0xb79c25
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0xb79c59
mov ecx, ebx
call fcn.00b7a21f
lea eax, [esp + 0x20]
push 0x10
push eax
mov ecx, ebx
mov dword [ebx + 0x20], 0
call fcn.00b7abdf
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0xb79c8f
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.00b7a21f
lea ecx, [esp + 0x20]
push 0x10
push ecx
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00b7abdf
pop edi
pop esi
pop ebx
add esp, 0xbc
ret 8

Function at 0xb79d1f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 5
mov ebp, ecx
push eax
call fcn.00b7a9bf
lea edx, [esp + 0x50]
push 5
lea ecx, [ebp + 0x68]
push edx
call fcn.00b7a9bf
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0xb79da9
mov esi, eax
lea eax, [esp + 0x50]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.00b7a24f
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [ebp + 0x68]
call fcn.00b7a24f
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0xb79d9b
dec esi
jne 0xb79d67
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0xb7a21f
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], reloc.MSVCRT.dll_strncpy
mov dword [ecx + 0x18], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x1c], eax
ret