joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00468f30
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e2c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00468e5e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00465727
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00465727
push 1
push 0
push 0
mov ecx, esi
call fcn.004656cf
push 1
push 0
push 1
mov ecx, esi
call fcn.004656cf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468fa2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43eaa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00468f30
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e2c0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00468e5e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43eb64
cmp dword [esp + 0x40], 1
jne 0x43eb62
cmp ecx, eax
jge 0x43eb64
mov eax, ecx
cmp eax, 0xc8
jge 0x43eb70
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e920
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468fa2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f2f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4700a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00463b40
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004691d8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046a6f4
test eax, eax
je 0x43f40c
mov ecx, dword [esp + 0x3c]
call fcn.00469205
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f3d0
push edi
mov ecx, esi
call fcn.0046686e
mov ecx, esi
call fcn.0043f570
cmp dword [esp + 0x38], 1
jne 0x43f405
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004669a9
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441e30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441e63
push esi
call fcn.00444f30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441e5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441ee9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441ed2
mov eax, dword [esi + 8]
test eax, eax
je 0x441e87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441ece
cmp eax, 2
je 0x441ed2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441e7a
cmp eax, 3
je 0x441ead
cmp eax, 1
jne 0x441e7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441e7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441e7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441f10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441ef8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441f10
add esp, 4
pop esi
ret
Function at 0x44e820
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44e86a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44e899
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44e8db
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x464935
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46496d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004629ec
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004629c4
jmp 0x464979
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46602b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46606d
call fcn.0046bae4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46606d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466064
xor eax, eax
jmp 0x466075
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046607b
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c014
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46c042
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46c060
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046bf7a
jmp 0x46c060
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c060
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046bf7a
test edi, edi
mov eax, edi
jne 0x46c04a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x433240
Capabilities:
Delete registry key
Delete service
Manipulate safe mode programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd4b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x70]
mov ecx, 0x19
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
call fcn.00401c62
test eax, eax
je 0x4333d7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov esi, esp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp esi, esp
call fcn.00491c30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4332c0
mov eax, dword [ebp - 0x14]
jmp 0x4333f3
mov esi, esp
push 0x10000
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00401f64
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp esi, esp
call fcn.00491c30
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43331e
mov esi, esp
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp esi, esp
call fcn.00491c30
test eax, eax
je 0x43330b
mov dword [ebp - 0x14], 1
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, esp
call fcn.00491c30
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, esp
call fcn.00491c30
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00401d3e
and eax, 0xff
test eax, eax
jne 0x4333d5
lea ecx, [ebp - 0x30]
push ecx
push str.SYSTEMCurrentControlSetControlSafeBootMinimal_
lea ecx, [ebp - 0x2c]
call fcn.00401bdb
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x50
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402a13
lea ecx, [ebp - 0x2c]
call fcn.00401f64
mov esi, esp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00491c30
push str.SYSTEMCurrentControlSetControlSafeBootNetwork_
lea ecx, [ebp - 0x2c]
call fcn.00401771
mov eax, dword [ebp - 0x10]
add eax, 0x50
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402a13
lea ecx, [ebp - 0x2c]
call fcn.00401f64
mov esi, esp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00491c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004020cc
jmp 0x4333f0
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00401f64
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004024b9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x70
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret
Function at 0x4676a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov ax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.0046d8f0
and eax, 0xff
test eax, eax
jne 0x4676f4
mov esi, esp
push str.m_centralDir.IsValidIndex_uIndex__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00491c30
xor al, al
jmp 0x467880
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.0046ba00
cmp eax, 1
jne 0x46772c
push str.You_cannot_extract_from_the_span_in_creation._n
call fcn.004f2965
add esp, 4
mov esi, esp
push str.m_storage.IsSpanMode____1__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00491c30
xor al, al
jmp 0x467880
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0xc8]
test edx, edx
je 0x467787
push str.A_file_already_opened._n
call fcn.004f2965
add esp, 4
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0xc8]
cmp ecx, 0xffffffff
jne 0x46776c
mov esi, esp
push str.m_iFileOpened__extract__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00491c30
jmp 0x467780
mov esi, esp
push str.m_iFileOpened______r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00491c30
xor al, al
jmp 0x467880
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0046ce10
mov dx, word [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.0046d960
mov ecx, dword [ebp - 4]
call fcn.00467a90
mov ax, word [eax + 0xe]
mov word [ebp - 8], ax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
test ecx, ecx
je 0x4677da
mov edx, dword [ebp - 8]
and edx, 0xffff
cmp edx, 8
je 0x4677da
push 0xffffffffffffff9b
mov ecx, dword [ebp - 4]
call fcn.00467070
mov eax, dword [ebp - 8]
and eax, 0xffff
cmp eax, 8
jne 0x467834
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 6]
test edx, edx
je 0x467800
mov eax, dword [ebp - 4]
add eax, 0xac
mov dword [ebp - 0x10], eax
jmp 0x467807
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x38], edx
push 0x38
push str.1.1.3
push 0xfffffffffffffff1
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call fcn.0046f410
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00467a40
mov ecx, dword [ebp - 4]
call fcn.00467a90
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp - 4]
call fcn.00467a90
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xc8], 0xff
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret 4
Function at 0x467f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e09f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x58]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov esi, esp
push str._______________CZipArchive::CloseFile_Start_CFile_file____________________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.00491c30
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x20]
cmp esi, esp
call fcn.00491c30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [edx + 0x54]
cmp esi, esp
call fcn.00491c30
lea ecx, [ebp - 0x14]
call fcn.005744aa
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00468010
mov byte [ebp - 0x18], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0051bacc
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x58
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret 4
Function at 0x468a90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
lea edi, [ebp - 0x88]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 0
jne 0x468ae0
movsx eax, word [0x6f7444]
add eax, 1
push eax
push str.C:UpAgentZipZipArchive.cpp
call fcn.00577e00
test eax, eax
je 0x468ae0
int3
xor ecx, ecx
test ecx, ecx
jne 0x468ac0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0051bb58
mov dword [ebp - 4], 0
push 0x6c3c30
lea ecx, [ebp - 0x10]
call fcn.004f1327
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.005744aa
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00468630
add esp, 8
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005746eb
and eax, 0xff
test eax, eax
jne 0x468b70
lea ecx, [ebp - 0x10]
call fcn.005744aa
push eax
call fcn.00468c90
add esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
and edx, 0xff
test edx, edx
jne 0x468b70
mov dword [ebp - 0x40], 0
jmp 0x468b77
mov dword [ebp - 0x40], 1
mov al, byte [ebp - 0x40]
mov byte [ebp - 0x14], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0051bacc
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
test ecx, ecx
je 0x468bb1
mov byte [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0051bacc
mov al, byte [ebp - 0x20]
jmp 0x468c6e
lea ecx, [ebp - 0x10]
call fcn.005744aa
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00468630
add esp, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.005744aa
push eax
call fcn.00468a90
add esp, 4
and eax, 0xff
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x24], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0051bacc
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x468c22
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0051bacc
mov al, byte [ebp - 0x2c]
jmp 0x468c6e
mov esi, esp
push 0
lea ecx, [ebp - 0x10]
call fcn.005744aa
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00491c30
test eax, eax
jne 0x468c58
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0051bacc
mov al, byte [ebp - 0x30]
jmp 0x468c6e
mov byte [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0051bacc
mov al, byte [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x88
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret
Function at 0x469bc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0ba9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00469c60
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.005744aa
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call fcn.00491c30
xor ecx, ecx
cmp eax, 2
sete cl
mov byte [ebp - 0x10], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0051bacc
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret
Function at 0x46c710
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0f32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x84]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 1
je 0x46c768
movsx ecx, word [0x6f74e0]
add ecx, 1
push ecx
push str.C:UpAgentZipZipStorage.cpp
call fcn.00577e00
test eax, eax
je 0x46c768
int3
xor edx, edx
test edx, edx
jne 0x46c745
mov esi, esp
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
mov edi, esp
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
call dword [eax + 0x20]
cmp edi, esp
call fcn.00491c30
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
call fcn.005744aa
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.00469c60
add esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.005744aa
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp esi, esp
call fcn.00491c30
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0051bacc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0051bacc
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
test ecx, ecx
je 0x46c818
xor eax, eax
jmp 0x46c82e
mov edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x18]
imul edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x84
cmp ebp, esp
call fcn.00491c30
mov esp, ebp
pop ebp
ret