joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4175bf
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x4175e2
mov eax, 0x200
jmp 0x417769
mov ecx, dword [ebp - 0x4c]
xor eax, eax
push ebx
xor ebx, ebx
mov edx, ecx
inc eax
and edx, eax
push esi
mov dword [ebp - 8], ebx
je 0x4175f8
mov dword [ebp - 8], eax
test cl, 2
je 0x417601
or dword [ebp - 8], 2
test cl, 4
je 0x41760a
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x417615
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x41761e
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x41762b
or dword [ebp - 8], 0x40000000
jmp 0x417632
or dword [ebp - 8], 0x80000000
or dword [ebp - 8], 0x1000000
cmp edx, ebx
jne 0x417644
or dword [ebp - 8], 0x800000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x4176e5
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call edi
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x4176e5
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x4176e5
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x4176de
cmp eax, 0x454e
je 0x4176de
cmp eax, 0x454c
je 0x4176de
cmp eax, 0x4550
jne 0x4176e5
or dword [ebp - 8], 0x400000
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4176f1
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4176fd
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x417739
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00417542
push dword [ebp - 0x34]
mov dword [esi], eax
push dword [ebp - 0x38]
mov dword [esi + 4], edx
call fcn.00417542
push dword [ebp - 0x44]
mov dword [esi + 8], eax
push dword [ebp - 0x48]
mov dword [esi + 0xc], edx
call fcn.00417542
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x417765
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00417566
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret
Function at 0x417934
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x4179a9
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x417960
cmp dword [esi + 0x40], edi
jae 0x417960
push eax
call fcn.0040f939
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x417975
lea eax, [edi + edi]
push eax
call fcn.0040f088
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
test edi, edi
je 0x4179a6
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.00417481
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x417988
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4179d8
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x4179c4
mov dword [esi + 0x14], 0x30000
jmp 0x4179fa
push edi
push edx
add eax, ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x4179fc
mov eax, dword [esi + 4]
test eax, eax
je 0x4179f3
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x4179fc
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x417cbc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x417d12
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x417d4e
sub edi, eax
cmp edi, dword [ebp + 0xc]
jbe 0x417ce7
mov edi, dword [ebp + 0xc]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
add dword [esi + 0x8c], edi
add dword [esi + 0x74], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0041732c
add esp, 0x18
mov dword [esi + 0x78], eax
mov eax, edi
jmp 0x417d50
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x417d47
push 0
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417d4e
mov edi, dword [ebp + 0xc]
add dword [esi + 0x74], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0041732c
add esp, 0xc
jmp 0x417d0b
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4183ae
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x4183db
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0xc]
mov eax, ecx
movzx edx, word [eax*8 + 0x421022]
mov dword [esi + 0x6af98], edx
movzx edx, word [eax*8 + 0x421020]
mov dword [esi + 0x6af9c], edx
movzx edx, word [eax*8 + 0x421024]
mov dword [esi + 0x6afa0], edx
movzx eax, word [eax*8 + 0x421026]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ecx, 2
jg 0x418441
mov eax, dword [ebp + 0x10]
or word [eax], 4
jmp 0x41844d
cmp ecx, 8
jl 0x41844d
mov eax, dword [ebp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x4184b4
cmp eax, 0xffffffff
je 0x4184b4
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41848f
push esi
call fcn.00416a50
pop ecx
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x418497
jmp 0x4184c4
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x418a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x418c68
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x418ada
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x418b1d
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x418b1d
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x418b04
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
push esi
call fcn.0041690c
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x418b1d
mov ebx, eax
cmp ebx, 3
jb 0x418be2
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.00416491
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x418baf
cmp eax, 3
jb 0x418baf
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x418b5d
jmp 0x418c05
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x418c0b
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00416491
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x418c47
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x418c24
lea ecx, [eax + esi + 0x1af70]
jmp 0x418c26
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004188dd
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x418c5a
push esi
call fcn.00416a50
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x418a8a
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x418c7b
lea ecx, [eax + esi + 0x1af70]
jmp 0x418c7d
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004188dd
add esp, 0x10
pop esi
pop ebx
leave
ret

Function at 0x41a20f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426b80]
jne 0x41a219
repz ret
jmp fcn.0041ab2b
Function at 0x41aefb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041a9a7
and dword [ebp - 0x14], 0
cmp dword [0x639460], 0
mov dword [ebp - 0x18], eax
jne 0x41afae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b056
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41b056
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x639460], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x639464], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x639468], eax
call edi
push eax
call esi
mov dword [0x639470], eax
test eax, eax
je 0x41afae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x63946c], eax
mov eax, dword [0x63946c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b007
cmp dword [0x639470], ecx
je 0x41b007
push eax
call esi
push dword [0x639470]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b007
test ebx, ebx
je 0x41b007
call edi
test eax, eax
je 0x41affe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41affe
test byte [ebp - 8], 1
jne 0x41b007
or dword [ebp + 0x10], 0x200000
jmp 0x41b03a
mov eax, dword [0x639464]
cmp eax, dword [ebp - 0x18]
je 0x41b03a
push eax
call esi
test eax, eax
je 0x41b03a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b03a
mov eax, dword [0x639468]
cmp eax, dword [ebp - 0x18]
je 0x41b03a
push eax
call esi
test eax, eax
je 0x41b03a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x639460]
call esi
test eax, eax
je 0x41b056
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b058
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a20f
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, reloc.comdlg32.dll_CommDlgExtendedError
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x28397a78
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x739699a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00431219
Function at 0x100414db
Capabilities:
Encode data using xor

Disassembly:
call 0x10041454
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10041484
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100414a0
xor edx, 0
jmp 0x100414ab
xor edx, edx
jmp 0x100414c2
jmp 0x100414ce
xor eax, eax
push 0x8427d7c0
call 0x100414db
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10041517
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100414f0
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004152e
add eax, 0
jno 0x10041533
add esi, 0
ret 0x10

Function at 0x1004229c
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100422be
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10042460
cmp edi, dword [ebp + 0x10]
jb 0x10042460
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10041d88
inc edi
jmp 0x10042347
jmp 0x10042354
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10041d88
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10041d88
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100423a8
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1004238c
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100423d6
add dword [eax], 0x39
jle 0x100423b2
sub al, 0xf5
mov ch, al
call fcn.100423eb
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100440c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x100440d9
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x100440ea
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1004412b
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x10046497
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100463e0
add ebx, 0
push ecx
call 0x100463f5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x72eba269
sub ebx, dword [0x72ed9aa8]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72ed9a98
call fcn.10041ebf
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100413cd
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10046553
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10046553
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1004650a
mov eax, 1
lock xchg dword [0x72ed9aa4], eax
push 0x3dd1fc71
call 0x10046497
push esi
add esp, 8
cmp eax, 0
jne 0x10046480
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100464a6
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100464bb
cmp ecx, edx
cmp eax, 0
je 0x100464e0
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100464ca
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100464f9
dec eax
loope 0x100464fc
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72ed9aa4], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10046530
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10046545
jmp 0x10046550
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1004643e
Function at 0x1004d5b8
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1004d88e
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72ec671c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72ebd6e2
push 0xffffffffffffffff
call fcn.100447b8
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1004d622
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1004d63a
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1004d882
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1004d856
Function at 0x1005d088
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005d0aa
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005d0aa
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005d0aa
ret
cmp word [ebx + 4], 0x14c
jne 0x1005d0aa
test word [ebx + 0x16], 2
je 0x1005d0aa
test word [ebx + 0x16], 0x100
je 0x1005d0aa
cmp word [ebx + 0x18], 0x10b
jne 0x1005d0aa
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005d0aa
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005d136
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005d0ca
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10044015
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005d0aa
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1005d136
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1005d0aa
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1005d0aa
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1005d0aa
ret
cmp word [ebx + 4], 0x14c
jne 0x1005d0aa
test word [ebx + 0x16], 2
je 0x1005d0aa
test word [ebx + 0x16], 0x100
je 0x1005d0aa
cmp word [ebx + 0x18], 0x10b
jne 0x1005d0aa
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1005d0aa
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1005d136
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1005d0ca
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10044015
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1005d0aa
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8