joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f06e0
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 0x727598
push 0x80000002
mov ebp, ecx
call dword [0x608008]
test eax, eax
jne 0x4f07a9
mov edx, dword [esp + 0x10]
mov edi, dword [0x608010]
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 0x4f0773
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 0x4f0773
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 0x4f0773
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 0x4f079e
mov byte [esi], 0
mov eax, dword [esp + 0x10]
push eax
call dword [0x608004]
cmp dword [esp + 0x44], 0
je 0x4f08a5
cmp dword [ebp + 0x1b8], 0
je 0x4f08a5
lea ecx, [esp + 0x20]
push ecx
mov dword [ebp + 0x1b4], 0
call dword [0x6081ac]
test eax, eax
je 0x4f08a5
lea edx, [esp + 0x28]
push edx
call dword [0x6081a8]
test eax, eax
je 0x4f08a5
pushaw
cpuid
rdtsc
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
popaw
mov ebx, dword [0x6081a8]
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x4f08a5
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp edi, ecx
jl 0x4f08a5
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
jg 0x4f0834
cmp esi, eax
jb 0x4f08a5
mov edx, dword [esp + 0x24]
sub esi, eax
mov eax, dword [esp + 0x20]
sbb edi, ecx
mov cl, 2
call fcn.00560370
cmp edi, edx
jg 0x4f0866
jl 0x4f0851
cmp esi, eax
jae 0x4f0866
lea ecx, [esp + 0x18]
push ecx
call ebx
test eax, eax
jne 0x4f0816
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.005601d0
push 0
push 0xf4240
push edx
push eax
call fcn.00560120
mov dword [ebp + 0x1b4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4f1f60
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 [0x7cfbf8], eax
mov dword [0x7cfbfc], eax
mov dword [0x7cfc00], eax
mov dword [0x7cfc04], eax
lea eax, [ecx + 0x194]
push 0
push eax
mov dword [ebp - 8], ecx
mov dword [0x7cfbf4], 0
mov dword [ebp - 4], eax
call fcn.0055e2a0
add esp, 0xc
pushaw
pushfd
pop eax
mov ecx, eax
xor eax, 0x40000
push eax
popfd
pushfd
pop eax
xor eax, ecx
mov dword [0x7cfbf0], 1
je 0x4f2032
push ecx
popfd
mov dword [0x7cfbf0], 2
mov eax, ecx
xor eax, 0x200000
push eax
popfd
pushfd
pop eax
xor eax, ecx
je 0x4f2032
mov dword [0x7cfbf4], 1
mov eax, 0
cpuid
mov dword [0x7cfbf8], ebx
mov dword [0x7cfbfc], edx
mov dword [0x7cfc00], ecx
cmp eax, 1
jb 0x4f2032
mov eax, 1
cpuid
mov dword [0x7cfbf0], eax
mov dword [0x7cfbec], edx
mov eax, 0x80000000
cpuid
cmp eax, 0x80000001
jb 0x4f2032
mov eax, 0x80000001
cpuid
mov dword [0x7cfbe8], edx
popaw
mov esi, dword [ebp - 8]
mov eax, 0x7cfbf8
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 0x4f2050
cmp dword [0x7cfbf4], 0
jne 0x4f2073
mov eax, dword [0x7cfbf0]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x4f2104
mov dword [esi + 0x1b8], edi
test dword [0x7cfbec], 0x800000
je 0x4f208b
mov dword [esi + 0x1bc], edi
test dword [0x7cfbec], 0x8000
je 0x4f209d
mov dword [esi + 0x1c0], edi
test dword [0x7cfbec], 0x2000000
je 0x4f20af
mov dword [esi + 0x1c4], edi
test dword [0x7cfbe8], 0x80000000
je 0x4f20c1
mov dword [esi + 0x1c8], edi
mov edx, dword [0x7cfbf0]
mov eax, dword [ebp - 4]
shr edx, 0xc
and edx, 3
mov dword [eax], edx
mov ecx, dword [0x7cfbf0]
shr ecx, 8
and ecx, 0xf
mov dword [esi + 0x198], ecx
mov edx, dword [0x7cfbf0]
shr edx, 4
and edx, 0xf
mov dword [esi + 0x19c], edx
mov eax, dword [0x7cfbf0]
and eax, 0xf
mov dword [esi + 0x1a0], eax
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x6081b4]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push eax
mov ecx, esi
mov dword [esi + 0x1cc], edx
call fcn.004f06e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x500950
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x114
mov eax, dword [0x767500]
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.0x500984
jmp dword [ebp*4 + 0x500b58]
mov esi, 0x10
jmp 0x5009f1
mov esi, 0x19
jmp 0x5009f1
mov esi, 0xb
jmp 0x5009f1
mov esi, 2
jmp 0x5009f1
mov esi, 0x17
jmp 0x5009f1
mov esi, 5
jmp 0x5009f1
push edi
push 0x104
call dword [0x6081e8]
jmp 0x500b3b
push 0x104
push edi
call dword [0x6081e4]
jmp 0x500b3b
mov esi, 0x23
jmp 0x5009f1
mov esi, 0x1a
jmp 0x5009f1
mov esi, 0x26
jmp 0x5009f1
mov esi, 0x27
push edi
push 0
push 0
push esi
push 0
call dword [0x608304]
test eax, eax
jge 0x500b3b
push 0
push esi
push edi
push 0
call dword [0x608308]
test eax, eax
jge 0x500b3b
jmp dword [ebp*4 + 0x500b88]
xor ebx, ebx
jmp 0x500b3b
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0055d4e2
add esp, 0x114
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x60483b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x767500]
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 [0x6080b4]
push 0x1c
mov dword [esi + 0x60], eax
mov dword [esi + 0x54], eax
call fcn.0055d594
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x505283
mov ecx, eax
call fcn.00432fa0
jmp 0x505285
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x3c]
push eax
call dword [0x60814c]
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 0x50de60
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 0x50de10
push 0
push 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
call fcn.0056006b
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
pop esi
mov eax, ecx
ret 8

Function at 0x50ec20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x604d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x50ec89
push 0x20
call fcn.0055d594
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 0
test edi, edi
je 0x50ec7c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00530e70
jmp 0x50ec7e
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.0050e110
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
test ecx, ecx
je 0x50ecaf
cmp ecx, eax
je 0x50ecb4
call fcn.0055d9b4
cmp dword [esp + 0x10], edi
je 0x50ecd0
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 [0x6080b4]
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.00517200
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 0x523100
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 0x523285
cmp dword [ebp + 0x204], esi
je 0x523285
mov ecx, dword [ebp + 0x210]
cmp ecx, esi
je 0x523285
cmp dword [ebp + 0x20c], esi
je 0x523285
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0052eed0
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x204], esi
jbe 0x523279
push ebx
mov dword [esp + 0x18], esi
push edi
jmp 0x523170
mov eax, dword [ebp + 0x208]
mov ecx, dword [esp + 0x1c]
fld dword [ecx + eax]
lea esi, [ecx + eax]
call fcn.0055ddc0
fld dword [esi + 0x64]
mov edi, eax
mov dword [esp + 0x30], edi
call fcn.0055ddc0
fld dword [esi + 0x68]
mov dword [esp + 0x14], eax
call fcn.0055ddc0
fld dword [esi + 4]
mov ebx, eax
mov dword [esp + 0x34], ebx
call fcn.0055ddc0
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x18], eax
jge 0x52325d
jmp 0x5231c0
mov esi, dword [esp + 0x28]
xor edx, edx
mov eax, ecx
div esi
mov ebp, esi
sub ebp, edx
jne 0x5231d2
mov ebp, esi
lea edx, [ecx + ebp]
cmp edx, ebx
jle 0x5231dd
mov ebp, ebx
sub ebp, ecx
cmp edi, dword [esp + 0x14]
jge 0x52324b
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 0x523203
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esi + edi]
cmp ecx, eax
jle 0x523212
mov esi, eax
sub esi, edi
cmp dword [esp + 0x3c], 0
je 0x52322f
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push esi
push edx
push edi
push ebx
call fcn.00522bd0
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
add edi, esi
add ebx, 0xa8
cmp edi, eax
jl 0x5231f1
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 0x5231c0
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 0x523170
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
Function at 0x5313a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebp
push esi
push edi
mov edi, dword [0x608334]
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call edi
lea ecx, [esp + 0x3c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebp, dword [esp + 0x68]
mov edx, dword [ebp + 0x18]
cmp edx, dword [esi + 0x18]
je 0x5313e8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x50
ret 0x1c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov edi, dword [0x608448]
mov dword [esp + 0x1c], eax
add eax, ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
add eax, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
je 0x5313dd
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
sub ebx, eax
add ebx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
add edx, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x54], ebx
call edi
test eax, eax
jne 0x5314af
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x50
ret 0x1c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
sub eax, edi
mov dword [esp + 0x78], ecx
je 0x53154a
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x74], eax
jmp 0x5314e4
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
cmp eax, dword [esi + 4]
jae 0x531505
cmp edi, dword [esi + 8]
jae 0x531505
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
imul ecx, edi
imul edx, eax
add ecx, edx
add ecx, dword [esi + 0xc]
jmp 0x531507
xor ecx, ecx
mov edx, dword [esp + 0x70]
cmp edx, dword [ebp + 4]
jae 0x53152c
cmp ebx, dword [ebp + 8]
jae 0x53152c
mov eax, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
imul eax, ebx
imul ebp, edx
mov edx, dword [esp + 0x6c]
add eax, ebp
add eax, dword [edx + 0xc]
jmp 0x53152e
xor eax, eax
mov edx, dword [esi + 0x18]
imul edx, dword [esp + 0x78]
push edx
push eax
push ecx
call fcn.005006d0
add esp, 0xc
inc edi
inc ebx
sub dword [esp + 0x74], 1
jne 0x5314e0
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x50
ret 0x1c
Function at 0x555470
Capabilities:
Hash data using crc32b

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [edx]
or eax, 0xffffffff
test cl, cl
je 0x55550f
movsx ecx, cl
shl ecx, 0x18
xor eax, ecx
test eax, eax
jns 0x555496
add eax, eax
xor eax, 0x4c11db7
jmp 0x555498
add eax, eax
test eax, eax
jns 0x5554a5
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554a7
add eax, eax
test eax, eax
jns 0x5554b4
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554b6
add eax, eax
test eax, eax
jns 0x5554c3
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554c5
add eax, eax
test eax, eax
jns 0x5554d2
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554d4
add eax, eax
test eax, eax
jns 0x5554e1
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554e3
add eax, eax
test eax, eax
jns 0x5554f0
add eax, eax
xor eax, 0x4c11db7
jmp 0x5554f2
add eax, eax
test eax, eax
jns 0x5554ff
add eax, eax
xor eax, 0x4c11db7
jmp 0x555501
add eax, eax
mov cl, byte [edx + 1]
inc edx
not eax
test cl, cl
jne 0x555481
ret 4

Function at 0x559360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ff54b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1c]
push 0x18
mov dword [esi], 1
mov dword [esi + 4], eax
call fcn.0055d594
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x5593b2
mov ecx, eax
call fcn.0055b640
jmp 0x5593b4
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x55d450
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x14]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x55d4dc
push ebp
lea ebp, [eax - 1]
shr ebp, 3
inc ebp
cmp dword [esp + 0x14], 0
je 0x55d490
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.0055caa0
add esi, 8
jmp 0x55d4d6
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov ecx, ebx
mov byte [edi + 7], dl
call fcn.0055caa0
add esi, 8
add edi, 8
sub ebp, 1
jne 0x55d478
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x58c230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60643f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], 1
je 0x58c270
push eax
call dword [0x6080b0]
cmp dword [esi + 0x58], 0
je 0x58c281
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [0x608148]
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.0058e4c0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x5a3c77
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x5a3d9a
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x5a3d7e
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + str._H_]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x5a3cd0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x5a3cae
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x5a5df8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x5a5e26
test ecx, ecx
jne 0x5a5e30
test esi, esi
jne 0x5a5e30
mov eax, edx
jmp 0x5a5ea1
cmp eax, 0xffffffff
jne 0x5a5e30
push 0xfffffffffffffffe
pop eax
jmp 0x5a5ea1
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x5a5ea1
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x5a5e66
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x5a5e85
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x5a5f4e
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x5a5ec6
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5a5ed0
xor ecx, ecx
jmp 0x5a5f0f
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x5a5ef2
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.005a66aa
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x5a5f3a
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x5a5f4e
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x5a5e08
pop edi
pop esi
leave
ret
Function at 0x5ab550
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x5ab592
mov ecx, dword [ebp + 8]
push ecx
call fcn.005afbb0
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x5ab588
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x5ab6ae
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x5ab66c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x5ab65b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ab5d1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5ab5f5
xor al, al
jmp 0x5ab6ae
cmp dword [ebp - 4], 2
jne 0x5ab5fd
jmp 0x5ab65b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5ab656
cmp dword [ebp - 4], 3
je 0x5ab612
cmp dword [ebp - 4], 1
jne 0x5ab656
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jl 0x5ab656
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x11c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x5ab5b7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x84], eax
jmp 0x5ab6a2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xcc
je 0x5ab6a2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.005ab6c0
add esp, 4
mov esp, ebp
pop ebp
ret