joyce8/EMBER2024-capa huggingface dataset:
Function at 0x606694
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639b84
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x6067b7
push ecx
lea ecx, [esi + 0x18]
call fcn.00625eb4
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x6067ce
push ecx
lea ecx, [esi + 0x24]
call fcn.00625dc4
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x64d9fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656388
cmp edx, dword [eax]
je 0x64da1f
add eax, 8
inc ecx
cmp eax, 0x656418
jl 0x64da10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656388]
jne 0x64db4d
mov eax, dword [0xa59ce0]
cmp eax, 1
je 0x64db27
test eax, eax
jne 0x64da50
cmp dword [0x6562b4], 1
je 0x64db27
cmp edx, 0xfc
je 0x64db4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
invalid
invalid
test eax, eax
jne 0x64da87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
sub esp, dword [ebp]
lea eax, [ebp + 8]
lea esi, [esi + 0x65638c]
push 0
push eax
push dword [esi]
call fcn.0064e870
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x402d69
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402da8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402da8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402da8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402da8
cmp dword [ecx + 0x74], 0xe
jbe 0x402da8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x409e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x409e5e
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
pop ebp
ret 0xc

Function at 0x409eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x409ebe
pop ebp
ret 0xc
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop ebp
ret 0xc

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40a003
test al, 0x10
je 0x40a003
mov al, 1
ret
xor al, al
ret

Function at 0x40a010
Capabilities:
Create directory

Disassembly:
push ebx
push ecx
xor bl, bl
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
je 0x40a02e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x11
mov al, bl
jne 0x40a030
mov al, 1
pop ebx
ret

Function at 0x40c0d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415f62
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x421024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push 0x104
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40c14e
mov eax, dword [esi]
jmp 0x40c150
mov eax, esi
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x40c160
xor ecx, ecx
jmp 0x40c179
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c170
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.00403080
push 9
mov dword [ebp - 4], 0
mov ecx, esi
push str._system32
mov dword [ebp - 0x11c], 1
call fcn.004032a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414132
mov esp, ebp
pop ebp
ret 4
Function at 0x40c1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415fb2
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x421024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push 0x104
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40c251
mov eax, dword [esi]
jmp 0x40c253
mov eax, esi
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x40c263
xor ecx, ecx
jmp 0x40c279
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c270
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.00403080
mov dword [ebp - 4], 0
mov ecx, esi
cmp byte [edi + 0xc], 0
mov dword [ebp - 0x11c], 1
je 0x40c2aa
push 0xa
push str._sysnative
jmp 0x40c2b1
push 9
push str._system32
call fcn.004032a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414132
mov esp, ebp
pop ebp
ret 4

Function at 0x40c2e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x421024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x2a
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x10c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x40c337
xor ecx, ecx
jmp 0x40c349
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c340
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00403080
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414132
mov esp, ebp
pop ebp
ret
Function at 0x4119b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416868
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x421024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push 0
push 0x4183c1
mov dword [ebp - 0x10], 0xf
mov dword [eax + 0x24], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.00403080
mov ecx, dword [edi + 4]
add ecx, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
cmp ecx, eax
je 0x411a22
push 0xffffffffffffffff
push 0
push eax
call fcn.00403180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x411a3b
inc eax
push eax
push dword [ebp - 0x24]
call fcn.00403580
mov esi, dword [edi + 4]
push dword [esi + 4]
mov dword [esi + 0x2c], 0
call fcn.004141ac
mov dword [esi + 4], 0
add esp, 4
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [eax + 8], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00411d60
cmp dword [eax + 0x14], 0x10
jb 0x411a74
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov eax, dword [ebp - 0x28]
add esp, 4
cmp eax, 0x10
jb 0x411a90
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.00403580
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
test ecx, ecx
je 0x411ab0
mov eax, dword [ecx]
push dword [edi + 4]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x413c4b
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x413c60
xor edx, edx
div dword [esi + 0x3cc]
test edx, edx
jne 0x413c60
xor ecx, ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x413c44
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x3f4]
cmp byte [esi + 4], 0
mov eax, ebx
je 0x413c4b
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x413c0c
mov edi, dword [ebp + 8]
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x413bf7
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov ecx, esi
call fcn.00413650
push dword [esi + 0x3cc]
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x3cc]
xor edx, edx
mov eax, dword [ebp + 0x10]
add edi, ecx
div ecx
inc dword [ebp - 4]
add esp, 0xc
add dword [ebp + 8], ecx
mov dword [ebp + 0xc], edi
cmp dword [ebp - 4], eax
jb 0x413be0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x41fadc
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Object_not_Initialized
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x41fadc
lea eax, [ebp + 8]
mov dword [ebp + 8], str.Data_not_multiple_of_Block_Size
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x413c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x421024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
cmp byte [edi + 4], 0
movups xmm0, xmmword [edi + 0x3f4]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [edi + 0x404]
movups xmmword [ebp - 0x14], xmm0
je 0x413d55
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x413d70
xor edx, edx
div dword [edi + 0x3cc]
test edx, edx
jne 0x413d70
mov dword [ebp - 0x28], edx
test eax, eax
je 0x413d43
push esi
push ebx
push ecx
mov ecx, edi
call fcn.004138f0
cmp byte [edi + 4], 0
mov edx, ebx
je 0x413d55
xor eax, eax
cmp dword [edi + 0x3cc], eax
jle 0x413d13
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x24]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, dword [edi + 0x3cc]
jl 0x413d00
mov esi, dword [edi + 0x3cc]
lea eax, [ebp - 0x24]
push esi
push dword [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
xor edx, edx
div esi
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
inc dword [ebp - 0x28]
add ecx, esi
add ebx, esi
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x28], eax
jb 0x413ce0
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00414132
mov esp, ebp
pop ebp
ret 0x10
push 0x41fadc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], str.Object_not_Initialized
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop word [eax + eax]
push 0x41fadc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], str.Data_not_multiple_of_Block_Size
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x7003301
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x7003310
pop dword [ebp - 0x48]
mov eax, 0xc9e0f4f2
sub eax, 0xc2e0c1e2
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x8bfbd7d3
sub dword [ebp - 0x58], 0x3da99288
mov dword [ebp - 0x54], 0x18a5e749
sub dword [ebp - 0x54], 0xe6729b04
mov dword [ebp - 0x50], 0x3036368
add dword [ebp - 0x50], 0x4948e0c6
mov dword [ebp - 0x4c], 0xb05e546f
add dword [ebp - 0x4c], 0x4fa1ab91
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x7dda5206
sub dword [ebp - 0x58], 0x967e8b0
mov dword [ebp - 0x54], 0xa7913ede
sub dword [ebp - 0x54], 0x6624dd69
mov dword [ebp - 0x50], 0x582933a9
add dword [ebp - 0x50], 0xb4638c3
mov dword [ebp - 0x4c], 0x47e54b6b
add dword [ebp - 0x4c], 0xb81ab495
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3d47b
push 0
call eax
mov ecx, 0x75cb2b11
add ecx, 0x8a352795
mov ebx, eax
mov esi, 0x22064089
sub esi, 0x1b046089
add esi, dword [ebp - 0x48]
mov edi, 0x3b0bbd51
sub edi, 0xea39f89f
xor dword [ebp - 0x14], edx
mov edx, dword [esi]
add dword [ebp - 0x10], 0x74fb0db0
sub edx, edi
sub dword [ebp - 0x34], 0x7d7bd1b
mov dword [ebx], edx
xor dword [ebp - 4], edx
add ebx, 0x1a135f19
add ebx, 0xe5eca0eb
add esi, 0x4ea75f75
sub esi, 0x4ea75f71
loop 0x7003428
add eax, 0x8f507ae9
add eax, 0x70b0c282
mov ebx, eax
add eax, 0x9df70c32
sub eax, 0x9df70c2d
mov ecx, 0x7000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003301
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003301
int3
Function at 0x405450
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405455
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax], al
pushal
add byte [eax], al
pushal
jmp 0x405473
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4054d1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4054b8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4054c1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4054cb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4054ad
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405437
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40551e
dec eax
je 0x405515
sub eax, 3
je 0x40550c
mov dword [ebp - 4], 0x40
jmp 0x40553b
mov dword [ebp - 4], 4
jmp 0x405521
mov dword [ebp - 4], 0x20
jmp 0x405521
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40556d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4054ed
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00404d7e
adc al, 0x9f
jnp 0x4055d2
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x405579
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ch, 0xfc
invalid

Function at 0x40599c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
test ecx, esi
cli
invalid
invalid
jns 0x405986
test edx, esi
cli
invalid
jmp [eax - 0x3a]
test ebx, esi
cli
invalid
call [edx - 0x3a]
test esp, esi
cli
Function at 0x405a32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x405a2e
or esp, dword [esi + 0x68]
add al, 1
invalid
cmp dword [ebp - 0x398], 0
je 0x405c3c
cmp dword [ebp + 0xc], 1
je 0x405c3c
cmp dword [ebp + 0xc], 8
jne 0x405c04
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
call fcn.00404d7e
jne 0x405bab
imul eax, dword [eax + eax*4 - 0x5b], 0xfffffabc
add byte [edx], ch
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.00404d7e
cdq
or edi, dword [eax - 0x2f5a7f13]
std
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00404d5c
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
movsd dword es:[edi], dword [esi]
xchg edi, eax
cld
invalid
inc dword [eax]
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
invalid
invalid
popfd
cld

Function at 0x40672b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4068f9
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000f197
pop dword [ebp - 0x28]
mov eax, 0x246e912e
sub eax, 0x146d9f97
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3bb9d
push 0
mov eax, 0x53dc5a72
sub eax, 0x43db1a0e
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x1b961779
add ecx, 0xe46a3b1c
xor esi, esi
add esi, eax
mov edi, 0x2d3e261d
sub edi, 0x1d3ca01d
add edi, dword [ebp - 0x28]
mov edx, 0xd60259de
sub edx, 0x7cec995a
sub dword [ebp - 0x10], ecx
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0x2f36d06a
xor ebx, edx
mov dword [esi], ebx
xor dword [ebp - 4], 0xc1889188
add esi, 0xf3606185
sub esi, 0xf3606181
add edi, 0x44fe828b
add edi, 0xbb017d79
loop 0x1000f1f8
add eax, 0x7dd77a7f
add eax, 0x8229c2a8
mov ebx, eax
add eax, 0x3c37533f
add eax, 0xc3c8acc6
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x1058e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1058e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1058e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e06a
add dl, dl
jne 0x1058e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e0dc
xor eax, eax
add dl, dl
jne 0x1058e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1058e17d
add dl, dl
jne 0x1058e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1058e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1058e075
mov eax, 1
add dl, dl
jne 0x1058e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1058e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e0e1
sub eax, ebx
mov ebx, 1
jne 0x1058e128
mov ecx, 1
add dl, dl
jne 0x1058e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1058e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1058e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1058e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1058e136
cmp eax, 0x7d00
jae 0x1058e16d
cmp eax, 0x500
jb 0x1058e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
cmp eax, 0x7f
ja 0x1058e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1058e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1058e19e
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 0x1058e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop ds
rol dword [ebx], 1
xor al, 0x76
push ebp
test byte [ecx], dh
xchg edi, eax
pop esp
adc eax, 0xaf34d523
invalid