joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x406a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x406a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x406a38
mov eax, 1
add ebx, ebx
jne 0x406a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x406a50
jne 0x406a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x406a50
xor ecx, ecx
sub eax, 3
jb 0x406a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x406af2
mov ebp, eax
add ebx, ebx
jne 0x406a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x406a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x406abc
inc ecx
add ebx, ebx
jne 0x406aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x406a9d
jne 0x406ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x406a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x406adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x406acd
jmp 0x406a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x406adc
add edi, ecx
jmp 0x406a3e
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x406afa
cmp byte [edi], 1
jne 0x406afa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x406aff
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x406b77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x68d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x690c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x406b2c
mov ecx, edi
jns 0x406b5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6910]
or eax, eax
je 0x406b71
mov dword [ebx], eax
add ebx, 4
jmp 0x406b49
call dword [esi + 0x6920]
mov ebp, dword [esi + 0x6914]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x406bab
sub esp, 0xffffff80
jmp 0x40106c
Function at 0x4090d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6275
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4fc040]
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
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0xf01ff
call dword [0x4ad3d0]
push eax
call dword [0x4ad050]
test eax, eax
jne 0x40912c
xor esi, esi
jmp 0x40926c
test edi, edi
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x14]
xorps xmm0, xmm0
cmovne esi, edi
movlpd qword [ebp - 0x20], xmm0
push 0x94
mov dword [ebp - 0x24], esi
mov dword [esi], 0x94
call fcn.004791c0
mov edi, eax
mov dword [ebp - 0x1c], 0x94
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
push dword [esi]
call fcn.004791c0
push dword [esi]
mov ebx, eax
push 0
push edi
call fcn.004945e0
mov esi, dword [0x4ad04c]
lea eax, [edi + 4]
add esp, 0x14
mov dword [edi], 9
push eax
push str.SeRestorePrivilege
push 0
call esi
lea eax, [edi + 0x10]
push eax
push str.SeBackupPrivilege
push 0
call esi
lea eax, [edi + 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call esi
lea eax, [edi + 0x28]
push eax
push str.SeSecurityPrivilege
push 0
call esi
lea eax, [edi + 0x34]
push eax
push str.SeTakeOwnershipPrivilege
push 0
call esi
lea eax, [edi + 0x40]
push eax
push str.SeImpersonatePrivilege
push 0
call esi
lea eax, [edi + 0x4c]
push eax
push str.SeSystemProfilePrivilege
push 0
call esi
lea eax, [edi + 0x58]
push eax
push str.SeShutdownPrivilege
push 0
call esi
lea eax, [edi + 0x64]
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call esi
lea eax, [edi + 0x70]
push eax
push str.SeAssignPrimaryTokenPrivilege
push 0
call esi
lea eax, [edi + 0x7c]
push eax
push str.SeTcbPrivilege
push 0
call esi
lea eax, [edi + 0x88]
push eax
push str.SeTrustedCredManAccessPrivilege
push 0
call esi
lea eax, [edi + 0xc]
mov ecx, 0xc
nop
mov dword [eax], 2
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x409230
mov eax, dword [ebp - 0x24]
push eax
push ebx
push dword [eax]
push edi
push ecx
push dword [ebp - 0x18]
call dword [0x4ad048]
test eax, eax
jne 0x409261
push ebx
xor esi, esi
call fcn.004791bb
add esp, 4
jmp 0x409263
mov esi, ebx
push edi
call fcn.004791bb
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x40927f
test ecx, ecx
je 0x40927f
push ecx
call dword [0x4ad2ac]
mov eax, esi
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.0047916f
mov esp, ebp
pop ebp
ret
Function at 0x4230a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a75e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
lea ecx, [esi + 0x30]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xfff0f0ff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xc
mov dword [esi + 0x2c], 0
call fcn.004176e0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x2a0], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x426d90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x428cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x428ccb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x428d87
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
sub edi, 1
jne 0x428ce0
pop edi
test esi, esi
je 0x428daa
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ed920]
sub esi, 1
jne 0x428d90
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x42bf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x90
mov ebx, edx
mov edi, ecx
call fcn.0047917d
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
lea ecx, [esi + 0x54]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
call fcn.00402b40
lea ecx, [esi + 0x60]
call fcn.00402b40
lea ecx, [esi + 0x6c]
call fcn.00402b40
lea ecx, [esi + 0x78]
call fcn.00402b40
lea ecx, [esi + 0x84]
call fcn.00402b40
push 0x44
push 0
push esi
call fcn.004945e0
add esp, 0xc
lea ecx, [esi + 0x6c]
push edi
call fcn.00402c10
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
push ebx
mov dword [esi + 0x24], eax
call fcn.00402c10
lea ecx, [esi + 0x60]
call fcn.00402d60
test eax, eax
je 0x42c030
lea ecx, [esi + 0x60]
call fcn.00404c30
push dword [ebp + 0x10]
lea ecx, [esi + 0x78]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00402c10
push 0x4cea88
lea ecx, [esi + 0x84]
call fcn.00402c10
push 0
push 0
push esi
push 0x42c120
push 0
push 0
call dword [0x4ad3cc]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x42c0d8
lea ecx, [esi + 0x84]
call fcn.00402ce0
lea ecx, [esi + 0x78]
call fcn.00402ce0
lea ecx, [esi + 0x6c]
call fcn.00402ce0
lea ecx, [esi + 0x60]
call fcn.00402ce0
lea ecx, [esi + 0x54]
call fcn.00402ce0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x42c0af
push eax
call fcn.004791bb
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x42c0bf
push eax
call fcn.004791bb
add esp, 4
push 0x90
push esi
call fcn.004791ad
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x42c10c
xor edx, edx
mov ecx, eax
call fcn.00414c50
test al, al
je 0x42c10c
mov edi, dword [0x4ad350]
call fcn.004056f0
test al, al
jne 0x42c0fe
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.00414c50
test al, al
jne 0x42c0f1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42e1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7df0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402b40
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00402b40
lea ecx, [esi + 0x30]
call fcn.00406240
lea ecx, [esi + 0x34]
call fcn.00406240
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0042e0d0
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.0042e0d0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.0042e0d0
lea ecx, [esi + 0x78]
call fcn.00402b40
lea ecx, [esi + 0x84]
call fcn.00402b40
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
lea ecx, [esi + 0x9c]
call fcn.00406240
lea ecx, [esi + 0xa0]
call fcn.00406240
mov dword [esi + 0xa4], 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0042e3f0
mov dword [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e2c0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7e10
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xc]
call fcn.00402d60
cmp eax, 6
jle 0x42e305
lea ecx, [edi + 0xc]
call fcn.00402ea0
push eax
lea ecx, [edi + 0x34]
call fcn.004083c0
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x42e318
push eax
call fcn.00482d00
add esp, 4
lea ecx, [edi + 0xa0]
mov dword [edi + 0xa4], 0
call fcn.0042d680
lea ecx, [edi + 0x9c]
call fcn.0042d680
mov eax, dword [edi + 0x98]
test eax, eax
je 0x42e371
push fcn.00402ce0
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.004794c8
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.004791c9
add esp, 8
lea ecx, [edi + 0x84]
call fcn.00402ce0
lea ecx, [edi + 0x78]
call fcn.00402ce0
mov eax, dword [edi + 0x70]
test eax, eax
je 0x42e394
push eax
call fcn.004791bb
add esp, 4
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x42e3a4
push eax
call fcn.004791bb
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x42e3b4
push eax
call fcn.004791bb
add esp, 4
lea ecx, [edi + 0x34]
call fcn.00407780
lea ecx, [edi + 0x30]
call fcn.00407780
lea ecx, [edi + 0xc]
call fcn.00402ce0
mov ecx, edi
call fcn.00402ce0
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 0x436f30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8bc1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00405ba0
movsd qword [esi], xmm0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0xffffffff
mov dword [ebp - 4], 0
mov dword [esi + 0xd8], 0xffffffff
mov byte [ebp - 4], 1
mov dword [esi + 0xdc], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0x4d1c00
mov dword [esi + 0x100], 0x4d1c68
call fcn.0040f940
mov byte [esi + 0x104], al
mov dword [esi + 0x108], 0
mov byte [esi + 0x10c], 0
call fcn.0040f940
push ecx
mov ecx, esi
mov byte [esi + 0x48], al
call fcn.004375c0
push ecx
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.00437610
push ecx
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004376a0
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x476120
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abd09
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x40], 0x64
call fcn.00476350
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47a021
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x4ad20c]
test eax, eax
je 0x47a060
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47a060
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47a060
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x47a060
cmp dword [ecx + 0x74], 0xe
jbe 0x47a060
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a3de0
Capabilities:
Parse pe header

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

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1b975640
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xfcc0253
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x419567
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45e390], 0
push esi
push edi
mov esi, edx
je 0x4196fb
xor eax, eax
lea edi, [ebp - 0x41c]
stosd dword es:[edi], eax
mov ecx, 0x404246
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
dec eax
cmp eax, 0x12
ja case.0x4195a6.16
jmp dword [eax*4 + 0x41970b]
mov ecx, 0x402f1c
jmp case.0x4195a6.16
mov ecx, 0x402f28
jmp case.0x4195a6.16
mov ecx, 0x402f34
jmp case.0x4195a6.16
mov ecx, 0x402f40
jmp case.0x4195a6.16
mov ecx, 0x402f50
jmp case.0x4195a6.16
mov ecx, 0x402f5c
jmp case.0x4195a6.16
mov ecx, 0x402f68
jmp case.0x4195a6.16
mov ecx, 0x402f78
jmp case.0x4195a6.16
mov ecx, 0x402f8c
jmp case.0x4195a6.16
mov ecx, 0x402f98
jmp case.0x4195a6.16
mov ecx, 0x402fa4
jmp case.0x4195a6.16
mov ecx, 0x402fb0
jmp case.0x4195a6.16
mov ecx, 0x402fc0
jmp case.0x4195a6.16
mov ecx, 0x402fd0
jmp case.0x4195a6.16
mov ecx, 0x402fe4
jmp case.0x4195a6.16
mov ecx, 0x402ff8
jmp case.0x4195a6.16
mov ecx, 0x403008
push ecx
push dword [esi + 8]
lea eax, [ebp - 0x408]
push dword [esi + 0xc]
push dword [esi]
push 0x8f9
push dword [0x45e38c]
push dword [0x45e388]
push 0x403014
push 0x400
push eax
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x28
lea ecx, [esi + 0x10]
lea edx, [ebp - 0x41c]
mov edi, eax
call fcn.00454f3f
or dword [ebp - 0x410], 0xffffffff
or dword [ebp - 0x40c], 0xffffffff
cmp edi, 0xffffffff
je 0x4196f0
xor esi, esi
lea eax, [ebp - 0x410]
push esi
push eax
push edi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
push esi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x424]
push dword [ebp - 0x414]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
push esi
lea eax, [ebp - 0x410]
push eax
push 2
push 0x403034
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
lea ecx, [ebp - 0x41c]
call fcn.0041c2cb
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045d72e
leave
ret

Function at 0x41975d
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x45e390], 0
mov eax, dword [ebp + 8]
push esi
je 0x4197c8
push eax
push edx
push ecx
push dword [0x45e38c]
mov esi, 0x45e540
push dword [0x45e388]
push 0x403038
push 0x400
push esi
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x20
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x14]
xor edx, edx
push edx
push ecx
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push edx
push edx
push edx
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0045d72e
leave
ret 4
Function at 0x4197dd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45e390], 0
push esi
mov esi, ecx
je 0x419849
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_NtQuerySystemTime]
push esi
push dword [ebp - 0xc]
mov esi, 0x45e940
push dword [ebp - 0x10]
push 0x403058
push 0x400
push esi
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x18
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x18]
xor edx, edx
push edx
push ecx
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push edx
push edx
push edx
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045d72e
leave
ret

Function at 0x41985c
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45e390], 0
push esi
mov esi, ecx
je 0x4198d0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntdll.dll_NtQuerySystemTime]
push dword [esi + 4]
movzx eax, word [esi]
mov esi, 0x45ed40
shr eax, 1
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x403074
push 0x400
push esi
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x1c
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x18]
xor edx, edx
push edx
push ecx
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push edx
push edx
push edx
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045d72e
leave
ret

Function at 0x4198e3
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
movzx eax, word [esi]
cmp eax, 0x1f4
ja 0x4199db
push eax
push dword [esi + 4]
push 0x45f14c
call sub.ntdll.dll_memcpy
movzx eax, word [esi]
add esp, 0xc
shr eax, 1
push 0x2e
lea ecx, [eax*2 + 0x45f14c]
pop eax
mov word [ecx], ax
add ecx, 2
mov edx, dword [0x45e388]
xor ebx, ebx
mov edi, dword [0x45e38c]
cmp ecx, 0x45f340
jae 0x419964
mov eax, edi
shr eax, 0x1c
shld edi, edx, 4
shl edx, 4
movsx ax, byte [eax + 0x404258]
mov word [ecx], ax
add ecx, 2
inc ebx
cmp ebx, 0x10
jb 0x41993c
movzx eax, word [esi]
add eax, 0x22
mov byte [0x45f140], 1
mov dword [0x45f148], eax
xor eax, eax
push 0x4060
mov dword [0x45f144], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push 7
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x18
push eax
push 0x100100
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], 0x40
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
js 0x4199db
push 0xb
push 0x200
push 0x45f140
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d72e
leave
ret