joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5543d0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x568e78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c4954]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x90]
xor edi, edi
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x554422
xor eax, eax
jmp 0x554566
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
call fcn.00492250
push edi
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
call fcn.004758a0
mov eax, dword [eax]
add esp, 0xc
cmp eax, edi
je 0x55445f
cmp eax, 1
je 0x55445f
mov eax, 1
jmp 0x554461
xor eax, eax
test al, al
sete bl
cmp dword [ebp - 0x20], 8
mov byte [ebp - 4], 0
jb 0x55447c
mov eax, dword [ebp - 0x34]
push eax
call fcn.00529442
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edi
mov word [ebp - 0x34], cx
test bl, bl
jne 0x55441b
push 0x574154
push esi
call fcn.0052c6a3
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x55452d
push esi
push 1
lea edx, [ebp]
push 0x84
push edx
call fcn.0052e774
add esp, 0x10
cmp eax, 1
jne 0x55451a
mov eax, dword [ebp]
cmp eax, dword [ebp + 0x94]
jne 0x554507
push esi
call fcn.00554ca0
mov ecx, dword [ebp + 0x14]
add ecx, 0x84
add esp, 4
cmp eax, ecx
jne 0x5544f4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x55455a
mov dword [0x5cd314], 8
mov dword [ebp - 4], 0xffffffff
jmp 0x55455a
mov dword [0x5cd314], 6
mov dword [ebp - 4], 0xffffffff
jmp 0x55455a
mov dword [0x5cd314], 2
mov dword [ebp - 4], 0xffffffff
jmp 0x55455a
mov dword [0x5cd314], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x55455a
push esi
call fcn.0052c3b9
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0052b318
add ebp, 0x88
mov esp, ebp
pop ebp
ret
Function at 0x554950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568f00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x554a03
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x554a03
push 0x574154
push eax
call fcn.0052c6a3
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x5549c4
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.0052e774
add esp, 0x10
cmp eax, 1
jne 0x5549c4
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x5549e0
test esi, esi
je 0x5549ed
push esi
call fcn.0052c3b9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x554a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568f20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x554ad3
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x554ad3
push 0x571844
push eax
mov dword [ebp - 4], ecx
call fcn.0052c6a3
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x554a94
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.0052c0fe
add esp, 0x10
cmp eax, 1
jne 0x554a94
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x554ab0
test esi, esi
je 0x554abd
push esi
call fcn.0052c3b9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x555380
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5690c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x555408
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi], eax
test eax, eax
je 0x555408
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x555463
mov dword [ebp - 4], 0xffffffff
jmp 0x555421
mov eax, dword [esi + 4]
test eax, eax
je 0x55542f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi]
test eax, eax
je 0x555441
cmp eax, 0xffffffff
je 0x555441
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0
test eax, eax
je 0x55545a
cmp eax, 0xffffffff
je 0x55545a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5554d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5690f9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x28], edi
mov byte [edi + 4], bl
mov ecx, 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x4c], bl
je 0x55553a
mov ecx, 0x101
cmp dword [eax + 0x18], 0x10
jb 0x555545
mov eax, dword [eax + 4]
jmp 0x555548
add eax, 4
lea esi, [esp + 0x18]
push esi
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555605
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
jb 0x555576
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5555fa
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x5555fa
cmp dword [esp + 0x20], 3
je 0x5555fa
push eax
call fcn.0052b6e7
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x5555fa
mov ecx, dword [esp + 0x14]
push ecx
push ebx
push esi
call fcn.0052b590
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
jb 0x5555cd
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
jmp 0x5555d1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5555f1
push esi
mov ecx, edi
call fcn.004056c0
push esi
call fcn.0052b60a
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x405fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
fld dword [edx]
fstp dword [ecx]
fld dword [edx + 4]
fstp dword [ecx + 4]
fld dword [edx + 8]
fstp dword [ecx + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
fld dword [edx + 0x1c]
fstp dword [ecx + 0x1c]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
movzx eax, word [edx + 0x24]
mov word [ecx + 0x24], ax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x64], eax
movzx eax, word [edx + 0x68]
mov word [ecx + 0x68], ax
mov eax, dword [edx + 0x6a]
mov dword [ecx + 0x6a], eax
mov eax, dword [edx + 0x6e]
mov dword [ecx + 0x6e], eax
movzx eax, word [edx + 0x72]
mov word [ecx + 0x72], ax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
movzx eax, word [edx + 0x7c]
mov word [ecx + 0x7c], ax
mov eax, dword [edx + 0x7e]
mov dword [ecx + 0x7e], eax
mov eax, dword [edx + 0x82]
mov dword [ecx + 0x82], eax
movzx eax, word [edx + 0x86]
mov word [ecx + 0x86], ax
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x88], eax
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x94]
mov dword [ecx + 0x94], eax
mov eax, dword [edx + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0xa0], eax
mov eax, dword [edx + 0xa4]
mov dword [ecx + 0xa4], eax
mov eax, dword [edx + 0xa8]
mov dword [ecx + 0xa8], eax
mov eax, dword [edx + 0xac]
mov dword [ecx + 0xac], eax
mov eax, ecx
pop ebp
ret 4
Function at 0x406d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x240
push 0
push 0x1c002a8
call fcn.00424040
mov edi, dword [ebp + 8]
push 0x1c002a0
push edi
call fcn.0040bf80
mov esi, dword [0x1c002a0]
add esp, 0x14
cmp dword [esi], 0x50534256
je 0x406d82
push edi
push str._s_is_not_a_IBSP_file
call dword [sym.imp.tier0.dll_Error]
mov eax, dword [esi + 4]
cmp eax, 0x13
jl 0x406e58
cmp eax, 0x14
jg 0x406e58
push dword [esi + 0x28c]
call fcn.0040dba0
add esp, 4
mov byte [0x1c004d0], 1
xor cl, cl
mov ebx, dword [esi + 0x28c]
mov edi, eax
mov eax, dword [esi + 0x288]
je 0x406dcb
push 0x28
push str.ValidateLump:_odd_size_for_lump__d
call dword [sym.imp.tier0.dll_Error]
add eax, esi
cmp byte [0x42b2e28], cl
je 0x406de2
test ebx, ebx
jle 0x406e3d
test edi, edi
je 0x406ded
test eax, eax
cmove eax, edi
push ebx
push eax
push edi
call fcn.004239f0
add esp, 0xc
test ebx, ebx
jle 0x406e3d
push 0x43b3a4
push dword [ebp + 0xc]
call fcn.00422fd4
mov esi, eax
add esp, 8
test esi, esi
jne 0x406e25
push dword [ebp + 0xc]
push str.cant_open__s_n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
push 1
push ebx
push edi
call fcn.004235d7
push esi
call fcn.00422e99
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret
push str.zip_file_is_zero_length__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x14
push eax
push edi
push str._s_is_version__i__not__i
call dword [sym.imp.tier0.dll_Error]
int3
Function at 0x40aa30
Capabilities:
Terminate process

Disassembly:
push str.usage:__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__extract__bspfile___blah.zip__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__extractfiles__bspfile___targetpath__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__dir__bspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__addfile__bspfile___relativepathname___fullpathname___newbspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__addlist__bspfile___listfile___newbspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__addorupdatelist__bspfile___listfile___newbspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__extractcubemaps__bspfile___targetPath__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__Extracts_the_cubemaps_to__targetPath_._n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__deletecubemaps__bspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__Deletes_the_cubemaps_from__bspFile_._n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__addfiles__bspfile___relativePathPrefix___listfile___newbspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__Adds_files_to__newbspfile_._n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.bspzip__repack____compress____bspfile__n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__Optimally_repacks_a_BSP_file__optionally_using_compressed_BSP_format._n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__Using_on_a_compressed_BSP_without__compress_will_effectively_decompress_n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push str.__a_compressed_BSP._n
call fcn.00422d51
add eax, 0x40
push eax
call fcn.00422fe9
add esp, 8
push 0xffffffffffffffff
call fcn.0042473c
int3
Function at 0x40c000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 1], 0x3a
jne 0x40c01d
push 0x5c
push edi
call fcn.00424750
add esp, 8
mov esi, eax
jmp 0x40c01f
mov esi, edi
test esi, esi
je 0x40c046
push 0x5c
inc esi
push esi
call fcn.00424750
mov esi, eax
add esp, 8
test esi, esi
je 0x40c046
push edi
mov byte [esi], 0
call fcn.00424c90
add esp, 4
mov byte [esi], 0x5c
jmp 0x40c023
pop edi
pop esi
pop ebp
ret

Function at 0x40d500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push 0x43b3d4
push dword [ebp + 8]
call fcn.00422fd4
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x40d525
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
xor edi, edi
push 2
push edi
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call fcn.004233fb
push ebx
call fcn.0042557b
mov esi, eax
add esp, 0x10
mov ebx, edi
mov dword [ebp - 0xc], ebx
inc esi
je 0x40d586
test esi, esi
jle 0x40d564
push esi
lea ecx, [ebp - 0x18]
call fcn.00406ed0
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
add ebx, esi
mov dword [ebp - 8], edi
mov eax, ebx
mov dword [ebp - 0xc], ebx
sub eax, esi
test eax, eax
jle 0x40d586
test esi, esi
jle 0x40d586
push eax
lea eax, [edi + esi]
push edi
push eax
call fcn.00421fd0
add esp, 0xc
mov esi, dword [ebp - 4]
push 0
push 0
push esi
call fcn.004233fb
push esi
lea eax, [ebx - 1]
push eax
push 1
push edi
call fcn.004232c0
push esi
call fcn.00422e99
push 0x20
mov byte [ebx + edi - 1], 0
call fcn.0041def0
add esp, 0x24
test eax, eax
je 0x40d5c9
push 0x43a802
mov ecx, eax
call fcn.0041de90
mov esi, eax
jmp 0x40d5cb
xor esi, esi
push 0
push 0
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041e370
test al, al
jne 0x40d5e7
mov ecx, esi
call fcn.0041f5b0
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.0040c260
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40dcc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.tier0.dll_Plat_IsInDebugSession]
movzx eax, al
test eax, eax
je 0x40dcd3
int3
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.tier0.dll_WriteMiniDump]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebp
ret

Function at 0x40e3b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
lea ecx, [edi + 4]
mov dword [edi], vtable.CZip.0
call fcn.0040e510
lea ecx, [edi + 0x10]
call fcn.00411140
mov eax, dword [edi + 0x38]
cmp eax, 0xffffffff
je 0x40e3f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi + 0x3c]
call fcn.0041c0a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [edi + 0x38], 0xffffffff
cmp byte [edi + 0x34], 0
je 0x40e411
lea eax, [edi + 0x3c]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0040ed90
add esp, 8
mov dword [edi + 0x38], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x40e630
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.00411140
cmp dword [esi + 0xc], 0
jl 0x40e628
mov edx, dword [esi + 4]
test edx, edx
je 0x40e5f9
mov eax, dword [sym.imp.tier0.dll_g_pMemAlloc]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [esi + 0xc], 0
jl 0x40e628
mov edx, dword [esi + 4]
test edx, edx
je 0x40e621
mov eax, dword [sym.imp.tier0.dll_g_pMemAlloc]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov byte [esi + 0x30], 0
call fcn.00411140
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x40e665
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x38]
call fcn.0041c0a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x34], 0xffffffff
cmp byte [esi + 0x30], 0
je 0x40e67e
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x3c]
push eax
call fcn.0040ed90
add esp, 8
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
call fcn.0041c0b0
lea ecx, [esi + 0x38]
call fcn.0041c0b0
pop edi
lea ecx, [esi + 0xc]
pop esi
jmp 0x40e5d0

Function at 0x40e700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.0040e710
Function at 0x40ea60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.0040ea70

Function at 0x410080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 4]
lea ecx, [esi + 0xc]
call fcn.00411140
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x4100b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x38]
call fcn.0041c0a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x34], 0xffffffff
cmp byte [esi + 0x30], 0
je 0x4100cd
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x3c]
push eax
call fcn.0040ed90
add esp, 8
mov dword [esi + 0x34], eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004100e0
pop esi
pop ebp
ret 8
Function at 0x4105c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
lea esi, [ecx + 4]
lea ecx, [esi + 0xc]
call fcn.00411140
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x4105f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x38]
call fcn.0041c0a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x34], 0xffffffff
cmp byte [esi + 0x30], 0
je 0x41060d
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x3c]
push eax
call fcn.0040ed90
add esp, 8
mov dword [esi + 0x34], eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00410620
pop esi
pop ebp
ret 4
Function at 0x410c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00410c60
Function at 0x411e20
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x10]
call fcn.00411140
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
je 0x411e50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x3c]
call fcn.0041c0a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x38], 0xffffffff
cmp byte [esi + 0x34], 0
je 0x411e69
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.0040ed90
add esp, 8
mov dword [esi + 0x38], eax
pop esi
ret
Function at 0x413020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
add eax, 0x32350
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
lea esp, [esp]
xor edi, edi
mov esi, ebx
lea eax, [edi + 1]
lea ebx, [edi + 4]
lea ebx, [ebx]
mov edx, esi
shr esi, 1
and edx, 1
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 8]
mov ecx, edx
neg ecx
and ecx, 0x7f0
xor ecx, dword [esi + eax*4 + 0x33038]
add eax, eax
shr ecx, 4
or eax, edx
add edi, dword [esi + ecx*4 + 0x30ca0]
mov esi, dword [ebp - 0xc]
dec ebx
jne 0x413050
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc ebx
mov dword [ebp - 4], ebx
mov dword [ecx], edi
add ecx, 4
mov dword [ebp - 8], ecx
cmp ebx, 0x10
jb 0x413040
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax + 0x32390], 0
mov esp, ebp
pop ebp
ret