joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c7580
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x62fbeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x8d8f7c
lea ecx, [esp + 0x18]
call fcn.005bbfe0
mov edi, dword [esp + 0x130]
cmp byte [edi], 0
mov dword [esp + 0x128], 0
je 0x5c75f3
cmp byte [edi + 0x104], 0
je 0x5c75f3
cmp byte [edi + 0x105], 0xff
je 0x5c75f3
or eax, 0xffffffff
cmp dword [edi + 0x10a], eax
je 0x5c75f3
cmp dword [edi + 0x106], eax
je 0x5c75f3
cmp dword [edi + 0x112], eax
jne 0x5c760c
push 0
push 0x1b8
push str..SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.005b9260
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [edi + 0x112], ebx
je 0x5c7634
push 0
push 0x1b9
push str..SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.005b9260
add esp, 0x10
movzx eax, byte [edi + 0x105]
mov esi, dword [ebp + eax*4 + 0x340]
cmp esi, 0xffffffff
jne 0x5c76b7
inc eax
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.005c7270
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5c76a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x20]
push edx
push str.cant_open__s_for_writing___d_n
call fcn.005b9120
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], esi
call fcn.005bc050
xor al, al
jmp 0x5c7765
movzx eax, byte [edi + 0x105]
mov dword [ebp + eax*4 + 0x340], esi
mov ecx, dword [edi + 0x10a]
push 0
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [edi + 0x10a]
je 0x5c76e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetFilePointer_failed__d
call fcn.005b9120
add esp, 8
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0x64667261
call ebp
test eax, eax
jne 0x5c7724
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_failed__d
call fcn.005b9120
add esp, 8
mov edx, dword [esp + 0x134]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push edx
push esi
call ebp
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5c774f
push ebx
push eax
push edi
push str.failed_to_write__s__d_vs__d_n
call fcn.005b9120
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call fcn.005bc050
mov al, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc
Function at 0x5c7bf0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 0x112]
add esi, 4
lea eax, [esi + 1]
push 1
push eax
mov ebp, ecx
call fcn.005bb120
movzx ecx, byte [edi + 0x105]
mov ebx, dword [ebp + ecx*4 + 0x340]
add esp, 8
mov dword [esp + 0x1c], eax
cmp ebx, 0xffffffff
jne 0x5c7c44
push 0
push 0x31e
push str..SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005b9260
add esp, 0x10
mov edx, dword [edi + 0x10a]
push 0
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], esi
je 0x5c7ca2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_read_failed__d_n
call fcn.005b8f50
mov edx, dword [esp + 0x24]
push edx
call fcn.005bb180
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
movzx edx, al
mov byte [edi + 0x105], al
mov dword [edi + 0x10a], ecx
mov ebx, dword [ebp + edx*4 + 0x340]
cmp ebx, 0xffffffff
jne 0x5c7cde
push 0
push 0x32f
push str..SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005b9260
add esp, 0x10
mov eax, dword [edi + 0x10a]
push 0
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], esi
je 0x5c7d38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_write_failed__d_n
call fcn.005b8f50
push edi
call fcn.005bb180
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
push edi
call fcn.005bb180
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x5c7e70
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x62fc28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x8d8f7c
lea ecx, [esp + 0x2c]
call fcn.005bbfe0
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
xor ebp, ebp
sar eax, 2
mov dword [esp + 0x50], ebp
test eax, eax
ja 0x5c7ec7
push ebp
push 0xf8
push str..SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.005b9260
add esp, 0x10
cmp dword [esp + 0x58], ebp
jne 0x5c7ee5
push ebp
push 0xf9
push str..SourceFileSystem_r3dFileSystem.cpp
push 0x6b5738
call fcn.005b9260
add esp, 0x10
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0x10]
push 1
sar esi, 2
imul esi, esi, 0x128
lea ecx, [esi + 1]
push ecx
mov dword [esp + 0x34], 0x6c667261
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], esi
call fcn.005bb120
mov edx, dword [ebx + 0x14]
sub edx, dword [ebx + 0x10]
add esp, 8
sar edx, 2
mov edi, eax
mov dword [esp + 0x24], edi
test edx, edx
jbe 0x5c7f71
mov dword [esp + 0x14], edi
lea ecx, [ecx]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
sar eax, 2
cmp ebp, eax
jb 0x5c7f42
call fcn.005e0402
mov edx, dword [ebx + 0x10]
mov esi, dword [edx + ebp*4]
mov edi, dword [esp + 0x14]
add dword [esp + 0x14], 0x128
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x5c7f30
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x13]
call fcn.005b9b70
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push edi
lea ecx, [esp + 0x23]
call fcn.005b9980
test eax, eax
jne 0x5c7fa0
push str.failed_to_compres_file_list_n
call fcn.005b9120
add esp, 4
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
sar eax, 2
push esi
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edx
call fcn.005b9950
mov esi, dword [esp + 0x60]
push esi
push 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.005e083a
push esi
push 0x14
lea ecx, [esp + 0x54]
push 1
push ecx
call fcn.005e083a
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push esi
push 1
push edx
push eax
call fcn.005e083a
push edi
call fcn.005bb180
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005bb180
add esp, 0x40
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call fcn.005bc050
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x5c81d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x62fc6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
push edi
mov esi, ecx
push 0x8d8f7c
lea ecx, [esp + 0xc]
call fcn.005bbfe0
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x12c], 0
call fcn.005c7920
mov edx, dword [esp + 0x12c]
push edi
push edx
lea eax, [esp + 0x1c]
push 0x6e0abc
push eax
call fcn.00401aa0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea edx, [esp + 0x14]
push 0x6dec54
push edx
call fcn.005dfa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x5c8293
mov eax, dword [esp + 0xc]
push eax
call fcn.005bb180
lea ecx, [esp + 0x18]
push ecx
push str.r3dFS:_unable_to_open__s_for_writing_n
call fcn.005b8f50
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bc050
xor al, al
jmp 0x5c82ca
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push esi
push edx
push 1
push edi
call fcn.005e083a
push esi
call fcn.005df320
push edi
call fcn.005bb180
add esp, 0x18
lea ecx, [esp + 8]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bc050
mov al, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 8

Function at 0x5ca5d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x62fc4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov ebx, ecx
push 0x8d8f7c
lea ecx, [esp + 0xc]
call fcn.005bbfe0
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x120], 0
call fcn.005c7270
lea ecx, [esp + 0xc]
push 0x6e0ff8
push ecx
call fcn.005dfa60
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ca66d
lea edx, [esp + 0xc]
push edx
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.005b8f50
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.005bc050
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret
push ebp
push edi
push 2
push 0
push esi
call fcn.005e5287
push esi
call fcn.005e54c1
push 0
push 0
push esi
mov edi, eax
call fcn.005e5287
lea eax, [edi + 1]
push 1
push eax
call fcn.005bb120
push esi
push 1
mov ebp, eax
push edi
push ebp
call fcn.005e5837
push esi
call fcn.005df320
add esp, 0x38
lea ecx, [esp + 0x14]
push ecx
push edi
push ebp
lea ecx, [ebx + 0x104]
call fcn.005ca2e0
push ebp
mov bl, al
call fcn.005bb180
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.005bc050
mov ecx, dword [esp + 0x118]
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x5d27a0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push esi
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d27c1
xor eax, eax
pop esi
add esp, 0x224
ret
push edi
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x224
xor edi, edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x5d281b
jmp 0x5d27e0
lea ecx, [esp + 0x28]
push str..exe
push ecx
call fcn.005d3ef0
add esp, 8
test eax, eax
jne 0x5d2817
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x5d27e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret

Function at 0x5d46d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x630018
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jb 0x5d47a3
push ebx
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
lea ebx, [eax + 1]
mov dword [esp + 0x24], ebp
mov eax, bind
test ebx, ebx
js 0x5d471e
shr eax, 1
test ebx, eax
je 0x5d4718
add eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.005d45b0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edi, dword [esp + 0x10]
push eax
push ecx
push edi
call fcn.005d4570
mov eax, dword [esi + 4]
lea edx, [eax + eax*2]
lea eax, [edi + edx*8]
add esp, 0xc
cmp eax, ebp
je 0x5d476b
mov ecx, dword [esp + 0x2c]
movq xmm0, qword [ecx]
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
movq qword [eax + 8], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push 1
mov dword [esi], edi
push 1
mov dword [esi + 4], ebx
push eax
mov dword [esi + 8], ecx
mov dword [esp + 0x30], 0xffffffff
call fcn.005bb0e0
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov ecx, dword [esi]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*8]
inc eax
mov dword [esi + 4], eax
test ecx, ecx
je 0x5d47d3
mov eax, dword [esp + 0x20]
movq xmm0, qword [eax]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x5d9940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x5d9974
mov cl, byte [edx]
test cl, cl
je 0x5d9974
mov eax, 0x811c9dc5
movsx ecx, cl
or ecx, 0x20
xor ecx, eax
imul ecx, ecx, 0x1000193
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x5d9953
xor eax, 0x2a
imul eax, eax, 0x1000193
ret
xor eax, eax
ret
Function at 0x5dee98
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x70ee84]
jne 0x5deea2
repz ret
jmp fcn.005ea5b4

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5df0ef
call fcn.005e6872
mov dword [eax], esi
call fcn.005e685f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005e03dc
add esp, 0x14
push 0x16
pop eax
jmp 0x5df144
test dword [ebp + 0xc], 0xfffffff9
jne 0x5df0cb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5df11c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005e6885
pop ecx
call fcn.005e685f
mov eax, dword [eax]
jmp 0x5df144
test al, 0x10
jne 0x5df142
test al, 1
je 0x5df142
test byte [ebp + 0xc], 2
je 0x5df142
call fcn.005e6872
mov dword [eax], 5
call fcn.005e685f
mov dword [eax], 0xd
jmp 0x5df113
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5f504a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005ea72c
and dword [ebp - 4], 0
cmp dword [0x8f4dac], 0
mov ebx, eax
jne 0x5f50fb
push 0x6ca2e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5f51ac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6ca2dc
push edi
call esi
test eax, eax
je 0x5f51ac
push eax
call fcn.005ea6ba
mov dword [esp], 0x6ca2cc
push edi
mov dword [0x8f4dac], eax
call esi
push eax
call fcn.005ea6ba
mov dword [esp], 0x6ca2b8
push edi
mov dword [0x8f4db0], eax
call esi
push eax
call fcn.005ea6ba
mov dword [esp], 0x6ca29c
push edi
mov dword [0x8f4db4], eax
call esi
push eax
call fcn.005ea6ba
pop ecx
mov dword [0x8f4dbc], eax
test eax, eax
je 0x5f50fb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005ea6ba
pop ecx
mov dword [0x8f4db8], eax
mov eax, dword [0x8f4db8]
cmp eax, ebx
je 0x5f5153
cmp dword [0x8f4dbc], ebx
je 0x5f5153
push eax
call fcn.005ea735
push dword [0x8f4dbc]
mov esi, eax
call fcn.005ea735
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5f5153
test edi, edi
je 0x5f5153
call esi
test eax, eax
je 0x5f514a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5f514a
test byte [ebp - 0xc], 1
jne 0x5f5153
or dword [ebp + 0x10], 0x200000
jmp 0x5f518c
mov eax, dword [0x8f4db0]
cmp eax, ebx
je 0x5f518c
push eax
call fcn.005ea735
pop ecx
test eax, eax
je 0x5f518c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5f518c
mov eax, dword [0x8f4db4]
cmp eax, ebx
je 0x5f518c
push eax
call fcn.005ea735
pop ecx
test eax, eax
je 0x5f518c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8f4dac]
call fcn.005ea735
pop ecx
test eax, eax
je 0x5f51ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5f51ae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x535f10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc8000]
push edi
jmp 0x535f2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x535f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f20
mov eax, 1
add ebx, ebx
jne 0x535f43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x535f54
jne 0x535f73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f73
dec eax
add ebx, ebx
jne 0x535f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x535f38
add ebx, ebx
jne 0x535f6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x535fc5
xor ecx, ecx
sub eax, 3
jb 0x535f8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x535ffa
sar eax, 1
mov ebp, eax
jmp 0x535f96
add ebx, ebx
jne 0x535f96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
inc ecx
add ebx, ebx
jne 0x535fa4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x535f64
add ebx, ebx
jne 0x535fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x535fa6
jne 0x535fc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x535fa6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x535fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x535fd6
jmp 0x535f26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x535fe4
add edi, ecx
jmp 0x535f26
pop esi
mov edi, esi
mov ecx, 0x997f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536002
cmp byte [edi], 0x2f
jne 0x536002
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x536007
lea edi, [esi + 0x131000]
mov eax, dword [edi]
or eax, eax
je 0x53607f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13d4ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13d654]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x536034
mov ecx, edi
jns 0x536063
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13d658]
or eax, eax
je 0x536079
mov dword [ebx], eax
add ebx, 4
jmp 0x536051
call dword [esi + 0x13d668]
mov ebp, dword [esi + 0x13d65c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5360b3
sub esp, 0xffffff80
jmp 0x4b20a6
Function at 0x14980e8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14980f2
pushal
call 0x14980f8
pop ebp
sub ebp, 0x10
sub ebp, 0x10980e8
jmp 0x149810e
mov eax, 0x10980e8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ba
mov edx, 0x2d5ce4b1
xor byte [eax], dl
inc eax
dec ecx
jne 0x1498125
jmp 0x1498138
cmp bh, byte [edx + edi + 0x38]
cmp bh, byte [eax]
lea esi, [ecx + 0x7030b1b1]
dec ecx
xor byte [eax + 0x49], dh
mov cl, 0xb1
mov cl, 0xb2
jl 0x1498152
movsb byte es:[edi], byte [esi]
mov cl, 0xb1
mov cl, 0xb
cdq
mov cl, 0xb1
mov cl, 0x46
inc esi
push ebx
mov dl, 0x79
cmp dh, byte [eax]
mov ebp, 0xb2b1b1b1
je 0x1498140
loope 0x149813a
int1
ret 0xb1bf
Function at 0x70c03402
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x71384014]
mov dword [ebp - 0xc], eax
jmp 0x70c03456
jmp 0x70c0349c
jmp 0x70c034e2
jmp 0x70c03528
jmp 0x70c0356e
jmp 0x70c035b4
jmp 0x70c035fa
jmp 0x70c03640
jmp 0x70c03686
jmp 0x70c036cc
jmp 0x70c03712
jmp 0x70c03758
jmp 0x70c0379e
jmp 0x70c037e4
cmp dword [ebp - 0xc], 0
je 0x70c04790
mov eax, dword [0x71384014]
mov dword [0x7138400c], eax
jmp 0x70c0383e
jmp 0x70c03884
jmp 0x70c038ca
jmp 0x70c03910
jmp 0x70c03956
jmp 0x70c0399c
jmp 0x70c039e2
jmp 0x70c03a28
jmp 0x70c03a6e
jmp 0x70c03ab4
jmp 0x70c03afa
jmp 0x70c03b40
jmp 0x70c03b86
jmp 0x70c03bcc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [0x71384008], eax
jmp 0x70c03c22
jmp 0x70c03c68
jmp 0x70c03cae
jmp 0x70c03cf4
jmp 0x70c03d3a
jmp 0x70c03d80
jmp 0x70c03dc6
jmp 0x70c03e0c
jmp 0x70c03e52
jmp 0x70c03e98
jmp 0x70c03ede
jmp 0x70c03f24
jmp 0x70c03f6a
jmp 0x70c03fb0
mov eax, dword [0x71384008]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x70c04001
jmp 0x70c04047
jmp 0x70c0408d
jmp 0x70c040d3
jmp 0x70c04119
jmp 0x70c0415f
jmp 0x70c041a5
jmp 0x70c041eb
jmp 0x70c04231
jmp 0x70c04277
jmp 0x70c042bd
jmp 0x70c04303
jmp 0x70c04349
jmp 0x70c0438f
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x71384004], eax
jmp 0x70c04402
jmp 0x70c04448
jmp 0x70c0448e
jmp 0x70c044d4
jmp 0x70c0451a
jmp 0x70c04560
jmp 0x70c045a6
jmp 0x70c045ec
jmp 0x70c04632
jmp 0x70c04678
jmp 0x70c046be
jmp 0x70c04704
jmp 0x70c0474a
jmp 0x70c04790
nop
leave
ret
Function at 0x70c04f7f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x71384008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x71384008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x70c04fe5
jmp 0x70c0502b
jmp 0x70c05071
jmp 0x70c050b7
jmp 0x70c050fd
jmp 0x70c05143
jmp 0x70c05189
jmp 0x70c051cf
jmp 0x70c05215
jmp 0x70c0525b
jmp 0x70c052a1
jmp 0x70c052e7
jmp 0x70c0532d
jmp 0x70c05373
mov dword [ebp - 0x14], 0
jmp 0x70c053c0
jmp 0x70c05406
jmp 0x70c0544c
jmp 0x70c05492
jmp 0x70c054d8
jmp 0x70c0551e
jmp 0x70c05564
jmp 0x70c055aa
jmp 0x70c055f0
jmp 0x70c05636
jmp 0x70c0567c
jmp 0x70c056c2
jmp 0x70c05708
jmp 0x70c0574e
mov dword [ebp - 0x18], 0
jmp 0x70c0579b
jmp 0x70c057e1
jmp 0x70c05827
jmp 0x70c0586d
jmp 0x70c058b3
jmp 0x70c058f9
jmp 0x70c0593f
jmp 0x70c05985
jmp 0x70c059cb
jmp 0x70c05a11
jmp 0x70c05a57
jmp 0x70c05a9d
jmp 0x70c05ae3
jmp 0x70c05b29
mov dword [ebp - 0x10], 0
jmp 0x70c05b76
jmp 0x70c05bbc
jmp 0x70c05c02
jmp 0x70c05c48
jmp 0x70c05c8e
jmp 0x70c05cd4
jmp 0x70c05d1a
jmp 0x70c05d60
jmp 0x70c05da6
jmp 0x70c05dec
jmp 0x70c05e32
jmp 0x70c05e78
jmp 0x70c05ebe
jmp 0x70c05f04
mov dword [ebp - 0x10], 0
jmp 0x70c0727a
jmp 0x70c05f56
jmp 0x70c05f9c
jmp 0x70c05fe2
jmp 0x70c06028
jmp 0x70c0606e
jmp 0x70c060b4
jmp 0x70c060fa
jmp 0x70c06140
jmp 0x70c06186
jmp 0x70c061cc
jmp 0x70c06212
jmp 0x70c06258
jmp 0x70c0629e
jmp 0x70c062e4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x71384004]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x70c0633b
jmp 0x70c06381
jmp 0x70c063c7
jmp 0x70c0640d
jmp 0x70c06453
jmp 0x70c06499
jmp 0x70c064df
jmp 0x70c06525
jmp 0x70c0656b
jmp 0x70c065b1
jmp 0x70c065f7
jmp 0x70c0663d
jmp 0x70c06683
jmp 0x70c066c9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x7138400c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x70c06720
jmp 0x70c06766
jmp 0x70c067ac
jmp 0x70c067f2
jmp 0x70c06838
jmp 0x70c0687e
jmp 0x70c068c4
jmp 0x70c0690a
jmp 0x70c06950
jmp 0x70c06996
jmp 0x70c069dc
jmp 0x70c06a22
jmp 0x70c06a68
jmp 0x70c06aae
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x70c06b10
jmp 0x70c06b56
jmp 0x70c06b9c
jmp 0x70c06be2
jmp 0x70c06c28
jmp 0x70c06c6e
jmp 0x70c06cb4
jmp 0x70c06cfa
jmp 0x70c06d40
jmp 0x70c06d86
jmp 0x70c06dcc
jmp 0x70c06e12
jmp 0x70c06e58
jmp 0x70c06e9e
add dword [ebp - 0xc], 0x28
jmp 0x70c06ee8
jmp 0x70c06f2e
jmp 0x70c06f74
jmp 0x70c06fba
jmp 0x70c07000
jmp 0x70c07046
jmp 0x70c0708c
jmp 0x70c070d2
jmp 0x70c07118
jmp 0x70c0715e
jmp 0x70c071a4
jmp 0x70c071ea
jmp 0x70c07230
jmp 0x70c07276
add dword [ebp - 0x10], 1
mov eax, dword [0x71384008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x70c05f10
nop
leave
ret