joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477230
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x224
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xb8]
push edi
test eax, eax
jne 0x47725c
mov ecx, dword [esi + 0x7c]
call fcn.004ab9f0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x238]
cmp ecx, eax
ja 0x477270
mov eax, ecx
shl eax, 9
cdq
idiv ecx
cmp eax, 0x200
jge 0x477285
test eax, eax
jg 0x47728a
xor eax, eax
jmp 0x47728a
mov eax, 0x200
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
add eax, 0xffffff00
lea edx, [esp + 0x30]
mov edi, 0x100
lea esp, [esp]
cmp eax, 0x100
jge 0x4772bf
test eax, eax
jg 0x4772c6
xor ecx, ecx
jmp 0x4772c8
mov ecx, 0x100
jmp 0x4772c8
mov ecx, eax
mov word [edx], cx
inc eax
add edx, 2
sub edi, 1
jne 0x4772b0
mov ecx, dword [esi + 0x70]
call fcn.0052e4b0
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x1c], ebx
call fcn.005590d0
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x28], eax
call fcn.005590d0
mov ecx, dword [esi + 0x70]
mov ebp, eax
mov dword [esp + 0x20], ebp
call fcn.0052e4a0
mov ecx, dword [esp + 0x10]
mov edi, eax
call fcn.004b4470
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x10], eax
call fcn.004b4470
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x2c], eax
call fcn.0052e4c0
mov edx, dword [esi + 0x78]
add edx, dword [esi + 0x98]
mov ecx, dword [esi + 0x74]
add ecx, dword [esi + 0x94]
imul edx, ebx
imul eax, ecx
mov ecx, dword [esi + 0x70]
add edx, edi
lea edi, [edx + eax]
mov dword [esp + 0x18], edi
call fcn.0052e4c0
imul eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
imul ecx, ebp
add ecx, dword [esp + 0x2c]
cmp dword [esi + 0x90], 0
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x14]
je 0x4773ec
test eax, eax
jbe 0x477455
mov dword [esp + 0x14], eax
jmp 0x477390
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
test edx, edx
jbe 0x4773d5
mov esi, edi
lea eax, [ebp + 3]
sub esi, ebp
mov dword [esp + 0x18], edx
jmp 0x4773b0
movzx edx, byte [ecx]
movzx ebx, byte [esi + eax]
movzx edx, word [esp + edx*2 + 0x30]
imul edx, ebx
sar edx, 8
mov byte [eax], dl
add ecx, 4
add eax, 4
sub dword [esp + 0x18], 1
jne 0x4773b0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
add ebp, dword [esp + 0x20]
add edi, ebx
sub dword [esp + 0x14], 1
jne 0x477390
jmp 0x477455
test eax, eax
jbe 0x477455
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
test ecx, ecx
jbe 0x47743c
lea eax, [ebp + 3]
sub edi, ebp
jmp 0x477410
movzx edx, byte [esi]
movzx ebx, byte [eax + edi]
movzx edx, word [esp + edx*2 + 0x30]
imul edx, ebx
sar edx, 8
or bl, 0xff
sub bl, dl
mov byte [eax], bl
add esi, 4
add eax, 4
sub ecx, 1
jne 0x477410
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
add ebp, dword [esp + 0x20]
add edi, ebx
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edi
jne 0x4773f4
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055c6a2
add esp, 0x224
ret 4
Function at 0x477246
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x224
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xb8]
push edi
test eax, eax
jne 0x47725c
mov ecx, dword [esi + 0x7c]
call fcn.004ab9f0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x238]
cmp ecx, eax
ja 0x477270
mov eax, ecx
shl eax, 9
cdq
idiv ecx
cmp eax, 0x200
jge 0x477285
test eax, eax
jg 0x47728a
xor eax, eax
jmp 0x47728a
mov eax, 0x200
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
add eax, 0xffffff00
lea edx, [esp + 0x30]
mov edi, 0x100
lea esp, [esp]
cmp eax, 0x100
jge 0x4772bf
test eax, eax
jg 0x4772c6
xor ecx, ecx
jmp 0x4772c8
mov ecx, 0x100
jmp 0x4772c8
mov ecx, eax
mov word [edx], cx
inc eax
add edx, 2
sub edi, 1
jne 0x4772b0
mov ecx, dword [esi + 0x70]
call fcn.0052e4b0
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x1c], ebx
call fcn.005590d0
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x28], eax
call fcn.005590d0
mov ecx, dword [esi + 0x70]
mov ebp, eax
mov dword [esp + 0x20], ebp
call fcn.0052e4a0
mov ecx, dword [esp + 0x10]
mov edi, eax
call fcn.004b4470
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x10], eax
call fcn.004b4470
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x2c], eax
call fcn.0052e4c0
mov edx, dword [esi + 0x78]
add edx, dword [esi + 0x98]
mov ecx, dword [esi + 0x74]
add ecx, dword [esi + 0x94]
imul edx, ebx
imul eax, ecx
mov ecx, dword [esi + 0x70]
add edx, edi
lea edi, [edx + eax]
mov dword [esp + 0x18], edi
call fcn.0052e4c0
imul eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
imul ecx, ebp
add ecx, dword [esp + 0x2c]
cmp dword [esi + 0x90], 0
lea ebp, [ecx + eax]
mov eax, dword [esp + 0x14]
je 0x4773ec
test eax, eax
jbe 0x477455
mov dword [esp + 0x14], eax
jmp 0x477390
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
test edx, edx
jbe 0x4773d5
mov esi, edi
lea eax, [ebp + 3]
sub esi, ebp
mov dword [esp + 0x18], edx
jmp 0x4773b0
movzx edx, byte [ecx]
movzx ebx, byte [esi + eax]
movzx edx, word [esp + edx*2 + 0x30]
imul edx, ebx
sar edx, 8
mov byte [eax], dl
add ecx, 4
add eax, 4
sub dword [esp + 0x18], 1
jne 0x4773b0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
add ebp, dword [esp + 0x20]
add edi, ebx
sub dword [esp + 0x14], 1
jne 0x477390
jmp 0x477455
test eax, eax
jbe 0x477455
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
test ecx, ecx
jbe 0x47743c
lea eax, [ebp + 3]
sub edi, ebp
jmp 0x477410
movzx edx, byte [esi]
movzx ebx, byte [eax + edi]
movzx edx, word [esp + edx*2 + 0x30]
imul edx, ebx
sar edx, 8
or bl, 0xff
sub bl, dl
mov byte [eax], bl
add esi, 4
add eax, 4
sub ecx, 1
jne 0x477410
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
add ebp, dword [esp + 0x20]
add edi, ebx
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edi
jne 0x4773f4
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055c6a2
add esp, 0x224
ret 4
Function at 0x4b0d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x601d13
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0042cb70
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0042cb70
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0042cb70
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4b0df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x601d43
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004b0b90
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], 0
call fcn.004b0b90
lea ecx, [edi + 0x30]
push ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.004b0b90
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4c7cf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6024c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x20
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
call fcn.0055c754
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
cmp edi, ebx
je 0x4c7d51
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x17]
push ecx
mov ecx, edi
call fcn.004c8660
jmp 0x4c7d53
xor edi, edi
push 0x20
mov dword [esp + 0x24], 0xffffffff
mov dword [esi], edi
call fcn.0055c754
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], 1
cmp edi, ebx
je 0x4c7d8c
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x17]
push eax
mov ecx, edi
call fcn.004e1830
jmp 0x4c7d8e
xor edi, edi
push ebx
push 1
push 0x60fbd4
push ebx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esi + 4], edi
mov byte [esi + 0xc], bl
call fcn.004c7570
push ebx
push 0x60fbe0
mov ecx, esi
call fcn.004c7340
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4cb1c0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x602528
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
push eax
call fcn.004c64b0
fldz
fst dword [esp + 0x10]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
fst dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fst dword [esp + 0x18]
fld1
mov eax, dword [esp + 0x18]
fst dword [esp + 0x1c]
mov dword [esi + 0x30], ecx
fxch st(1)
mov dword [esi + 0x34], edx
mov ecx, dword [esp + 0x1c]
fst dword [esp + 0x10]
fst dword [esp + 0x14]
mov dword [esi + 0x38], eax
mov edx, dword [esp + 0x10]
fst dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fxch st(1)
fst dword [esp + 0x1c]
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], ecx
fxch st(1)
mov ecx, dword [esp + 0x18]
fst dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x50], eax
fst dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fst dword [esp + 0x10]
mov dword [esi + 0x4c], edx
fst dword [esp + 0x14]
mov edx, dword [esp + 0x18]
fst dword [esp + 0x18]
mov dword [esi + 0x54], ecx
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x64], edx
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x70]
mov dword [esi + 0x68], eax
push edx
mov dword [esp + 0x2c], ebx
mov dword [esi], vtable.kcFEScriptObjCPlane.0
mov dword [esi + 0x6c], ecx
call fcn.00520860
add esp, 4
mov dword [esi + 0xb0], 0x320
mov dword [esi + 0xb4], 0x258
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xb8], 0x1388
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc4], 1
mov dword [esi + 0x1c8], ebx
mov byte [esi + 0xc8], bl
mov byte [esi + 0x1cc], bl
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], ebx
mov byte [esi + 0x254], bl
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d8], ebx
mov dword [esi + 4], 3
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x4ee2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x602efc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push 0x63d408
lea edi, [esi + 0x50]
push edi
push eax
push ecx
mov ecx, esi
call fcn.0058cdd0
push edi
mov dword [esp + 0x20], 0
mov dword [esi], vtable.CAsyncReader.0
mov dword [esi + 0xc], vtable.CAsyncReader.2.0
mov dword [esi + 0x10], vtable.CAsyncReader.1.0
call dword [0x60714c]
mov edx, dword [esp + 0x2c]
lea ebx, [esi + 0x68]
push edx
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.004eec70
mov eax, dword [esp + 0x30]
push edi
push ebx
push esi
push eax
lea ecx, [esi + 0xf0]
mov byte [esp + 0x2c], 2
call fcn.004ee240
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x1c], 3
call fcn.0058a460
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4efa80
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push 0x726590
push 0x80000002
mov ebp, ecx
call dword [0x607008]
test eax, eax
jne 0x4efb49
mov edx, dword [esp + 0x10]
mov edi, dword [0x607010]
lea ecx, [esp + 0x14]
push ecx
lea esi, [ebp + 0x2d0]
push esi
push eax
push eax
push str.MHz
push edx
mov dword [esp + 0x2c], 4
call edi
test eax, eax
je 0x4efb13
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push str.Mhz
push ecx
call edi
test eax, eax
je 0x4efb13
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
push str.mhz
push eax
call edi
test eax, eax
je 0x4efb13
mov dword [esi], 0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea esi, [ebp + 0x1d0]
push esi
push 0
push 0
push str.ProcessorNameString
push edx
mov dword [esp + 0x2c], 0x100
call edi
test eax, eax
je 0x4efb3e
mov byte [esi], 0
mov eax, dword [esp + 0x10]
push eax
call dword [0x607004]
cmp dword [esp + 0x44], 0
je 0x4efc45
cmp dword [ebp + 0x1b8], 0
je 0x4efc45
lea ecx, [esp + 0x20]
push ecx
mov dword [ebp + 0x1b4], 0
call dword [0x6071ac]
test eax, eax
je 0x4efc45
lea edx, [esp + 0x28]
push edx
call dword [0x6071a8]
test eax, eax
je 0x4efc45
pushaw
cpuid
rdtsc
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
popaw
mov ebx, dword [0x6071a8]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x4efc45
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp edi, ecx
jl 0x4efc45
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
jg 0x4efbd4
cmp esi, eax
jb 0x4efc45
mov edx, dword [esp + 0x24]
sub esi, eax
mov eax, dword [esp + 0x20]
sbb edi, ecx
mov cl, 2
call fcn.0055f530
cmp edi, edx
jg 0x4efc06
jl 0x4efbf1
cmp esi, eax
jae 0x4efc06
lea ecx, [esp + 0x18]
push ecx
call ebx
test eax, eax
jne 0x4efbb6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
pushaw
cpuid
rdtsc
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
popaw
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sbb eax, dword [esp + 0x3c]
push 0
push 4
push eax
push edx
call fcn.0055f390
push 0
push 0xf4240
push edx
push eax
call fcn.0055f2e0
mov dword [ebp + 0x1b4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4f1300
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
xor eax, eax
push edi
push 0x140
mov dword [0x7cebf8], eax
mov dword [0x7cebfc], eax
mov dword [0x7cec00], eax
mov dword [0x7cec04], eax
lea eax, [ecx + 0x194]
push 0
push eax
mov dword [ebp - 8], ecx
mov dword [0x7cebf4], 0
mov dword [ebp - 4], eax
call fcn.0055d460
add esp, 0xc
pushaw
pushfd
pop eax
mov ecx, eax
xor eax, 0x40000
push eax
popfd
pushfd
pop eax
xor eax, ecx
mov dword [0x7cebf0], 1
je 0x4f13d2
push ecx
popfd
mov dword [0x7cebf0], 2
mov eax, ecx
xor eax, 0x200000
push eax
popfd
pushfd
pop eax
xor eax, ecx
je 0x4f13d2
mov dword [0x7cebf4], 1
mov eax, 0
cpuid
mov dword [0x7cebf8], ebx
mov dword [0x7cebfc], edx
mov dword [0x7cec00], ecx
cmp eax, 1
jb 0x4f13d2
mov eax, 1
cpuid
mov dword [0x7cebf0], eax
mov dword [0x7cebec], edx
mov eax, 0x80000000
cpuid
cmp eax, 0x80000001
jb 0x4f13d2
mov eax, 0x80000001
cpuid
mov dword [0x7cebe8], edx
popaw
mov esi, dword [ebp - 8]
mov eax, 0x7cebf8
lea edx, [esi + 0x1a4]
sub edx, eax
mov edi, 1
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, edi
test cl, cl
jne 0x4f13f0
cmp dword [0x7cebf4], 0
jne 0x4f1413
mov eax, dword [0x7cebf0]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x4f14a4
mov dword [esi + 0x1b8], edi
test dword [0x7cebec], 0x800000
je 0x4f142b
mov dword [esi + 0x1bc], edi
test dword [0x7cebec], 0x8000
je 0x4f143d
mov dword [esi + 0x1c0], edi
test dword [0x7cebec], 0x2000000
je 0x4f144f
mov dword [esi + 0x1c4], edi
test dword [0x7cebe8], 0x80000000
je 0x4f1461
mov dword [esi + 0x1c8], edi
mov edx, dword [0x7cebf0]
mov eax, dword [ebp - 4]
shr edx, 0xc
and edx, 3
mov dword [eax], edx
mov ecx, dword [0x7cebf0]
shr ecx, 8
and ecx, 0xf
mov dword [esi + 0x198], ecx
mov edx, dword [0x7cebf0]
shr edx, 4
and edx, 0xf
mov dword [esi + 0x19c], edx
mov eax, dword [0x7cebf0]
and eax, 0xf
mov dword [esi + 0x1a0], eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x6071b4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push eax
mov ecx, esi
mov dword [esi + 0x1cc], edx
call fcn.004efa80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ffd10
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x7664f8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebx, 1
cmp ebp, 0xb
ja case.default.0x4ffd44
jmp dword [ebp*4 + 0x4fff18]
mov esi, 0x10
jmp 0x4ffdb1
mov esi, 0x19
jmp 0x4ffdb1
mov esi, 0xb
jmp 0x4ffdb1
mov esi, 2
jmp 0x4ffdb1
mov esi, 0x17
jmp 0x4ffdb1
mov esi, 5
jmp 0x4ffdb1
push edi
push 0x104
call dword [0x6071e8]
jmp 0x4ffefb
push 0x104
push edi
call dword [0x6071e4]
jmp 0x4ffefb
mov esi, 0x23
jmp 0x4ffdb1
mov esi, 0x1a
jmp 0x4ffdb1
mov esi, 0x26
jmp 0x4ffdb1
mov esi, 0x27
push edi
push 0
push 0
push esi
push 0
call dword [0x607304]
test eax, eax
jge 0x4ffefb
push 0
push esi
push edi
push 0
call dword [0x607308]
test eax, eax
jge 0x4ffefb
jmp dword [ebp*4 + 0x4fff48]
xor ebx, ebx
jmp 0x4ffefb
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0055c6a2
add esp, 0x114
ret

Function at 0x5045c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5fe9eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
call dword [0x6070b4]
push 0x1c
mov dword [esi + 0x60], eax
mov dword [esi + 0x54], eax
call fcn.0055c754
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x504633
mov ecx, eax
call fcn.004801a0
jmp 0x504635
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x3c]
push eax
call dword [0x60714c]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x50d180
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esi + 4]
push edx
push 0
push esi
push 0x50d130
push 0
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
call fcn.0055f22b
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
pop esi
mov eax, ecx
ret 8

Function at 0x50e020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x603f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7664f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x50e089
push 0x20
call fcn.0055c754
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 0
test edi, edi
je 0x50e07c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.0050dc20
jmp 0x50e07e
xor edi, edi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0xc], edi
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.005165d0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
test ecx, ecx
je 0x50e0af
cmp ecx, eax
je 0x50e0b4
call fcn.0055cb74
cmp dword [esp + 0x10], edi
je 0x50e0d0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push 0
push ecx
push edx
push 0
call dword [0x6070b4]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xc]
push eax
call fcn.0051c4d0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x522630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 8], esi
cmp dword [ebp + 0x208], esi
je 0x5227b5
cmp dword [ebp + 0x204], esi
je 0x5227b5
mov ecx, dword [ebp + 0x210]
cmp ecx, esi
je 0x5227b5
cmp dword [ebp + 0x20c], esi
je 0x5227b5
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0052e490
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x204], esi
jbe 0x5227a9
push ebx
mov dword [esp + 0x18], esi
push edi
jmp 0x5226a0
mov eax, dword [ebp + 0x208]
mov ecx, dword [esp + 0x1c]
fld dword [ecx + eax]
lea esi, [ecx + eax]
call fcn.0055cf80
fld dword [esi + 0x64]
mov edi, eax
mov dword [esp + 0x30], edi
call fcn.0055cf80
fld dword [esi + 0x68]
mov dword [esp + 0x14], eax
call fcn.0055cf80
fld dword [esi + 4]
mov ebx, eax
mov dword [esp + 0x34], ebx
call fcn.0055cf80
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
jge 0x52278d
jmp 0x5226f0
mov esi, dword [esp + 0x28]
xor edx, edx
mov eax, ecx
div esi
mov ebp, esi
sub ebp, edx
jne 0x522702
mov ebp, esi
lea edx, [ecx + ebp]
cmp edx, ebx
jle 0x52270d
mov ebp, ebx
sub ebp, ecx
cmp edi, dword [esp + 0x14]
jge 0x52277b
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0xa8
add ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov eax, edi
div ecx
mov esi, ecx
sub esi, edx
jne 0x522733
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esi + edi]
cmp ecx, eax
jle 0x522742
mov esi, eax
sub esi, edi
cmp dword [esp + 0x3c], 0
je 0x52275f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push esi
push edx
push edi
push ebx
call fcn.00522100
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
add edi, esi
add ebx, 0xa8
cmp edi, eax
jl 0x522721
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add ecx, ebp
cmp ecx, ebx
mov dword [esp + 0x18], ecx
jl 0x5226f0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x78
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 0x204]
jb 0x5226a0
pop edi
pop ebx
mov eax, dword [esp + 8]
pop esi
pop ebp
add esp, 0x28
ret 4
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret 4