joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4168fa
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
push 7
pop ecx
lea eax, [ebx - 1]
cmp ecx, eax
mov ecx, esi
push str.bad_pack_level
sbb dl, dl
inc dl
call fcn.00415586
xor edi, edi
add esp, 4
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x416943
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
mov dword [esi + 0x6af6c], edi
push edi
push eax
call fcn.0041ed30
movzx eax, word [ebx*8 + 0x445f62]
add esp, 0xc
mov dword [esi + 0x6af98], eax
movzx eax, word [ebx*8 + 0x445f60]
mov dword [esi + 0x6af9c], eax
movzx eax, word [ebx*8 + 0x445f64]
push 2
mov dword [esi + 0x6afa0], eax
movzx eax, word [ebx*8 + 0x445f66]
pop ecx
mov dword [esi + 0x6af94], eax
cmp ebx, ecx
jg 0x4169a6
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x4169b1
cmp ebx, 8
jl 0x4169b1
mov eax, dword [ebp + 8]
or word [eax], cx
push 0x10000
lea ebx, [esi + 0x1af70]
mov dword [esi + 0x6af84], edi
push ebx
push esi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
test eax, eax
je 0x416a18
cmp eax, 0xffffffff
je 0x416a18
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x4169f3
mov ecx, esi
call fcn.00416bfe
mov dword [esi + 0x6af7c], edi
mov ecx, edi
movzx eax, byte [ebx + edi]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc edi
mov dword [esi + 0x6af7c], ecx
cmp edi, 2
jb 0x4169fb
jmp 0x416a28
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x416d45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, edi
mov ebx, edi
mov dword [ebp - 4], ecx
mov dword [esi + 0x6af80], 2
jmp 0x416f54
cmp dword [esi + 0x6af90], 3
jb 0x416dc2
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x416dff
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x416dff
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x416de9
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.00416a2d
mov ecx, dword [esi + 0x6af90]
mov ebx, eax
cmp ebx, ecx
cmova ebx, ecx
mov ecx, esi
cmp ebx, 3
jb 0x416ee2
mov edx, dword [esi + 0x6af84]
lea eax, [ebx - 3]
sub edx, dword [esi + 0x6af88]
push eax
call fcn.004162db
sub dword [esi + 0x6af90], ebx
pop ecx
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x416e98
cmp dword [esi + 0x6af90], 3
jb 0x416e98
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [esi + edx + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
dec ebx
jne 0x416e3b
mov eax, dword [ebp - 8]
jmp 0x416eff
add dword [esi + 0x6af84], ebx
mov dl, 1
mov eax, dword [esi + 0x6af84]
mov ebx, edi
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
movzx ecx, byte [eax + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [eax + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov ecx, esi
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
call fcn.00415586
mov eax, dword [ebp - 8]
add esp, 4
jmp 0x416f05
mov eax, dword [esi + 0x6af84]
xor edx, edx
movzx eax, byte [eax + esi + 0x1af70]
push eax
call fcn.004162db
dec dword [esi + 0x6af90]
pop ecx
inc dword [esi + 0x6af84]
test eax, eax
je 0x416f3e
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x416f1d
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x416f1f
mov edx, edi
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push edi
push eax
call fcn.00416132
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x416f51
mov ecx, esi
call fcn.00416bfe
mov ecx, dword [ebp - 4]
cmp dword [esi + 0x6af90], edi
jne 0x416d67
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x416f72
lea edi, [esi + 0x1af70]
add edi, ecx
mov eax, dword [esi + 0x6af84]
mov edx, edi
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00416132
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417b4b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x417b56
xor eax, eax
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x417c0e
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
dec edi
jne 0x417b71
pop edi
test esi, esi
je 0x417c27
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x445b60]
inc edx
dec esi
jne 0x417c12
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x417d9e
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x44c4b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
xor esi, esi
inc esi
cmp eax, esi
je 0x417ddd
mov eax, 0x1000000
jmp 0x417f6d
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x417df6
mov eax, 0x200
jmp 0x417f6d
mov eax, dword [ebp - 0x38]
mov edx, eax
push 0
and edx, esi
pop esi
push 1
pop ecx
cmovne esi, ecx
test al, 2
je 0x417e0d
or esi, 2
test al, 4
je 0x417e14
or esi, 4
mov ecx, eax
and ecx, 0x10
je 0x417e1e
or esi, 0x10
test al, 0x20
je 0x417e25
or esi, 0x20
test ecx, ecx
je 0x417e31
or esi, 0x40000000
jmp 0x417e37
or esi, 0x80000000
or esi, 0x1000000
test edx, edx
jne 0x417e47
or esi, 0x800000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x3c], eax
cmp eax, 0x28
jbe 0x417ef8
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x58]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x417ef5
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + 0x34]
cmp dword [ebp - 0x3c], eax
jbe 0x417ef5
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x48]
cmp eax, 0x5a4d
je 0x417eef
cmp eax, 0x454e
je 0x417eef
cmp eax, 0x454c
je 0x417eef
cmp eax, 0x4550
jne 0x417ef5
or esi, 0x400000
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x417f01
mov dword [ecx], esi
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x417f0a
mov dword [ecx], eax
test edi, edi
je 0x417f43
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00417cea
push dword [ebp - 0x20]
mov dword [edi], eax
push dword [ebp - 0x24]
mov dword [edi + 4], edx
call fcn.00417cea
push dword [ebp - 0x30]
mov dword [edi + 8], eax
push dword [ebp - 0x34]
mov dword [edi + 0xc], edx
call fcn.00417cea
add esp, 0x18
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x417f6b
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
movzx ecx, word [ebp - 0x40]
movzx eax, word [ebp - 0x3c]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041da8c
mov esp, ebp
pop ebp
ret
Function at 0x418027
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x418063
mov edx, dword [esi + 0x1c]
mov edi, dword [ebp + 0xc]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x20]
jb 0x41804d
mov dword [esi + 0xc], 0x30000
jmp 0x418088
push edi
push dword [ebp + 8]
add ecx, edx
push ecx
call fcn.0041dc00
add esp, 0xc
mov eax, edi
add dword [esi + 0x1c], edi
jmp 0x41808a
mov eax, dword [esi]
test eax, eax
je 0x418081
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
jmp 0x41808a
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4182df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x418329
mov eax, dword [edi + 0x6c]
mov esi, dword [edi + 0x68]
cmp eax, esi
jae 0x418364
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push dword [ebp + 8]
call fcn.0041dc00
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x58]
add dword [edi + 0x6c], esi
add dword [edi + 0x54], esi
push esi
call fcn.00417b4b
add esp, 0x10
mov dword [edi + 0x58], eax
mov eax, esi
jmp 0x418366
cmp dword [edi + 0x5c], 0
je 0x41835d
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418364
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x58]
add dword [edi + 0x54], esi
push esi
call fcn.00417b4b
pop ecx
jmp 0x418322
mov dword [edi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x418b2b
Capabilities:
Get file size

Disassembly:
cmp dword [ecx], 0
je 0x41814e
push 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
ret
xor eax, eax
ret
cmp dword [ecx], 2
je 0x418b33
xor eax, eax
ret
mov ecx, dword [ecx + 4]
jmp 0x41813e
Function at 0x418db4
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x43b519
call fcn.004249d4
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x418eac
cmp byte [esi + 0x46], bl
je 0x418eac
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x418df0
xor al, al
jmp 0x418eae
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00407d43
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x418e1d
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x418e44
dec eax
je 0x418e48
dec eax
dec eax
je 0x418e9a
xor bl, bl
jmp 0x418e9c
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x418e58
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x418e80
cmp eax, 0x10
jae 0x418e67
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.004223ea
add esp, 0x10
cmp ebx, eax
jne 0x418e40
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x418e9a
test ebx, ebx
jne 0x418e11
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.004071b7
jmp 0x418e0b
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040be6f
mov al, bl
jmp 0x418eae
mov al, 1
call fcn.00424983
ret
Function at 0x43362e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c4b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00426c05
mov dword [ebp - 0x14], eax
cmp dword [0x44f390], esi
jne 0x433721
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4336ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x433801
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x433801
push 0x442a30
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x433801
push eax
call ebx
push 0x442a3c
push edi
mov dword [0x44f390], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44f394], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44f398], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44f3a0], eax
test eax, eax
je 0x43371e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44f39c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x433746
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x433739
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43375b
push 4
pop eax
jmp 0x433803
cmp dword [ebp - 0x14], esi
je 0x43375b
push dword [0x44f390]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x433740
mov eax, dword [0x44f39c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4337b9
cmp dword [0x44f3a0], edi
je 0x4337b9
push eax
call ebx
push dword [0x44f3a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4337b9
test eax, eax
je 0x4337b9
call ecx
test eax, eax
je 0x4337ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4337ae
test byte [ebp - 8], 1
jne 0x4337b9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4337e9
mov eax, dword [0x44f394]
cmp eax, edi
je 0x4337e6
push eax
call ebx
test eax, eax
je 0x4337e6
call eax
mov esi, eax
test esi, esi
je 0x4337e6
mov eax, dword [0x44f398]
cmp eax, edi
je 0x4337e6
push eax
call ebx
test eax, eax
je 0x4337e6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44f390]
call ebx
test eax, eax
je 0x433801
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x433803
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041da8c
mov esp, ebp
pop ebp
ret
Function at 0x40499c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404180
xor eax, eax
push ebp
push 0x4049ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041e4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4049d1
test al, 0x10
je 0x4049d5
xor ebx, ebx
jmp 0x4049d7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4049f4
lea eax, [ebp - 4]
call fcn.00404188
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x40a835ee
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0xf7d341e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x408d13
Capabilities:
Encode data using xor

Disassembly:
lds ebp, [ecx + 0x6e]
jmp 0x408d55
jnp 0x408d61
jp 0x408d74
push cs
inc edx
pop ebp
jle 0x408d8d
cmp ah, byte [eax]
mov ds, edx
mov byte [ebx + 0x6bbf4ff6], ch
dec esi
and byte [esi - 0x9547726], cl
dec edi
mov edi, 0x8c4ef26b
pop esp
rcl ecx, 1
fimul dword [eax - 0x40b00955]
imul esi, edx, 0x4e
mov word [ecx + edx*8 - 0x2f], ds
salc
invalid
xor ebx, dword [ecx]
insb byte es:[edi], dx
scasb al, byte es:[edi]
pop edx
mov cs, word [ebp + 0x5a]
cmp cl, dh
dec edx
sub eax, 0x3e8ae525
lodsb al, byte [esi]
mov edi, 0x6310893c
push ds
bound eax, qword [edx + 0x2acac0be]
pop es
mov esi, 0x72acac0
pop ecx
sub dword ss:[eax], esi
punpckhbw mm2, qword [ebp + 0x3a]
push cs
push ds
cli
jno 0x408dc5
cli
popfd
push cs
mov ecx, dword [edx]
stosb byte es:[edi], al
test al, 0xad
in eax, dx
scasb al, byte es:[edi]
sbb al, 0x39
aaa
add ch, bh
out dx, eax
invalid
sub al, 0xf
jge 0x408d6f
imul edi, dword [ecx], 0xeabae6a1
dec esp
outsb dx, byte [esi]
imul eax, dword [ecx], 0x6a
push 0xfffffffffffffff2
jbe 0x408e30
bnd jbe 0x408e30
and esp, ecx
jo 0x408d5f
int3
mov gs, word [esi + edi + 0x3f]
sub eax, 0xcec2d49a
jp 0x408e10
or dword [ebx - 0x29cf0706], 0xf150a3c9
push cs
push edx
mov edi, edx
clc
xor dh, dl
leave
mov dword [0x520ef150], eax
cmp al, 0x5c
cli
jle 0x408de7
jp 0x408dd3
js 0x408e6b
test al, 0x13
push 0x22
sbb dword [esi + 0x20bac0db], ecx
cli
outsb dx, byte [esi]
int3
add dword [0x7efebe5a], ecx
pop ds
sbb ecx, dword ds:[esp + ebp]
mov cl, 0xbb
push ds
jae 0x408dd4
mov byte ds:[edi], ch
enter 0x4b66, 0xffffffffffffffd9
movsb byte es:[edi], byte [esi]
lahf
invalid
push 0x58
mov dword [0xffb52f2a], eax
dec byte [edi]
jno 0x408dd8
mov edi, dword [ebx - 0x4fe28732]
mov ebx, 0xb01d78ce
test byte [esi + edx*8 - 0x6ce30652], 0x1a
mov esp, 0xb9fae5aa
fild dword [ebp + eax - 0x31]
out 0x78, al
ljmp 0xe04c
dec esp
loopne 0x408e7b
push ebx
loop 0x408e86
pop edx
into
add al, 0x8d
mov dh, 0x9b
wait
test byte [edx - 0x3c], ch
mov fs, word [ebx + edi*2 - 0x4e3d7614]
cli
jnp 0x408e59
mov edx, eax
mov cl, 0xfa
lodsb al, byte [esi]
cmp ebp, dword [eax + 0x5f]
push ds
and eax, 0x1e0f7f5c
leave
jg 0x408e3c
push 0x29
mov word [ebp - 0x5e], gs
lcall 0xa01a, 0xee36fef9
retf 0xccae
out dx, al
sbb ah, byte [eax - 0x53335136]
div ch
invalid
Function at 0x524253
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx - 0x7adbdbbc], cl
ror byte [edi], 0x84
loope 0x52425e
add byte [eax], al
mov edi, dword [esp + 0x28]
test edi, edi
je 0x524341
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esi + 4]
mov dword [ebp], edx
movzx edx, byte [esi + 0x18]
mov dword [eax], edx
cmp byte [esi + 0x18], 1
add byte [eax], al
add byte [eax + edx + 0x50], dh
call 0x65cf73
add esp, 4
mov dword [esi + 0x54], 0
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.005269e3
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
add byte [eax], al
add byte [ebx + 0x2444c6cd], cl
sbb al, 1
call fcn.00526a73
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x38]
mov word [esi + 0x10], ax
mov word [esi + 0x5a], ax
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov word [esi + 0x12], cx
mov ecx, dword [esp + 0x3c]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
mov byte [esp + 0x2c], 2
mov dword [esi + 0xc], ebx
mov word [esi + 0x54], 0x83f
mov dword [esi + 0x56], ebx
call fcn.00526ad3
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x6a], bl
mov word [esi + 0x64], bx
mov dword [esi + 0x66], ebx
mov word [esi + 0x5d], bx
mov dword [esi + 0x5f], ebx
mov dword [esi + 0x6b], ebx
xor edx, edx
mov al, 0xff
mov byte [esi + 0x63], al
mov byte [esi + 0x5c], al
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
pop edi
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18
Function at 0x56ca44
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [ebx - 0x7adbdbbc], cl
ror byte [edi], 0x84
loope 0x56ca4f
add byte [eax], al
mov edi, dword [esp + 0x28]
test edi, edi
je 0x56cb32
mov edx, dword [esi]
mov dword [ebx], edx
mov edx, dword [esi + 4]
mov dword [ebp], edx
movzx edx, byte [esi + 0x18]
mov dword [eax], edx
cmp byte [esi + 0x18], 1
add byte [eax], al
add byte [eax + edx + 0x50], dh
call 0x6a5764
add esp, 4
mov dword [esi + 0x54], 0
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0056f1d4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
add byte [eax], al
add byte [ebx + 0x2444c6cd], cl
sbb al, 1
call fcn.0056f264
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x38]
mov word [esi + 0x10], ax
mov word [esi + 0x5a], ax
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov word [esi + 0x12], cx
mov ecx, dword [esp + 0x3c]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebp
mov byte [esp + 0x2c], 2
mov dword [esi + 0xc], ebx
mov word [esi + 0x54], 0x83f
mov dword [esi + 0x56], ebx
call fcn.0056f2c4
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x6a], bl
mov word [esi + 0x64], bx
mov dword [esi + 0x66], ebx
mov word [esi + 0x5d], bx
mov dword [esi + 0x5f], ebx
mov dword [esi + 0x6b], ebx
xor edx, edx
mov al, 0xff
mov byte [esi + 0x63], al
mov byte [esi + 0x5c], al
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
pop edi
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x18