joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e90
Capabilities:
Create thread

Disassembly:
sub esp, 0x64
mov eax, dword [0x481580]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
call fcn.004069b0
push 0
push 0
push 0
push 0x408390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push str.Black_John
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x28], xmm0
call fcn.004015e0
push 0xb
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
push str.Agent_Smith
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
movups xmmword [esp + 0x40], xmm0
call fcn.004015e0
push 7
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
push str.Alister
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 0
movups xmmword [esp + 0x58], xmm0
call fcn.004015e0
lea eax, [esp + 8]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x24]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], ecx
push eax
sub ecx, edx
mov dword [esp + 0x1c], 0
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [esp + 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.00401680
mov edi, 3
lea esi, [esp + 0x68]
nop dword [eax]
mov ecx, dword [esi - 4]
lea esi, [esi - 0x18]
dec edi
cmp ecx, 7
jbe 0x408fdd
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408fd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090b6
mov eax, edx
push ecx
push eax
call fcn.0040b534
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
test edi, edi
jne 0x408fa0
mov esi, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
cmp esi, ebp
je 0x40908d
push ebx
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x409010
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
push 0x482b08
call fcn.00401e80
mov ebx, eax
add esp, 0xc
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x30]
mov edi, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x24], edi
mov edx, dword [edi]
call dword [edx + 4]
lea eax, [esp + 0x20]
push eax
call fcn.00402610
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
call dword [edx + 0x30]
movzx eax, ax
mov dword [esp + 0x10], eax
test edi, edi
je 0x409072
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x40906e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00407df0
mov ecx, ebx
call fcn.00406860
add esi, 0x18
cmp esi, ebp
jne 0x409006
pop ebx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetNumberOfEventLogRecords]
lea ecx, [esp + 0x10]
call fcn.00404e30
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.0040b547
add esp, 0x64
ret 0x10
call fcn.0041005f
int3
Function at 0x40c188
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c1c7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c1c7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c1c7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c1c7
cmp dword [ecx + 0x74], 0xe
jbe 0x40c1c7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41cc7a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430760
push 0x430758
push str.FlsAlloc
push 0x1e
call fcn.0041cb44
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ccae
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c140]
call esi
jmp 0x41ccb4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41ccf8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430770
push 0x430768
push str.FlsGetValue
push 0x20
call fcn.0041cb44
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cd2f
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41e5a8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e24a

Function at 0x41e5b3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e3d9

Function at 0x41e9ad
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c2f0
mov eax, dword [0x481580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041d2ad
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e9ef
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41eb4b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042b570
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483550]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041fb7d
mov ecx, dword [esi*4 + 0x483550]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41eb44
cmp eax, dword [edi + ecx + 0x24]
jne 0x41eb44
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41eb44
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041fb7d
add esp, 0x14
test edx, edx
jl 0x41eb44
jg 0x41eaba
test eax, eax
jb 0x41eb44
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41eb44
jl 0x41ead4
cmp dword [ebp - 0x1008], eax
ja 0x41eb44
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41eaf2
test ebx, ebx
je 0x41eb2b
cmp ecx, edi
jae 0x41eb2b
mov al, byte [ecx]
cmp al, 0xd
jne 0x41eb0c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41eb18
cmp byte [ecx + 1], 0xa
jne 0x41eb18
inc ecx
jmp 0x41eb18
movzx eax, al
movsx eax, byte [eax + 0x481840]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41eaf2
cmp edx, ebx
jne 0x41eaf2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41eb49
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b547
leave
ret
Function at 0x41f01b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483550]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f05b
cmp byte [ebx], 0xa
jne 0x41f05b
or byte [eax + edi + 0x28], 4
jmp 0x41f060
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f15e
mov al, byte [edx]
cmp al, 0x1a
je 0x41f140
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f08f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f0b4
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f0be
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f071
jmp 0x41f15e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f13b
cmp dword [ebp - 0xc], 0
je 0x41f13b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483550]
test byte [eax + edi + 0x28], 0x48
je 0x41f115
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f100
mov byte [esi], dl
jmp 0x41f111
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483550]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f15e
cmp byte [ebp - 1], 0xa
jne 0x41f124
cmp esi, ebx
jne 0x41f124
mov byte [esi], 0xa
jmp 0x41f15d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041fb9b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f15e
mov byte [esi], 0xd
jmp 0x41f15d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483550]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f15a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f15e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f167
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483550]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f1aa
cmp word [esi], dx
jne 0x41f1aa
or byte [edi + eax + 0x28], 4
jmp 0x41f1af
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f302
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f2e2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f1f1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f227
cmp eax, edx
jae 0x41f233
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f1c9
jmp 0x41f302
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2de
cmp dword [ebp - 0x14], 0
je 0x41f2de
mov eax, dword [ebx*4 + 0x483550]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f2b6
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f27f
mov word [esi], cx
jmp 0x41f2b2
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483550]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483550]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483550]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f302
pop ebx
cmp word [ebp - 4], bx
jne 0x41f2c7
cmp esi, dword [ebp + 0xc]
jne 0x41f2c7
mov word [esi], bx
jmp 0x41f2ff
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041fb9b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f302
push 0xd
jmp 0x41f2fb
mov ecx, dword [ebx*4 + 0x483550]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f2f9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f302
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4229d7
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x481580]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x422a22
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00422b76
test al, al
jne 0x422a1c
sub edx, 2
cmp edx, edi
jne 0x422a02
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x422a44
lea eax, [edi + 2]
cmp edx, eax
je 0x422a44
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00422923
add esp, 0x10
jmp 0x422b3e
push esi
lea ecx, [ebp - 0x255]
call fcn.00422b76
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x422a87
push dword [ebp - 0x25c]
jmp 0x422a34
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x422ac4
cmp word [ebp - 0x226], 0
je 0x422ae5
cmp word [ebp - 0x226], ax
jne 0x422ac4
cmp word [ebp - 0x224], 0
je 0x422ae5
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00422923
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x422b31
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x422a9e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x422b19
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x422b3e
push 0x422753
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004298d0
add esp, 0x10
jmp 0x422b0e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b547
leave
ret
Function at 0x42a7c5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042a741
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42a93d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42a93d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42a8ec
jg 0x42a81e
test eax, eax
je 0x42a8e2
push 1
push 0x1000
call fcn.0041c60f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42a844
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x42a8d9
push 0x8000
push ebx
call fcn.004197dd
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42a870
jg 0x42a86b
cmp ecx, 0x1000
jb 0x42a870
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041e04a
add esp, 0x10
cmp eax, 0xffffffff
je 0x42a8b5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42a86b
jl 0x42a89c
test ecx, ecx
jne 0x42a85d
push dword [ebp - 0xc]
push ebx
call fcn.004197dd
push esi
call fcn.0041c66c
add esp, 0xc
xor edi, edi
jmp 0x42a94e
cmp byte [edi + 0x24], 0
je 0x42a8cc
cmp dword [edi + 0x20], 5
jne 0x42a8cc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42a8d7
mov edi, dword [edi + 0x18]
jmp 0x42a8d9
xor edi, edi
push esi
call fcn.0041c66c
pop ecx
jmp 0x42a94e
test ecx, ecx
jg 0x42a8ae
jl 0x42a8ec
test eax, eax
jae 0x42a8ae
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041fb9b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42a90f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42a8ae
jmp 0x42a946
push ebx
call fcn.0042387a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42a8ae
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x42a94e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42a94b
mov edi, dword [edi + 0x18]
jmp 0x42a94e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041fb9b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b47d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b47d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1066c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1066c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1066c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1066c06a
add dl, dl
jne 0x1066c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1066c0dc
xor eax, eax
add dl, dl
jne 0x1066c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1066c17d
add dl, dl
jne 0x1066c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1066c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1066c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1066c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1066c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1066c075
mov eax, 1
add dl, dl
jne 0x1066c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1066c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1066c0e1
sub eax, ebx
mov ebx, 1
jne 0x1066c128
mov ecx, 1
add dl, dl
jne 0x1066c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1066c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1066c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1066c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1066c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1066c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1066c136
cmp eax, 0x7d00
jae 0x1066c16d
cmp eax, 0x500
jb 0x1066c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1066c075
cmp eax, 0x7f
ja 0x1066c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1066c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1066c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1066c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40401c
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
mov dh, 0x5f
ljmp 0x22f3
fdiv dword [ebx + reloc.MSVCRT.dll_strncpy]
jb 0x404060
invalid
in al, 0x4e
dec esp
jge 0x40400b
mov edx, 0x8e094fc3
xchg ebx, eax
or dl, dh
mov esi, 0x512ec5d3
xchg ebp, eax
adc ebx, dword [ebp - reloc.MSVCRT.dll_strncpy]
rcr byte [esi], cl
push edx
cmc
sbb ch, ah
or ah, 0x2b
in eax, 0x3e
pop edi
dec esi
stosd dword es:[edi], eax
push 0x8fe3b0fe
cdq
push 0x62
in al, 0x22
scasd eax, dword es:[edi]
in al, 0x23
mov dl, bh
mov dh, 0x49
add al, 0x15
lds esp, [ebx]
sub al, byte [ebx]
mov ebp, 0x517d46c2
scasd eax, dword es:[edi]
jae 0x4040f8
sub cl, dl
push eax
mov esi, 0xf9ab99df
push ds
popfd
fistp word [ecx - 0x62e10655]
les ebx, [ebx + 0x24]
jl 0x4040d4
xchg ecx, eax
sahf
fnstcw word [ebx + ebx - 0x47]
sub dword [edx - 0x1a], eax
ret
inc ebp
jge 0x4040aa
cmp eax, 0x5c030b48
ret
push 0x2e
add dl, byte [ebx - 0x7a]
pop esi
pop ds
mov ebp, 0xc1185843
fcmovnu st(0), st(4)
pop ebp
out dx, eax
fcomp qword [ebp - 0x11]
adc eax, 0xef521be2
sub byte [ecx + 0x4a], al
aaa
push 0x6a0d22e8
inc ebx
xor dword [edi - reloc.MSVCRT.dll_strncpy], ebx
adc eax, 0x3efc2789
ja 0x404105
neg byte [ecx]
retf

Function at 0x405150
Capabilities:
Encode data using xor

Disassembly:
invalid
and eax, 0x19af8e9
sub byte [0x2af6160b], 0x6f
loopne 0x40514f
cmp byte [esi + 0x19], bl
sar byte [ecx], 1
pop edx
sub ecx, dword [ebx]
aam 0x3e
invalid
Function at 0x50a102
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf04f70c0
jmp 0x50a25d
push ebx
mov byte [esp], ch
pushal
mov word [esp + 0x1b], bx
mov dword [esp + 0x20], eax
jmp 0x50a152
mov dword [esp + 0x1c], ecx
call fcn.0050a136
jmp 0x50a18c
pop word [esp + 5]
pop dword [esp]
jmp 0x50a1b7
push word [esp + 7]
je 0x50a176
pop word [esp + 5]
pop dword [esp]
mov byte [esp], bh
mov dword [esp + 0x40], esp
pushfd
jmp 0x50a24b
mov byte [esp], bh
mov dword [esp + 0x40], esp
pushfd
jmp 0x50a24b
mov dword [esp], esp
mov dword [esp + 0x40], ebp
call fcn.0050a1f5
pushfd
jmp 0x509c20
xchg ebx, eax
not di
mov ebp, dword [esp + 0x2c]
jmp 0x50a2c5
lea edi, [esp]
ror al, 6
jne 0x50a29f
bswap ebx
jmp 0x50a2a9
jmp 0x50a287
bswap ebx
or ah, ah
jmp 0x50a2ef
or ah, ah
jmp 0x50a2ef
rdtsc
call 0x50a2d9
mov esi, 0x24d5b21c
mov dword [reloc.MSVCRT.dll_strncpy], eax
imul ebx, eax, 8
stosd dword es:[edi], eax
ret 0x4c7d
rdtsc
mov esi, 0x762519ec
lea esi, reloc.MSVCRT.dll_strncpy
bsr edx, edx
jbe 0x50a29d
ja 0x50a29d
mov edx, ebp
push ebp
setb bl
pop ax
lea esp, [esp + 2]
jmp 0x50a40c
sub esp, 0xc0
mov esi, esp
mov ch, byte [esp]
bswap ebx
jmp 0x50a2ad
not ebp
sub esp, 0x17
jge 0x50a362
mov eax, 0x8017d411
mov eax, dword [esp + 8]
sub esp, 0x1e
call fcn.0050a369
mov ecx, 0x4dd2fb98
fmul qword [ebp + 0x42b85142]
jg 0x50a38b
lea eax, [edx + 0x51]
mov eax, 0xe4497f42
mov ecx, edx
jmp 0x50a31d
in al, 0x8b
retf 0xd6eb
mov eax, dword [esp + 8]
sub esp, 0x1e
lea ebx, [ecx*4]
mov ecx, edi
lea esp, [esp + 1]
jmp 0x50a3f4
mov eax, 0x8017d411
jmp 0x50a347
jmp 0x50a357
push esi
pop ecx
jmp 0x50a33b
stc
pop ebx
mov bx, cx
push dword [esp + 0xc]
ret 0x10
lea esp, [esp + 0x34]
dec ebp
call fcn.0050a5cc
sti
ja 0x50a3e8
xor byte [ecx - 0x32], 0xe3
push 0xab6899fe
add eax, 0x79dff6b4
cmpsd dword [esi], dword es:[edi]
neg bh
jns 0x50a3b7
push esi
pop ecx
lea eax, [edx + 0x51]
mov eax, 0xe4497f42
mov ecx, edx
jmp 0x50a31d