joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041ed
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4041f5
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404208
test al, 0x10
je 0x404208
mov al, 1
ret
xor al, al
ret

Function at 0x4044a4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4044ac
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4044bf
test al, 0x10
jne 0x4044bf
mov al, 1
ret
xor al, al
ret

Function at 0x404b32
Capabilities:
Set registry value

Disassembly:
push pe_nt_image_headers32
mov eax, 0x424414
call fcn.0040f9de
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x404b5b
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x404b65
mov eax, dword [esi]
push ecx
push edx
push 1
push 0
push eax
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
js 0x404b81
call fcn.0040f988
ret 8
push str.RegSetValueEx_failure_writing_registry_value_
lea ecx, [ebp - 0x28]
call fcn.00402ce1
and dword [ebp - 4], 0
lea edx, [edi + 8]
push 0x5c
lea ecx, [ebp - 0x58]
call fcn.00403c99
mov byte [ebp - 4], 1
mov edx, eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00404441
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00402c9d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00402ca6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402ca6
push 0x42648c
lea ecx, [ebp - 0x28]
call fcn.00402c94
push str.WT::System::Win32::CRegistryKey::SetString
push 0x12d
push 0x42641c
push ecx
push ecx
lea ecx, [ebp - 0x28]
mov esi, esp
call fcn.00402c6f
push eax
mov ecx, esi
call fcn.00402d36
lea ecx, [ebp - 0xb4]
call fcn.004083d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.00408838
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x110]
call fcn.00408236
push 0x42e4f0
lea eax, [ebp - 0x110]
push eax
call fcn.0041162d
int3

Function at 0x4051fd
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4246ee
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x432050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
lea ecx, [esi + 0x30]
call fcn.00405c13
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
call fcn.00405b03
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00405b25
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00405b47
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x406ad4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc0
mov eax, 0x424a4c
call fcn.0040f9de
mov ebx, edx
mov edi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x406bfb
push 0xa
movzx eax, bx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x406b3a
push str._anonymous_namespace::GetDataFromResource
push 0x20
push str.WtCommonAppLogicInstallUtils.cpp
push ecx
push ecx
mov ecx, esp
push str.FindResourceW_failed
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 1
jmp 0x406c21
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xcc], eax
test eax, eax
jne 0x406b7a
push str._anonymous_namespace::GetDataFromResource
push 0x25
push str.WtCommonAppLogicInstallUtils.cpp
push ecx
push ecx
mov ecx, esp
push str.LoadResource_failed
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 2
jmp 0x406c21
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x406bb3
push str._anonymous_namespace::GetDataFromResource
push 0x2a
push str.WtCommonAppLogicInstallUtils.cpp
push ecx
push ecx
mov ecx, esp
push str.SizeofResource_failed
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 3
jmp 0x406c21
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x406bee
push str._anonymous_namespace::GetDataFromResource
push 0x2f
push str.WtCommonAppLogicInstallUtils.cpp
push ecx
push ecx
mov ecx, esp
push str.LockResource_failed
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 4
jmp 0x406c21
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi], esi
call fcn.0040f988
ret
push str._anonymous_namespace::GetDataFromResource
push 0x1b
push str.WtCommonAppLogicInstallUtils.cpp
push ecx
push ecx
mov ecx, esp
push str.GetModuleHandleW_failed
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00408838
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00408236
push 0x42e4f0
lea eax, [ebp - 0xc8]
push eax
call fcn.0041162d
int3
Function at 0x409741
Capabilities:
Write file on windows

Disassembly:
push 0xc4
mov eax, 0x42532e
call fcn.0040f9de
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0xcc]
mov eax, dword [ebp + 8]
and dword [ebp - 0xcc], 0
push 0
push edx
push esi
push eax
push dword [ecx + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4097ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WT::System::IO::Stream::CFileStream::Write
cmp eax, 0x70
je 0x4097ec
push 0x10a
push str.WtSystemIoStreamFileStream.cpp
push ecx
push ecx
mov ecx, esp
push str.WriteFile___failure
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 1
jmp 0x409810
cmp dword [ebp - 0xcc], esi
je 0x4097e4
push str.WT::System::IO::Stream::CFileStream::Write
push 0x110
push str.WtSystemIoStreamFileStream.cpp
push ecx
push ecx
mov ecx, esp
push str.WriteFile___wrote_incorrect_number_of_bytes
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
mov dword [ebp - 4], 2
jmp 0x409810
call fcn.0040f988
ret 8
push 0x106
push str.WtSystemIoStreamFileStream.cpp
push ecx
push ecx
mov ecx, esp
push str.ERROR_DISK_FULL
call fcn.00403f49
lea ecx, [ebp - 0x6c]
call fcn.004082ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00408838
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00408236
push 0x42e4f0
lea eax, [ebp - 0xc8]
push eax
call fcn.0041162d
int3

Function at 0x40aa41
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42565a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x432050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0040a83b
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
push eax
call fcn.0040a83b
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.0040a83b
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
mov al, byte [esi + 0x24]
mov byte [edi + 0x24], al
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
call fcn.0040a83b
or dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret 4
Function at 0x40aacd
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4256a5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x432050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ebp - 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov byte [ebp - 4], 1
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 2
mov byte [ecx + 0x24], al
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
or dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x40b880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc0]
test ecx, ecx
js 0x40ba32
mov eax, dword [esi + 0xb8]
mov edi, dword [esi + 0xb4]
sub eax, edi
push 0x28
cdq
pop ebx
idiv ebx
cmp ecx, eax
jge 0x40ba32
imul eax, ecx, 0x28
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
add eax, edi
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x40ba5d
mov edi, dword [esi + 0xc8]
test edi, edi
js 0x40ba32
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub eax, ebx
mov dword [ebp - 4], 0xc
cdq
idiv dword [ebp - 4]
cmp edi, eax
jge 0x40ba32
mov edx, dword [esi + 0xcc]
imul edi, edi, 0xc
add edi, ebx
mov eax, dword [edi]
cmp dword [eax], edx
jg 0x40b920
mov ecx, esi
call fcn.0040aef7
inc dword [esi + 0xc8]
and dword [esi + 0xcc], 0
mov ecx, dword [ebp + 0xc]
jmp 0x40ba1d
test edx, edx
jne 0x40b94b
mov ecx, esi
call fcn.0040aef7
lea eax, [esi + 0xdc]
mov ecx, esi
push eax
mov eax, dword [edi]
push dword [eax]
push dword [edi + 4]
call fcn.0040d255
test al, al
je 0x40ba29
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov ebx, ecx
mov edx, dword [esi + 0xcc]
mov eax, dword [eax]
sub eax, edx
cmp eax, ecx
cmovl ebx, eax
test ebx, ebx
je 0x40ba32
lea eax, [esi + 0xdc]
cmp dword [eax], 0xffffffff
je 0x40b9b2
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
push ebx
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esi + 0x11c]
cmp dword [ebp - 4], ebx
jne 0x40ba3b
add dword [esi + 0xcc], ebx
push dword [esi + 0xcc]
mov eax, dword [esi]
push dword [esi + 0x134]
push ecx
mov ecx, esi
call dword [eax + 0x10]
jmp 0x40b9bb
lea eax, [edx + ebx]
mov dword [esi + 0xcc], eax
mov eax, dword [edi]
cmp byte [eax + 4], 0
je 0x40b9d1
push ebx
push dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.0040d386
mov eax, dword [edi]
mov ecx, dword [esi + 0xcc]
cmp ecx, dword [eax]
jl 0x40ba12
push ecx
push dword [esi + 0x134]
lea eax, [esi + 0xdc]
mov ecx, esi
push eax
push dword [edi + 4]
call fcn.0040b568
inc dword [esi + 0xc8]
and dword [esi + 0xcc], 0
mov ecx, dword [edi]
cmp byte [ecx + 4], 0
je 0x40ba12
mov eax, dword [edi + 8]
not eax
cmp eax, dword [ecx + 8]
jne 0x40ba4d
mov ecx, dword [ebp + 0xc]
add dword [ebp + 8], ebx
sub ecx, ebx
mov dword [ebp + 0xc], ecx
test ecx, ecx
jle 0x40ba5d
mov eax, dword [ebp - 8]
jmp 0x40b8ca
push 3
mov ecx, esi
call fcn.0040d208
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [esi + 0x28], 7
push ecx
lea ecx, [esi + 0x2c]
call fcn.00405359
jmp 0x40ba29
lea eax, [esi + 0x11c]
mov dword [esi + 0x28], 0xa
push eax
jmp 0x40ba43
mov al, 1
jmp 0x40ba34

Function at 0x40bc4d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x432ed0], 0
jne 0x40bc90
push esi
xor edx, edx
push edi
push 8
mov esi, edx
pop edi
mov ecx, esi
mov eax, esi
shr ecx, 1
mov esi, ecx
xor esi, 0xedb88320
and al, 1
cmove esi, ecx
sub edi, 1
jne 0x40bc5f
mov dword [edx*4 + 0x432ad0], esi
inc edx
cmp edx, 0x100
jb 0x40bc5a
pop edi
mov byte [0x432ed0], 1
pop esi
ret
Function at 0x40d386
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov edx, dword [edi]
test esi, esi
je 0x40d3b2
movzx ecx, byte [ebx]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x432ad0]
inc ebx
sub esi, 1
jne 0x40d39a
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4193dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419252
Function at 0x4017e7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
cmp dword [ebp - 0x48], 0
je 0x4018bd
mov eax, dword [ebp - 0x48]
movsx eax, byte [eax]
cmp eax, 0x22
jne 0x401849
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
movsx eax, byte [eax + ecx]
cmp eax, 0x22
je 0x401844
jmp 0x401823
jmp 0x401882
mov dword [ebp - 0x4c], 0
jmp 0x401858
inc dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
movsx eax, byte [eax + ecx]
cmp eax, 0x20
je 0x401882
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
movsx eax, byte [eax + ecx]
test eax, eax
je 0x401882
jmp 0x401855
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
movsx eax, byte [eax + ecx]
test eax, eax
je 0x4018a7
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
movsx eax, byte [eax + ecx + 1]
test eax, eax
jne 0x4018b3
mov dword [ebp - 0x48], 0
jmp 0x4018bd
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffff
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
jmp 0x4018df
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..rdata
mov ebx, 0x40de38
nop
nop
mov ecx, 0x722e0074
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x631f2f92
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x1003a98
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x1003af0
call fcn.01003b0c
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1003ae7
cmp ecx, 0xffffffff
je 0x1003ae7
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1003ae0
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x1003ae0
cmp edx, 0x10000000
jae 0x1003ae0
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1006d0b
mov dword [ebp - 4], 0xfffffffe
call fcn.010023d0
ret 4
je 0x1006d56
outsb dx, byte [esi]
je 0x1006d75
jb 0x1006d7c
dec esp
and ch, byte [edx]
Function at 0x4033fc
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5f32b0]
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
push 0x599008
push 0
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x42
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], edi
call fcn.00412203
push 0xfffffffffffffffe
pop esi
push str._zivzVppqkmps7VPKS_LKPMXZ_NJZMF_OMPOZMKF3_Lkpmxz_zivzOmpozmkf6
push 0
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x4d
call fcn.00412203
add esp, 0x20
xor eax, eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
push eax
lea eax, [ebp - 0x224]
push eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0xc
lea eax, [ebp - 0x210]
push eax
push 0x2d1400
push dword [ebx]
call dword [0x598468]
mov ecx, dword [ebp - 0x224]
mov dword [edi], ecx
mov edi, dword [0x598478]
test eax, eax
jne 0x4034c4
call edi
test eax, eax
je 0x4034be
push eax
push str._zivzVppqkmps76_mzkjmq_pz___:
push 0
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x60
call fcn.00412203
add esp, 0x14
jmp 0x4035c4
mov ecx, dword [ebp - 0x224]
push ecx
push str._zivzVppqkmps76_mzkjmq_szqxkw____g:_g
push 1
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x65
call fcn.00412203
push dword [ebp - 0x224]
lea eax, [ebp - 0x204]
push eax
call fcn.00411f56
push dword [ebp - 0x224]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x228]
call fcn.0055d810
push str._zivzVppqkmps7VPKS_LKPMXZ_YVMRHMZ_XZK_VQYP6
push 0
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x6f
call fcn.00412203
add esp, 0x38
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x224]
push 0x10
pop ecx
push 0
push eax
push 0x200
lea eax, [ebp - 0x204]
mov dword [ebp - 0x220], ecx
push eax
push ecx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], ecx
push eax
push 0x2d1c00
push dword [ebx]
call dword [0x598468]
mov ecx, dword [ebp - 0x224]
mov ebx, eax
mov eax, dword [ebp - 0x22c]
mov dword [eax], ecx
test ebx, ebx
jne 0x40358b
call edi
test eax, eax
je 0x40358b
push eax
push str._zivzVppqkmps7VPKS_LKPMXZ_YVMRHMZ_XZK_VQYP6_mzkjmq_pz___:
push ebx
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x84
call fcn.00412203
add esp, 0x14
push dword [ebp - 0x224]
push str._zivzVppqkmps7VPKS_LKPMXZ_YVMRHMZ_XZK_VQYP6_mzkjmq_szqxkw____g:_g
push 0
push str.KVqkzmyz__Xzk_zivzKfoz
push 0x89
call fcn.00412203
push dword [ebp - 0x224]
lea eax, [ebp - 0x204]
push eax
call fcn.00411f56
xor eax, eax
add esp, 0x1c
cmp ebx, 1
cmove esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559af4
leave
ret 8
Function at 0x1003c740
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1003c771
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1003c771
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1003c771
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100522e5
Capabilities:
Encode data using xor

Disassembly:
call 0x1005225e
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 0x1005228e
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 0x100522aa
xor edx, 0
jmp 0x100522b5
xor edx, edx
jmp 0x100522cc
jmp 0x100522d8
xor eax, eax
push 0x8427d7c0
call 0x100522e5
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10052321
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 0x100522fa
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 0x10052338
add eax, 0
jno 0x1005233d
add esi, 0
ret 0x10
Function at 0x100530a6
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 0x100530c8
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 0x1005326a
cmp edi, dword [ebp + 0x10]
jb 0x1005326a
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.10052b92
inc edi
jmp 0x10053151
jmp 0x1005315e
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052b92
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052b92
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 0x100531b2
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 0x10053196
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100531e0
add dword [eax], 0x39
jle 0x100531bc
sub al, 0xf5
mov ch, al
call fcn.100531f5
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10054ecd
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 0x10054ee3
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 0x10054ef4
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10054f35
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 0x100572a1
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 0x100571ea
add ebx, 0
push ecx
call 0x100571ff
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, 0x1004a36b
sub ebx, dword [0x10069baa]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x10069b9a
call fcn.10052cc9
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100521d7
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1005735d
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1005735d
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 0x10057314
mov eax, 1
lock xchg dword [0x10069ba6], eax
push 0x3dd1fc71
call 0x100572a1
push esi
add esp, 8
cmp eax, 0
jne 0x1005728a
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100572b0
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100572c5
cmp ecx, edx
cmp eax, 0
je 0x100572ea
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 0x100572d4
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.10057303
dec eax
loope 0x10057306
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x10069ba6], 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 0x1005733a
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005734f
jmp 0x1005735a
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10057248