joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa51
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x44aa79
mov eax, dword [esi + 4]
push 0x4b5
push eax
call edi
test eax, eax
je 0x44aa79
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
mov ebx, dword [0x4bcec4]
push 0x4b5
push ecx
call edi
mov edi, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.004054f0
add esp, 4
mov ecx, esi
call fcn.00449770
pop edi
mov ecx, esi
pop esi
pop ebx
jmp method.CSfxDialog_ExtractPath.virtual_12

Function at 0x44b710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4be0e0], ecx
inc edx
cmp edx, 0x100
jb 0x44b712
mov eax, 0x4be0e4
mov edx, 0x1c0
push esi
mov ecx, dword [eax - 4]
mov esi, ecx
shr ecx, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x4be0e0]
add eax, 0x10
mov dword [eax + 0x3ec], ecx
mov ecx, dword [eax - 0x10]
mov esi, ecx
shr ecx, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x4be0e0]
mov dword [eax + 0x3f0], ecx
mov ecx, dword [eax - 0xc]
mov esi, ecx
shr ecx, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x4be0e0]
mov dword [eax + 0x3f4], ecx
mov ecx, dword [eax - 8]
mov esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x4be0e0]
sub edx, 1
mov dword [eax + 0x3f8], ecx
jne 0x44b7b7
mov eax, 0x48e7a0
mov esi, 0x48e6c0
mov dword [0x4be0d0], eax
mov dword [0x4c00e0], eax
mov dword [0x4be0cc], esi
call fcn.00454d30
test eax, eax
jne 0x44b854
mov dword [0x4c00e0], esi
pop esi
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x494214
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [esp], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44ec80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494889
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, 8
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x44]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
mov eax, dword [eax + 8]
push eax
call fcn.0047247a
mov byte [esp + 0x18], 7
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047247a
mov byte [esp + 0x1c], 6
mov eax, dword [esi + 0x38]
push eax
call fcn.0047247a
mov byte [esp + 0x20], 5
mov eax, dword [esi + 0x34]
push eax
call fcn.0047247a
mov byte [esp + 0x24], 4
mov eax, dword [esi + 0x30]
push eax
call fcn.0047247a
mov byte [esp + 0x28], 3
mov eax, dword [esi + 0x2c]
push eax
call fcn.0047247a
mov byte [esp + 0x2c], 2
mov eax, dword [esi + 0x28]
push eax
call fcn.0047247a
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0x24]
push eax
call fcn.0047247a
add esp, 0x20
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.00404b60
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 8]
push eax
call fcn.0047247a
mov ecx, dword [esp + 0x10]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ec98
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494889
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, 8
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x44]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
mov eax, dword [eax + 8]
push eax
call fcn.0047247a
mov byte [esp + 0x18], 7
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047247a
mov byte [esp + 0x1c], 6
mov eax, dword [esi + 0x38]
push eax
call fcn.0047247a
mov byte [esp + 0x20], 5
mov eax, dword [esi + 0x34]
push eax
call fcn.0047247a
mov byte [esp + 0x24], 4
mov eax, dword [esi + 0x30]
push eax
call fcn.0047247a
mov byte [esp + 0x28], 3
mov eax, dword [esi + 0x2c]
push eax
call fcn.0047247a
mov byte [esp + 0x2c], 2
mov eax, dword [esi + 0x28]
push eax
call fcn.0047247a
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0x24]
push eax
call fcn.0047247a
add esp, 0x20
mov byte [esp + 0x14], 0
lea ecx, [esi + 0xc]
call fcn.00404b60
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 8]
push eax
call fcn.0047247a
mov ecx, dword [esp + 0x10]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44f1c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49495c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esp], eax
mov dword [eax + 8], ecx
mov dword [esp + 0x10], ecx
lea edx, [eax + 0xc]
mov dword [esp + 4], edx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov byte [esp + 0x10], 1
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov byte [esp + 0x10], 3
mov dword [eax + 0x24], ecx
mov byte [esp + 0x10], 4
mov dword [eax + 0x28], ecx
mov byte [esp + 0x10], 5
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x10], 6
mov dword [eax + 0x30], ecx
mov byte [esp + 0x10], 7
mov dword [eax + 0x34], ecx
mov byte [esp + 0x10], 8
mov dword [eax + 0x38], ecx
mov byte [esp + 0x10], 9
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov byte [esp + 0x10], 0xa
lea edx, [eax + 0x44]
mov byte [edx], cl
mov dword [edx + 4], ecx
mov dword [esp + 4], edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44f520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494b7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0044f350
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea eax, [esi + 0xf8]
mov dword [esp + 8], eax
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov byte [esp + 0x14], 2
mov dword [esi + 0x130], ecx
mov byte [esp + 0x14], 3
mov dword [esi + 0x134], ecx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4522b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x494c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
mov ebp, ecx
push ebx
mov dword [esp + 0x18], ebp
call fcn.00450470
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.004500d0
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
call fcn.0044c370
mov ecx, dword [esi]
mov edi, dword [edi]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x34], edi
test ebx, ebx
jbe 0x45235d
nop
mov esi, dword [esp + 0x30]
xor edx, edx
xor eax, eax
cmp byte [ecx + esi], dl
je 0x452351
mov eax, dword [ebp + 0x38]
mov esi, dword [eax + 8]
lea ebp, [esi + 8]
cmp ebp, dword [eax + 4]
ja 0x4523b9
mov edx, dword [eax]
mov edi, dword [esi + edx]
mov edx, dword [esi + edx + 4]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0x34]
mov dword [edi + ecx*8], eax
mov dword [edi + ecx*8 + 4], edx
inc ecx
cmp ecx, ebx
jb 0x452320
or edx, 0xffffffff
mov dword [esp + 0x24], edx
cmp byte [esp + 0x18], 0
je 0x4523a4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x38]
mov esi, dword [ecx + 4]
sub esi, dword [ecx + 8]
je 0x45237e
mov byte [eax + 0x3c], 1
add dword [eax + 4], edx
mov ecx, dword [eax + 4]
je 0x45239f
cmp byte [esp + 0x19], 0
lea edx, [ecx + ecx*2]
lea edx, [eax + edx*4]
lea ecx, [edx - 4]
mov dword [eax + 0x38], ecx
je 0x45239f
mov eax, dword [edx + 0x10]
add dword [ecx + 8], eax
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
call fcn.0044f780
int3
Function at 0x453700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494e59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [esp], eax
mov dword [eax], ecx
mov dword [esp + 0xc], ecx
mov dword [eax + 4], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov byte [esp + 0xc], 3
mov byte [eax + 0x34], cl
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x454f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495013
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
push eax
push ecx
mov dl, bl
call fcn.00454e10
add esp, 8
cmp eax, esi
jl 0x454fe7
push ebp
mov ebp, dword [esp + 0x38]
push ebp
lea edx, [esp + 0x14]
push edx
push ebx
push eax
call fcn.00454e70
mov edi, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x14], eax
test edi, edi
je 0x454fe4
push 0x70
mov byte [ebp + 9], 1
call fcn.004724af
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
test eax, eax
je 0x454f9f
push ebx
mov ecx, eax
call fcn.00456630
mov esi, eax
jmp 0x454fa1
xor esi, esi
mov byte [esp + 0x24], 0
test esi, esi
je 0x454fb2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov eax, dword [ebp]
test eax, eax
je 0x454fc1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp], esi
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x454fdb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x68], edi
mov esi, dword [esp + 0x14]
jmp 0x454fe6
mov esi, eax
pop ebp
mov dword [esp + 0x20], 0xffffffff
test edi, edi
je 0x454ffb
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x455230
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
mov dword [esi], 0
jmp 0x455250
mov ecx, dword [0x4baaac]
mov eax, ebp
cmp ebp, ecx
jbe 0x45525e
mov eax, ecx
mov edx, dword [ebx]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [esi], ecx
test eax, eax
je 0x455295
test ecx, ecx
je 0x45528c
add edi, ecx
sub ebp, ecx
jne 0x455250
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc
Function at 0x456630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4950b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
mov dword [eax], vtable.ICompressCoder.0
mov dword [eax + 4], vtable.ICompressSetOutStreamSize.0
mov dword [eax + 8], vtable.ICompressInitEncoder.0
mov dword [eax + 0xc], vtable.ICompressSetInStream.0
mov dword [eax + 0x10], vtable.ISequentialInStream.0
mov dword [eax + 0x14], vtable.ICompressSetOutStream.0
mov dword [eax + 0x18], vtable.ISequentialOutStream.0
mov dword [eax + 0x1c], vtable.IOutStreamFinish.0
mov dword [eax + 0x20], vtable.ICompressSetBufSize.0
xor ecx, ecx
mov dword [eax + 0x24], vtable.ICompressSetDecoderProperties2.0
mov dword [eax + 0x28], ecx
mov dword [esp], eax
mov dword [eax + 0x2c], ecx
mov dword [esp + 0xc], ecx
mov edx, 0x100000
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dl, byte [esp + 0x14]
mov dword [eax], vtable.CFilterCoder.9.0
mov dword [eax + 4], vtable.CFilterCoder.8.0
mov dword [eax + 8], vtable.CFilterCoder.7.0
mov dword [eax + 0xc], vtable.CFilterCoder.6.0
mov dword [eax + 0x10], vtable.CFilterCoder.5.0
mov dword [eax + 0x14], vtable.CFilterCoder.4.0
mov dword [eax + 0x18], vtable.CFilterCoder.3.0
mov dword [eax + 0x1c], vtable.CFilterCoder.2.0
mov dword [eax + 0x20], vtable.CFilterCoder.1.0
mov dword [eax + 0x24], vtable.CFilterCoder.0
mov dword [eax + 0x30], ecx
mov byte [eax + 0x3c], dl
mov byte [eax + 0x3d], cl
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov byte [esp + 0xc], 1
mov dword [eax + 0x54], ecx
mov byte [esp + 0xc], 2
mov dword [eax + 0x64], ecx
mov byte [esp + 0xc], 3
mov dword [eax + 0x68], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x457dd0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x457e02
mov eax, dword [esp]
test eax, eax
je 0x457e02
push eax
call fcn.00457d60
add esp, 4
add esp, 0x2c
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
add esp, 0x2c
ret
Function at 0x457e20
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x60
push esi
mov esi, dword [esp + 0x68]
push edi
push str.GlobalMemoryStatusEx
xor edi, edi
push str.kernel32.dll
mov dword [esi], SysReAllocStringLen
mov dword [esi + 4], edi
mov dword [esp + 0x30], 0x40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x457e8d
lea ecx, [esp + 0x28]
push ecx
call eax
test eax, eax
je 0x457e8d
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp ecx, edx
ja 0x457e7c
mov eax, dword [esp + 0x50]
jb 0x457e80
cmp eax, edi
jb 0x457e80
mov eax, edi
mov ecx, edx
mov dword [esi], eax
pop edi
mov dword [esi + 4], ecx
mov al, 1
pop esi
add esp, 0x60
ret
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jb 0x457eae
mov eax, ecx
mov dword [esi + 4], edi
mov dword [esi], eax
pop edi
mov al, 1
pop esi
add esp, 0x60
ret
Function at 0x45e579
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x495173
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], vtable.ICompressCoder2.0
mov dword [esi + 4], vtable.ICompressSetFinishMode.0
mov dword [esi + 8], vtable.ICompressGetInStreamProcessedSize2.0
mov dword [esi + 0xc], vtable.ICompressSetInStream2.0
mov dword [esi + 0x10], vtable.ISequentialInStream.0
mov dword [esi + 0x14], vtable.ICompressSetOutStreamSize.0
mov dword [esi + 0x18], vtable.ICompressSetBufSize.0
mov dword [esi + 0x1c], ebx
mov eax, 0x40000
mov dword [esp + 8], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], eax
mov dword [esp + 0x14], ebx
push fcn.004536c0
push 0x44b900
push 4
push 4
lea eax, [esi + 0xa0]
push eax
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.6.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.5.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 0x18], vtable.NCompress::NBcj2::CDecoder.0
call fcn.0047566f
mov byte [esp + 0x14], 1
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4627a9
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x495522
call fcn.00476a5b
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x4628bb
cmp byte [esi + 0x42], bl
je 0x4628bb
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x4627e5
xor al, al
jmp 0x4628bd
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0045fab8
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040daa0
mov ecx, eax
call fcn.00409fd0
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040daa0
mov ecx, eax
call fcn.00409fd0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x462855
dec eax
je 0x462859
dec eax
dec eax
je 0x4628b7
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409120
mov al, bl
jmp 0x4628bd
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040daa0
mov ecx, eax
call fcn.00409fd0
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x462899
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040daa0
mov ecx, eax
call fcn.00409fd0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0047af17
add esp, 0x10
cmp edi, eax
jne 0x462843
cmp byte [esi + 0x42], 0
je 0x4628b7
test edi, edi
jne 0x4627f3
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040d7a0
jmp 0x4627f3
mov bl, 1
jmp 0x462845
mov al, 1
call fcn.00476aa5
ret

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

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x470b2f
mov eax, dword [eax + 4]
jmp 0x470b32
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x470bbb
push esi
mov esi, dword [0x4bd534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x470ba0
cmp eax, 3
je 0x470ba0
cmp eax, 0x7b
je 0x470ba0
cmp eax, 0x57
je 0x470ba0
cmp eax, 0xa1
je 0x470ba0
cmp eax, 0x35
je 0x470ba0
cmp eax, 0x20
jne 0x470b95
mov eax, dword [0x4bd53c]
mov dword [ecx], eax
mov edx, dword [0x4bd540]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x4bd53c]
mov dword [ecx], eax
mov edx, dword [0x4bd540]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x4bd53c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x4bd540]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x470be8
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret
Function at 0x470c00
Capabilities:
Delete directory

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x470c1b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x470c30
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x470c4b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x470c80
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x470c93
mov ecx, dword [eax + 4]
jmp 0x470c96
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x470ca4
mov eax, dword [eax + 4]
jmp 0x470ca7
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x470cc5
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x4bd534]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x4bd534]
mov dword [eax + 4], ecx
ret

Function at 0x470ce0
Capabilities:
Create directory

Disassembly:
sub esp, 8
push ebp
push esi
push edi
xor esi, esi
call fcn.00471180
mov ebp, eax
mov dword [esp + 0xc], esi
call fcn.00471180
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], eax
jb 0x470d0b
mov eax, dword [edi + 4]
jmp 0x470d0e
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x470d2f
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 1
pop ebp
add esp, 8
ret
mov ebp, dword [0x4bd534]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x470d7f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.00470b20
add esp, 0xc
cmp dword [esp + 0x1c], 3
jne 0x470d7f
mov eax, dword [esp + 0x18]
mov edx, dword [0x4bd53c]
mov ecx, dword [0x4bd540]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret

Function at 0x4769e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bbbf8]
jne 0x4769ed
repz ret
jmp fcn.00481559