joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
call dword [sym.imp.user32.dll_GetDesktopWindow]
mov dword [esp + 0xc], 5
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._Control_RunDLLW_16
sub esp, 0x10
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x401170
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit

Function at 0x4011e0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40127b
cmp ax, 9
je 0x401268
cmp ax, 0x20
je 0x401268
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x4012d0
cmp ax, 0x22
je 0x4012e0
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40127b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401220
test edi, 1
jne 0x401220
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x401268
cmp ax, 0x20
je 0x401268
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4012f8
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
add dword [ebp - 0x6c], 1
jmp 0x40123b
and dword [ebp - 0x6c], 1
jne 0x401234
xor edi, 1
jmp 0x40123b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401294
Function at 0x11002dd0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x111eeae9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x11279148]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, dword [eax + 0xe4]
mov esi, ecx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.110075d0
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x78]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.MSVCR100.dll__get_osfhandle]
add esp, 4
cmp eax, 0xffffffff
jne 0x11002e60
mov eax, esi
call fcn.11009770
lea ecx, [esp + 0x2c]
push ecx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.11010e90
add esp, 8
test al, al
je 0x11002f09
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x80], ebx
cmp dword [eax + 0x14], 8
mov dword [esp + 0x14], 1
jb 0x11002ea5
mov ebx, dword [eax]
jmp 0x11002ea7
mov ebx, eax
mov eax, edi
call fcn.11008ca0
mov edi, eax
lea eax, [esp + 0x38]
push 1
push eax
mov edx, ebx
call fcn.1100d0a0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x11002ec9
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
cmp dword [esp + 0x4c], 8
jb 0x11002eeb
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
lea edi, [edx + 1]
test bl, bl
jne 0x11002f0e
mov edi, 0xfffffffe
mov dword [esp + 0x80], 0xffffffff
test byte [esp + 0x14], 1
je 0x11002f4c
cmp dword [esp + 0x68], 8
jb 0x11002f35
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], cx
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov esi, dword [esp + 0x18]
xor bl, bl
call fcn.11002f90
cmp eax, 1
jne 0x11002f67
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 4
Function at 0x11008e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
movzx eax, byte [ebx + 8]
mov byte [esi + 8], al
movzx ecx, word [ebx + 0xa]
mov word [esi + 0xa], cx
mov dl, byte [ebx + 0xb4]
mov byte [esi + 0xb4], dl
movzx eax, word [ebx + 0xc]
mov word [esi + 0xc], ax
movzx ecx, word [ebx + 0xe]
mov word [esi + 0xe], cx
movzx edx, word [ebx + 0x10]
mov word [esi + 0x10], dx
movzx eax, word [ebx + 0x12]
mov word [esi + 0x12], ax
mov ecx, dword [ebx + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [ebx + 0x6c]
mov dword [esi + 0x6c], edx
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [ebx + 0x74]
mov dword [esi + 0x74], ecx
mov edx, dword [ebx + 0x78]
mov dword [esi + 0x78], edx
mov eax, dword [ebx + 0x7c]
mov dword [esi + 0x7c], eax
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [ebx + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [ebx + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x28], eax
movzx ecx, word [ebx + 0x2c]
mov word [esi + 0x2c], cx
mov edx, dword [ebx + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [ebx + 0x88]
mov dword [esi + 0x88], ecx
mov edx, dword [ebx + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebx + 0x80]
mov dword [esi + 0x80], ecx
movzx edx, word [ebx + 0x84]
mov word [esi + 0x84], dx
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [ebx + 0x44]
lea edx, [ebx + 0x48]
push edx
lea eax, [esi + 0x48]
push eax
mov dword [esi + 0x44], ecx
call fcn.110061c0
lea ecx, [ebx + 0x58]
push ecx
lea edx, [esi + 0x58]
push edx
call fcn.110061c0
movzx eax, byte [ebx + 0x86]
lea ecx, [ebx + 0x94]
push ecx
lea edi, [esi + 0x94]
mov byte [esi + 0x86], al
call fcn.110068d0
lea edx, [ebx + 0xa4]
push edx
lea edi, [esi + 0xa4]
call fcn.110068d0
mov eax, dword [ebx + 0x90]
mov dword [esi + 0x90], eax
mov ecx, dword [ebx + 0x8c]
mov dword [esi + 0x8c], ecx
mov eax, esi
pop edi
ret

Function at 0x11009b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x11009b1c
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
call ebx
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 4]
push esi
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__read]
mov edi, eax
add esp, 0xc
cmp edi, esi
jge 0x11009b52
call ebx
cmp dword [eax], 0
je 0x11009b52
mov eax, dword [ebp - 4]
call fcn.11009770
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1100b490
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x111eea48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x11279148]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [edi + 0x14]
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x60]
shr eax, 4
test al, 1
je 0x1100b504
mov esi, dword [edi + 0x14]
mov ecx, dword [esi + 0x60]
and ecx, 0x70
push 0
cmp cl, 0x70
jne 0x1100b4e6
push 1
call fcn.1100fc40
xor ebx, ebx
jmp 0x1100b504
push 0x38
call fcn.1100fc40
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x40]
cmp ebx, eax
je 0x1100b504
mov ebx, eax
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
push 0x38
mov dword [esp + 0x14], vtable.CZipAutoBuffer.0
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x38
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [0x11279f84]
mov dword [esi], eax
mov eax, 0x2c
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x2d002d
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], ebx
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
call fcn.11001ec0
mov ecx, dword [edi + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0x2c]
push 1
push 0x38
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x14]
push esi
push eax
call fcn.1100fcb0
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x110107e0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
test ebx, ebx
je 0x11010859
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
sar edx, 8
xor byte [esi + edi], dl
movsx edx, byte [esi + edi]
mov eax, dword [ecx + 4]
xor edx, eax
shr eax, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x11249450]
xor edx, eax
movzx eax, dl
add eax, dword [ecx + 8]
mov dword [ecx + 4], edx
mov edx, dword [ecx + 0xc]
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 8], eax
shr eax, 0x18
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x11249450]
inc esi
mov dword [ecx + 0xc], edx
cmp esi, ebx
jb 0x110107f2
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x11010860
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x110108dd
push ebx
mov ebx, dword [ebp + 8]
push esi
movsx ebx, byte [edi + ebx]
mov edx, dword [ecx + 4]
xor ebx, edx
mov eax, dword [ecx + 0xc]
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x11249450]
xor ebx, edx
movzx edx, bl
add edx, dword [ecx + 8]
mov esi, eax
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 8], edx
shr edx, 0x18
xor edx, eax
shr eax, 8
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 8]
and edx, 0xff
xor eax, dword [edx*4 + 0x11249450]
and esi, 0xfffd
mov dword [ecx + 0xc], eax
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
sar eax, 8
xor byte [edi + ebx], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x11010870
pop esi
pop ebx
pop edi
pop ebp
ret 8
Function at 0x11010a10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111edd14
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x11279148]
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
xor esi, esi
mov edi, 7
xor eax, eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], vtable.CZipPathComponent.0
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], esi
mov word [ebp - 0xbc], ax
mov dword [ebp - 4], esi
xor edx, edx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], esi
mov word [ebp - 0xa0], dx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], dx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 4
call fcn.1100d270
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xc0]
mov dword [ebp - 4], 5
call fcn.110109b0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x11010af7
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xd0]
push ecx
push eax
call ebx
test eax, eax
jne 0x11010b79
lea ecx, [ebp - 0x2c]
call fcn.11001970
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x11010b2d
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd0]
push edx
push eax
call ebx
test eax, eax
jne 0x11010b79
cmp dword [ebp - 0x18], 8
jb 0x11010b5c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.1100cec0
xor eax, eax
xor edx, edx
jmp 0x11010bbd
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
mov dword [ebp - 0xdc], edx
jb 0x11010b9e
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.1100cec0
mov edx, dword [ebp - 0xdc]
mov eax, ebx
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.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11010be0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.1100d0a0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x11010c06
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
cmp dword [ebp - 0xc], 8
jb 0x11010c2a
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x11010fa0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.1100d0a0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x11010fc6
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0xc], 8
mov ebx, eax
jb 0x11010fe3
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp ebx, 0xffffffff
jne 0x11010ff9
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
test bl, 0x10
mov eax, 0
sete al
xor ecx, ebp
pop ebx
lea eax, [eax + eax - 1]
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x11011020
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111edc9c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x11279148]
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 edi, 7
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc0], vtable.CZipPathComponent.0
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], esi
mov word [ebp - 0xbc], ax
mov dword [ebp - 4], esi
xor edx, edx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], esi
mov word [ebp - 0xa0], dx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], dx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 4
call fcn.1100d270
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xc0]
mov dword [ebp - 4], 5
call fcn.110109b0
cmp dword [eax + 0x14], 8
jb 0x110110db
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
sete bl
cmp dword [ebp - 0x18], 8
jb 0x110110fb
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
call fcn.1100cec0
mov al, bl
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.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11011680
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ee098
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.1100d0a0
mov esi, eax
lea ecx, [ebp - 0x2c]
push 0
push ecx
mov edx, edi
mov dword [ebp - 4], 0
call fcn.1100d0a0
mov ecx, 8
add esp, 0x10
cmp dword [esi + 0x14], ecx
jb 0x110116da
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x110116e1
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov esi, 8
sete bl
cmp dword [ebp - 0x18], esi
jb 0x11011705
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x11011732
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
test bl, bl
je 0x11011756
push 0xdb
mov ecx, edi
call fcn.110014b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x11013390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ed358
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], vtable.CZipAutoBuffer.0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.ZipArchiveLib::CBaseLibCompressor.0
push 0xc
mov dword [esi + 0x40], edi
call fcn.111709c0
add esp, 4
cmp eax, edi
je 0x1101344b
mov dword [esi + 0x3c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 4], eax
mov dword [esi], vtable.ZipArchiveLib::CDeflateCompressor.0
mov al, 1
mov byte [esi + 0x50], al
mov byte [esi + 0x54], al
mov dword [esi + 0x4c], 0x20000
mov dword [esi + 0x48], vtable.ZipArchiveLib::CDeflateCompressor::COptions.0
mov dword [esi + 0x80], 0x110130e0
mov dword [esi + 0x84], 0x11013150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x11013e70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ed358
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], vtable.CZipAutoBuffer.0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ZipArchiveLib::CBaseLibCompressor.0
push 0xc
mov dword [esi + 0x40], ebx
call fcn.111709c0
add esp, 4
cmp eax, ebx
je 0x11013f27
mov dword [esi + 0x3c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 4], eax
mov dword [esi], vtable.ZipArchiveLib::CBzip2Compressor.0
mov dword [esi + 0x4c], 0x20000
mov byte [esi + 0x50], 1
mov dword [esi + 0x48], vtable.ZipArchiveLib::CBzip2Compressor::COptions.0
mov byte [esi + 0x54], bl
mov dword [esi + 0x7c], 0x110130e0
mov dword [esi + 0x80], 0x11013150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x110156d0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ecx + 4], 0x12345678
mov dword [ecx + 8], 0x23456789
mov dword [ecx + 0xc], 0x34567890
cmp dword [ebx + 8], edi
jbe 0x1101574f
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push esi
mov esi, 0x34567890
mov ebx, dword [ebx + 4]
movsx ebx, byte [ebx + edi]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x11249450]
inc edi
movzx ebx, al
add edx, ebx
imul edx, edx, 0x8088405
inc edx
mov ebx, edx
shr ebx, 0x18
xor ebx, esi
and ebx, 0xff
shr esi, 8
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
xor esi, dword [ebx*4 + 0x11249450]
mov ebx, dword [ebp + 8]
mov dword [ecx + 0xc], esi
cmp edi, dword [ebx + 8]
jb 0x11015700
pop esi
pop edi
pop ebx
pop ebp
ret 4