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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov eax, dword [0x4506f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], edi
mov ecx, 0x3e8
lea eax, [ebp - 0x3ec]
mov byte [eax], 0
inc eax
dec ecx
jne 0x14b0d93
push 0x440220
lea ecx, [ebp - 0x3ec]
push ecx
call dword [0x440020]
mov esi, dword [0x44001c]
lea edx, [ebp - 0x3ec]
push edx
call esi
lea eax, [ebp - 0x3ec]
push eax
call fcn.014d95d0
add esp, 4
lea ecx, [ebp - 0x3ec]
push ecx
call esi
lea edx, [ebp - 0x3ec]
push edx
call fcn.014d95d0
add esp, 4
lea eax, [edi + 1]
push eax
push 0x40
call dword [0x440018]
lea ecx, [ebp - 0x3ec]
mov ebx, eax
push ecx
mov dword [ebp - 0x3f0], ebx
call esi
lea edx, [ebp - 0x3ec]
push edx
call fcn.014d95d0
add esp, 4
lea eax, [ebp - 0x3ec]
push eax
call esi
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.014d95d0
add esp, 4
lea edx, [ebp - 0x3ec]
push edx
mov byte [edi + ebx], 0
call esi
lea eax, [ebp - 0x3ec]
push eax
call fcn.014d95d0
add esp, 4
lea ecx, [ebp - 0x3ec]
push ecx
call esi
lea edx, [ebp - 0x3ec]
push edx
call fcn.014d95d0
xor edi, edi
add esp, 4
cmp dword [ebp - 0x3f4], edi
jbe 0x14b0ed6
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 0x3fc], eax
nop
lea eax, [ebp - 0x3ec]
push eax
call esi
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.014d95d0
mov edx, dword [ebp - 0x3f8]
add esp, 4
push edx
add ebx, edi
call esi
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp - 0x3f8]
mov cl, byte [edx + eax]
mov edx, dword [ebp - 0x3fc]
xor cl, byte [edx + ebx]
lea eax, [ebp - 0x3ec]
push eax
mov byte [ebx], cl
call esi
lea ecx, [ebp - 0x3ec]
push ecx
call fcn.014d95d0
mov ebx, dword [ebp - 0x3f0]
inc edi
add esp, 4
cmp edi, dword [ebp - 0x3f4]
jb 0x14b0e70
lea edx, [ebp - 0x3ec]
push edx
call esi
lea eax, [ebp - 0x3ec]
push eax
call fcn.014d95d0
push 0x3e8
lea ecx, [ebp - 0x3ec]
push 0
push ecx
call fcn.014d9540
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.014d95ba
mov esp, ebp
pop ebp
ret 0xc
Function at 0x14b4210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x14b422f
mov eax, 1
pop ebx
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x14b42db
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x14b42db
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x14b4267
pop edi
mov eax, 1
pop ebx
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x14b42d2
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x14b42d2
movzx eax, word [esi + 0x46]
test ax, ax
je 0x14b42d2
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.014d965b
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x14b42ae
pop edi
mov eax, 3
pop ebx
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
push ebx
lea ecx, [edx + ecx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
pop edi
inc eax
pop ebx
pop ebp
ret
pop edi
mov eax, 2
pop ebx
pop ebp
ret
mov eax, 2
pop ebx
pop ebp
ret
Function at 0x14b6300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x14b630e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x14b63ed
mov esi, edx
shr esi, 3
push edi
jmp 0x14b6330
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x446710]
add ecx, 8
sub edx, 8
dec esi
jne 0x14b6330
pop edi
test edx, edx
je 0x14b640a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x446710]
inc ecx
dec edx
jne 0x14b63f1
not eax
pop esi
pop ebp
ret

Function at 0x14b6410
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x446710]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x446710]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x14b6460
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [ebp + 0xc]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x446710]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x446710]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x14c7ce0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e2bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4506f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x44788c
call fcn.014d92b9
push 4
mov dword [ebp - 4], 0
call fcn.014da111
mov edi, eax
add esp, 4
test edi, edi
je 0x14c7d60
call fcn.014d8f77
mov dword [edi], eax
call fcn.014d8d36
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.014d8c6b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x14c7d56
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.014d8c93
jmp 0x14c7d62
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x14c88d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e378
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4506f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x14c89fe
cmp byte [edi + 0x49], bl
je 0x14c89fe
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x14c89f2
push 8
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.014d9540
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], 8
jae 0x14c8952
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x14c896a
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x14c8993
dec eax
je 0x14c8997
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x14c89ed
jmp 0x14c89f9
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x14c89a7
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x14c89d0
cmp ebx, 0x10
jae 0x14c89b6
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.014dce27
add esp, 0x10
cmp esi, eax
jne 0x14c89ea
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x14c89f6
test esi, esi
jne 0x14c895e
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.014bac20
jmp 0x14c8958
lea ecx, [ebp - 0x2c]
call fcn.014b4cf0
xor al, al
jmp 0x14c8a00
lea ecx, [ebp - 0x2c]
call fcn.014b4cf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.014d95ba
mov esp, ebp
pop ebp
ret
Function at 0x14d5a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x14d5a3e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x14d5b1d
mov esi, edx
shr esi, 3
push edi
jmp 0x14d5a60
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x448280]
add ecx, 8
sub edx, 8
dec esi
jne 0x14d5a60
pop edi
test edx, edx
je 0x14d5b3a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x448280]
inc ecx
dec edx
jne 0x14d5b21
not eax
pop esi
pop ebp
ret

Function at 0x14d5b40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x448280]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x448280]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x14d6100
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x14d61eb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x14d6137
cmp dword [esi + 0x40], edi
jae 0x14d6137
push eax
call fcn.014d94d9
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x14d614f
lea eax, [edi + edi]
push eax
call fcn.014da111
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.014d9730
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x14d61e8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x448280]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x448280]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x14d6167
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x14d622a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x14d620f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.014d9730
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x14d624c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x462f38]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x14d77e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x14d79f5
cmp dword [esi + 0x6af90], 3
jb 0x14d7857
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x14d7897
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x14d7897
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x14d787f
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.014d4f30
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x14d7897
mov edi, eax
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x14d7974
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.014d4a00
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x14d793e
cmp eax, 3
jb 0x14d793e
mov eax, 1
sub edi, eax
lea ecx, [ecx]
add dword [esi + 0x6af84], eax
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, eax
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x14d78e0
add dword [esi + 0x6af84], eax
jmp 0x14d7997
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
xor edi, edi
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
jmp 0x14d7997
movzx edx, byte [ecx + esi + 0x1af70]
push edx
push 0
push esi
call fcn.014d4a00
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x14d79d3
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x14d79b0
lea ecx, [eax + esi + 0x1af70]
jmp 0x14d79b2
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.014d7650
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x14d79e8
push esi
call fcn.014d5090
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x14d7803
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x14d7a08
lea ecx, [eax + esi + 0x1af70]
jmp 0x14d7a0a
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.014d7650
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x16a51ba
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x17cc5dd
jmp 0x17cc6a6
push 0x31a9dbe
mov dword [esp], edx
mov dword [esp], ecx
mov dword [esp], ebp
jmp 0x17cc702
push ebp
mov dword [esp], esp
sub esp, 4
mov dword [esp], eax
mov dword [esp], ecx
mov ecx, 4
add dword [esp + 4], ecx
pop ecx
pop ebp
jmp 0x17cc832
push eax
mov eax, esp
push ecx
mov ecx, 4
add eax, ecx
pop ecx
push edi
push 0x14
pop edi
sub eax, 0x6fff8e4c
sub eax, edi
add eax, 0x6fff8e4c
jmp 0x17cc938
pop edi
xchg dword [esp], eax
pop esp
jmp 0x17cc942
jmp 0x17cc9f7
xor edx, dword [esp]
pop esp
mov dword [esp], edi
mov dword [esp], ebx
jmp 0x17cca73
push ebp
mov dword [esp], edx
mov edx, esp
add edx, 4
sub edx, 4
xor edx, dword [esp]
xor dword [esp], edx
jmp 0x17cc9e8
jmp 0x17ccb64
push edx
push edx
push 0x4bd74422
pop edx
mov dword [esp + 4], edx
pop edx
mov dword [esp], ebx
mov dword [esp], ecx
jmp 0x17ccb7c
jmp 0x17ccc89
push ecx
mov dword [esp], ebx
push esp
pop ebx
add ebx, 4
sub ebx, 4
xchg dword [esp], ebx
mov esp, dword [esp]
mov dword [esp], edx
jmp 0x17ccca6
rdtsc
jmp 0x17ccdae
jmp fcn.017cce0d

Function at 0x1815830
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x181593c
test eax, eax
je 0x181593c
push esi
push edi
mov ecx, 0x10
mov esi, 0x12b0ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x1815923
lea edi, [eax + 4]
jmp 0x1815887
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x181589c
mov dword [ebp - 4], 2
jmp 0x18158bd
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x18158b3
mov dword [ebp - 4], 1
jmp 0x18158bd
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x1815933
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x18158f6
mov byte [ecx], 0x3d
jmp 0x1815902
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x181590d
mov byte [ecx], 0x3d
jmp 0x1815913
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x1815884
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c670
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10012200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push 4
push 0x3000
xor ebx, ebx
push 0x104
push ebx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x10001068
push 0x10010c30
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], str.VirtualAllocEx_failed_
call fcn.10006775
push ebx
push 0x104
push 0x10012db0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10001094
push 0x10010c30
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], str.WriteProcessMemory_failed_
call fcn.10006775
mov edx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
push ebx
push esi
push edx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x100010d9
push 0x10010c30
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], str.CreateRemoteThread_failed_
call fcn.10006775
mov ecx, dword [ebp - 0x28]
push ecx
push str._MuterHook__InjectIntoProcessByForce_failed___s_n
call fcn.10001ef0
add esp, 8
mov eax, 0x100010f2
ret
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100010f8
test esi, esi
je 0x1000110b
push 0x8000
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [ebp - 0x14]
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 0x100015e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100015fb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001632
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000162e
jmp 0x10001620
cmp esi, eax
jae 0x10001632
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001620
cmp esi, eax
jb 0x10001639
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10002730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10012ecc]
mov dword [ebp - 4], eax
jmp 0x10002749
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10002766
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10002740
mov esp, ebp
pop ebp
ret