joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4020d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4020f4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 0xc], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x40211a
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x402117
inc eax
cmp eax, ebx
jb 0x402108
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x40221e
cmp edx, 2
jbe 0x4021a3
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x40220a
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 8]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x10], 0
cmove edx, ecx
mov dword [ebp - 8], edx
mov ebx, edx
test esi, esi
je 0x4021da
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4021d8
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 8]
dec ebx
xor ebx, dword [ebp - 8]
add ecx, edi
cmp dword [ebp + 0x10], 0
je 0x4021d6
add ebx, ecx
jmp 0x4021d8
mov ecx, edx
shr esi, cl
test esi, esi
je 0x402133
cmp esi, 4
ja 0x4021c8
cmp esi, 3
je 0x4021c8
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x402133
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x402101
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 0xc]
add edi, eax
jmp 0x402101
mov ecx, dword [ebp - 4]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x402101
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, 0x20
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 4]
cmp eax, ecx
mov dword [ebx + 0x78], 0
cmova eax, ecx
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x54], eax
xor ecx, ecx
mov eax, dword [ebx]
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 1
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x90], 0xffffffff
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x58], 0
cmp eax, dword [ebx + 0x20]
je 0x408556
mov ecx, 0x20
lea edi, [ebx + 0xd0]
mov dword [ebp - 4], ecx
nop
mov eax, dword [edi]
test eax, eax
je 0x408528
mov dword [edi], 0
nop dword [eax]
mov ecx, dword [edi - 8]
mov esi, dword [eax]
push eax
mov ecx, dword [ecx + 0x14]
push ecx
mov eax, dword [ecx + 4]
call eax
mov eax, esi
test esi, esi
jne 0x408510
mov ecx, dword [ebp - 4]
add edi, 0x28
sub ecx, 1
mov dword [ebp - 4], ecx
jne 0x408500
mov edx, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
test edx, edx
je 0x408551
mov eax, dword [ebx + 0x14]
push edx
push eax
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebx + 0x58]
mov dword [ebx + 0x5c], 0
mov eax, dword [ebx]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x98], eax
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
mov dword [ebx + 0x9c], 0
lea edi, [ebx + eax*8]
mov dword [ebx + 0xa0], 0
lea eax, [ecx + 1]
mov dword [ebx + 0xa4], 0
mov ecx, edi
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x58], eax
call fcn.00406970
mov esi, eax
test esi, esi
jne 0x408634
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4085e4
call esi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
jne 0x408634
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x408601
call esi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
jne 0x408634
push edi
call fcn.00407fc0
mov esi, eax
test esi, esi
je 0x408646
mov dword [ebx + 0x44], 0
lea edi, [ebx + 0xc8]
mov ebx, 0x20
nop
mov ecx, edi
call fcn.00406a80
add edi, 0x28
sub ebx, 1
jne 0x408620
mov ebx, dword [ebp - 8]
test esi, esi
jle 0x40863f
movzx esi, si
or esi, 0x80070000
test esi, esi
je 0x408646
mov dword [ebx + 0x40], esi
cmp dword [ebx + 0x38], 0
jne 0x40865f
cmp dword [ebx + 0x40], 0
jne 0x40865f
cmp dword [ebx + 0x3c], 0
jne 0x40865f
mov dword [ebx + 0x44], 0
xor eax, eax
cmp dword [ebx + 0x44], eax
pop edi
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d760
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x498871], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x40d795
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.0040a910
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov ebx, eax
call fcn.00436a37
add esp, 4
jmp 0x40d79e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d7e9
test bl, 0x10
jne 0x40d7e9
test bl, 1
je 0x40d7e9
and ebx, 0xfffffffe
cmp byte [0x498871], 0
jne 0x40d7dd
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.0040a910
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00436a37
add esp, 4
test esi, esi
jmp 0x40d7e7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40d815
cmp byte [0x498871], 0
jne 0x40d827
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.0040a910
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00436a37
add esp, 4
test esi, esi
jne 0x40d81e
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dde0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4806b0
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x496004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], 0
mov word [eax], cx
cmp byte [0x498871], cl
jne 0x40dedb
lea eax, [ebp - 0x118]
mov byte [ebp - 0x118], cl
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x328], eax
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
xor ecx, ecx
lea edx, [ebp - 0x118]
test eax, eax
sete cl
push ecx
lea ecx, [ebp - 0x334]
call fcn.0040ada0
lea eax, [ebp - 0x334]
mov dword [ebp - 4], 0
cmp eax, ebx
je 0x40dec8
mov edi, dword [ebp - 0x330]
cmp edi, dword [ebx + 8]
jbe 0x40dead
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
push dword [ebx]
mov esi, eax
call fcn.00436a37
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
push dword [ebp - 0x334]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
push dword [ebp - 0x334]
call fcn.00436a37
add esp, 4
jmp 0x40df67
xor eax, eax
mov word [ebp - 0x324], ax
lea eax, [ebp - 0x324]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edi, edi
mov dword [ebp - 0x328], eax
cmp word [ebp - 0x324], di
je 0x40df1c
nop word [eax + eax]
inc edi
cmp word [ebp + edi*2 - 0x324], 0
jne 0x40df10
cmp edi, dword [ebx + 8]
jbe 0x40df4b
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
push dword [ebx]
mov esi, eax
call fcn.00436a37
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
lea eax, [ebp - 0x324]
push eax
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
mov eax, dword [ebp - 0x328]
dec eax
cmp eax, 0x103
setbe al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436a29
mov esp, ebp
pop ebp
ret
Function at 0x40e0f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4806f0
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x496004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebx + 4], 0
mov word [eax], cx
cmp byte [0x498871], cl
jne 0x40e1eb
lea eax, [ebp - 0x118]
mov byte [ebp - 0x118], cl
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x328], eax
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
xor ecx, ecx
lea edx, [ebp - 0x118]
test eax, eax
sete cl
push ecx
lea ecx, [ebp - 0x334]
call fcn.0040ada0
lea eax, [ebp - 0x334]
mov dword [ebp - 4], 0
cmp eax, ebx
je 0x40e1d8
mov edi, dword [ebp - 0x330]
cmp edi, dword [ebx + 8]
jbe 0x40e1bd
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
push dword [ebx]
mov esi, eax
call fcn.00436a37
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
push dword [ebp - 0x334]
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
push dword [ebp - 0x334]
call fcn.00436a37
add esp, 4
jmp 0x40e277
xor eax, eax
mov word [ebp - 0x324], ax
lea eax, [ebp - 0x324]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edi, edi
mov dword [ebp - 0x328], eax
cmp word [ebp - 0x324], di
je 0x40e22c
nop word [eax + eax]
inc edi
cmp word [ebp + edi*2 - 0x324], 0
jne 0x40e220
cmp edi, dword [ebx + 8]
jbe 0x40e25b
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
push dword [ebx]
mov esi, eax
call fcn.00436a37
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], edi
lea eax, [edi*2 + 2]
mov dword [ebx + 4], edi
push eax
lea eax, [ebp - 0x324]
push eax
push dword [ebx]
call fcn.00441fd0
add esp, 0xc
mov eax, dword [ebp - 0x328]
dec eax
cmp eax, 0x103
setbe al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436a29
mov esp, ebp
pop ebp
ret
Function at 0x417fa0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x496004]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov edi, ecx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x418045
mov esi, dword [esp + 0x10]
test esi, esi
je 0x418045
xor eax, eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xc], eax
xor ecx, ecx
mov edx, 2
mov dword [esp + 0x10], ecx
lea ecx, [edx - 2]
mov eax, esi
shr eax, cl
lea ecx, [edx - 1]
and eax, 1
add ebx, eax
mov eax, esi
shr eax, cl
mov ecx, edx
and eax, 1
add dword [esp + 0x10], eax
mov eax, esi
shr eax, cl
lea ecx, [edx + 1]
and eax, 1
add edx, 4
add dword [esp + 0xc], eax
mov eax, esi
shr eax, cl
and eax, 1
add edi, eax
lea eax, [edx - 2]
cmp eax, 0x20
jb 0x417ff5
mov eax, dword [esp + 0xc]
add eax, edi
mov edi, dword [esp + 0x18]
add eax, dword [esp + 0x10]
add eax, ebx
jmp 0x418054
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x30]
push str.GlobalMemoryStatusEx
push 0x48bac8
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0x40000000
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0x40000000
mov dword [edi + 0xc], 0
mov dword [esp + 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4180c3
lea ecx, [esp + 0x40]
push ecx
call eax
test eax, eax
je 0x4180c3
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
cmp esi, eax
ja 0x4180bd
mov edx, dword [esp + 0x68]
jb 0x4180e5
cmp edx, ecx
jb 0x4180e5
mov edx, ecx
mov esi, eax
jmp 0x4180e5
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x34], edx
cmovb edx, dword [esp + 0x34]
xor esi, esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], edx
shrd edx, esi, 5
shr esi, 5
mov eax, edx
mov ecx, esi
shld ecx, eax, 4
shl eax, 4
add eax, edx
mov dword [edi + 8], eax
adc ecx, esi
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436a29
mov esp, ebp
pop ebp
ret
Function at 0x41fb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx + 9]
push eax
lea ecx, [edi + 0x44]
call fcn.00420e30
movzx eax, byte [ebx + 8]
lea ecx, [edi + 0x50]
push eax
call fcn.00420e30
push 0x88
call fcn.00436c23
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov byte [esi + 0x4c], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.NCoderMixer2::CCoderMT.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov ecx, dword [edi + 0x7c]
cmp dword [edi + 0x78], ecx
jne 0x41fc9c
mov eax, ecx
mov edx, 4
inc ecx
shr eax, 2
add eax, ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436ba1
mov ecx, dword [edi + 0x78]
add esp, 4
mov dword [ebp - 4], eax
test ecx, ecx
je 0x41fc85
shl ecx, 2
push ecx
push dword [edi + 0x74]
push eax
call fcn.00441fd0
add esp, 0xc
push dword [edi + 0x74]
call fcn.00436a37
mov eax, dword [ebp - 4]
add esp, 4
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x7c], eax
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x74]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x78]
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x20], eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x41fcba
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x41fcc7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x18], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x41fcda
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41fce7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x1c], ebx
mov al, byte [edi + 0x5c]
pop edi
mov byte [esi + 0x68], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422180
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4221cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4221cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4221bc
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 8
jle 0x4221e1
movzx eax, ax
or eax, 0x80070000
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x4223c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x400000
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
nop dword [eax + eax]
cmp esi, 0x400000
mov dword [ebp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x422425
test ecx, ecx
je 0x422421
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x4223e0
mov al, 1
jmp 0x422427
xor al, al
add dword [ebx + 0x10], edx
mov ecx, dword [ebp + 0x14]
adc dword [ebx + 0x14], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x42243a
mov dword [ecx], edx
test al, al
je 0x422444
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x422457
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x422461
movzx eax, ax
or eax, 0x80070000
pop ebp
ret 0x10
Function at 0x42bec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4822ab
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x496004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.IArchiveOpenVolumeCallback.0
mov dword [edi + 8], vtable.IArchiveOpenSetSubArchiveName.0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.COpenCallbackImp.2.0
mov dword [edi + 4], vtable.COpenCallbackImp.1.0
mov dword [edi + 8], vtable.COpenCallbackImp.0
push 8
mov dword [edi + 0x10], 0
call fcn.00436ba1
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 3
mov word [eax], cx
lea esi, [edi + 0x20]
mov dword [ebp - 4], ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x20], ecx
mov word [esi + 0x24], cx
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 0x28], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov byte [ebp - 4], 1
mov byte [edi + 0x58], cl
push 8
mov dword [edi + 0x5c], ecx
call fcn.00436ba1
mov dword [edi + 0x5c], eax
add esp, 0xc
xor ecx, ecx
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 3
mov word [eax], cx
mov eax, edi
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4322d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43232c
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x4322f6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x4c], 0
sub edi, 1
je 0x43230f
pop edi
mov byte [esi + 0xe0], 1
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Unsupported_Method
lea ecx, [esi + 0xe4]
call fcn.0040a240
pop edi
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x4c], 0
je 0x432363
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x48]
push 0
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x432363
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4323b4
mov dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x432377
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x4c], 0
cmp byte [esi + 0x34], 0
je 0x4323dc
cmp byte [0x498871], 0
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x28]
jne 0x4323d4
mov edx, eax
lea ecx, [ebp - 0xc]
call fcn.0040a910
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
call fcn.00436a37
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43231f
jle 0x4323de
movzx eax, ax
pop edi
or eax, 0x80070000
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x433c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48310b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x496004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], vtable.IOpenCallbackUI.0
mov dword [ebx + 8], 0
mov dword [ebx], vtable.CExtractCallbackImp.1.0
mov dword [ebx + 4], vtable.CExtractCallbackImp.0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [ebx + 0x10], 0
call fcn.00436ba1
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [ebx + 0x1c], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [ebx + 0x28], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 3
mov word [eax], cx
mov dword [ebx + 0x4c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [ebx + 0x50], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 3
mov word [eax], cx
lea edi, [ebx + 0x68]
mov dword [ebp - 0x18], edi
mov dword [edi + 4], ecx
mov byte [ebp - 4], 6
mov dword [edi], vtable.CProgressDialog.0
mov dword [edi + 8], ecx
push 8
mov dword [edi + 0xc], ecx
call fcn.00436ba1
xor ecx, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
add esp, 0x14
mov dword [edi + 0x14], 3
mov word [eax], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x3c], ecx
lea esi, [edi + 0x40]
mov byte [ebp - 4], 8
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.004088b0
mov word [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x70], 0xffffffff
push 0
push 0
push 1
push 0
mov dword [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x433e16
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x433e61
mov byte [ebp - 4], 0xa
push 8
mov dword [ebx + 0xe4], 0
call fcn.00436ba1
add esp, 4
mov dword [ebx + 0xe4], eax
xor ecx, ecx
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 3
mov word [eax], cx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x494628
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.00438ddb
int3