Function at 0x4bbaf0
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x930]
sub esp, 0x930
push 0xffffffffffffffff
push 0x607eae
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp + 0x92c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x938]
mov ecx, dword [ebp + 0x93c]
mov edx, dword [ebp + 0x940]
mov esi, dword [ebp + 0x948]
mov ebx, dword [ebp + 0x950]
mov edi, dword [ebp + 0x95c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x94c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], 0xffffffff
call fcn.004bb080
xor eax, eax
test byte [0x748a9c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], eax
jne 0x4bbbba
or dword [0x748a9c], 1
mov ecx, 0x748a94
mov byte [ebp - 4], 1
call fcn.00402a30
push 0x60b5c0
call fcn.005e207e
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x64], ecx
cmp eax, ecx
je 0x4bbbcb
mov dword [eax], ecx
cmp ebx, ecx
je 0x4bbbd1
mov dword [ebx], ecx
cmp edi, ecx
je 0x4bbbd7
mov dword [edi], ecx
cmp esi, ecx
je 0x4bbbde
mov byte [esi], 0
cmp byte [0x748990], 0
jne 0x4bbc88
push 0x104
push 0x748990
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x748990
call fcn.004e2520
add esp, 4
push 0x748990
push 0x748888
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x748888
call fcn.004e24e0
add esp, 4
push str.7z.dll
push 0x748888
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0
push 0
push 0
push 0
push 0x748888
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x4bbcbd
call fcn.004d96c0
test eax, eax
je 0x4bbc88
push str.SysWow64_
push str.System32_
push 0x748888
call fcn.004e9030
push 1
push 0
push 0
push 0
push 0
push 0x748888
call fcn.004e8950
add esp, 0x24
test eax, eax
je 0x4bbcbd
cmp dword [0x748884], 0
jne 0x4bbcc7
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4bbca1
push eax
call fcn.005e0d9a
add esp, 4
mov ecx, dword [ebp - 0x4c]
xor eax, eax
push ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
call fcn.005e0d9a
add esp, 4
jmp 0x4bc35a
mov dword [0x748884], 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4bbcd3
cmp byte [eax], 0
jne 0x4bbcf4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4bbce0
cmp word [eax], 0
jne 0x4bbcf4
mov edx, dword [ebp - 0x34]
push edx
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4bc335
mov eax, dword [ebp - 0x34]
push eax
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4bbdb5
mov esi, dword [ebp - 0x34]
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x78], eax
mov eax, esi
mov dword [ebp - 0x28], eax
test edi, edi
je 0x4bbd2f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x70], eax
cmp dword [0x748880], eax
jne 0x4bbd5e
mov ecx, 0x748a94
call fcn.00402a60
mov dword [0x748880], 1
push 0x748a94
lea ecx, [ebp]
call fcn.004019c0
mov esi, dword [ebp + 0x944]
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.00401a60
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp]
call fcn.00401ab0
cmp dword [ebp - 0x74], 0
je 0x4bbe24
test ebx, ebx
je 0x4bbda7
mov dword [ebx], 1
mov dword [ebp - 0x20], 0
xor ebx, ebx
jmp 0x4bbef3
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4bbddb
cmp word [eax], 0
je 0x4bbddb
push 0
push 0
push 3
push 0
push 3
mov ecx, eax
push connect
push ecx
call fcn.004e0530
jmp 0x4bbdf3
mov edx, dword [ebp - 0x30]
push 0
push 0
push 3
push 0
push 3
push connect
push edx
call fcn.004e0400
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x4bbd20
test esi, esi
je 0x4bc352
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_open_archive__MyCreateFileA_Failed_with_error__u
push esi
call fcn.005dfb23
add esp, 0xc
jmp 0x4bc352
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x3c]
jbe 0x4bbe31
call fcn.005e1e12
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
xor ebx, ebx
lea esp, [esp]
mov edi, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], edi
jbe 0x4bbe4d
call fcn.005e1e12
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x4bbe59
cmp esi, dword [ebp - 0x4c]
je 0x4bbe5e
call fcn.005e1e12
cmp dword [ebp - 0x14], edi
je 0x4bbef3
xor eax, eax
cmp eax, ebx
je 0x4bbe9b
cmp esi, ebx
jne 0x4bbf2a
call fcn.005e1e12
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4bbe89
call fcn.005e1e12
mov edx, dword [ebp - 0x14]
push edx
push str._ARC__fn:__s_
push ebx
call fcn.004f0f30
add esp, 0xc
cmp esi, ebx
jne 0x4bbf31
call fcn.005e1e12
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4bbeb7
call fcn.005e1e12
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x208], ebx
je 0x4bbf3c
cmp esi, ebx
jne 0x4bbf38
call fcn.005e1e12
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4bbeda
call fcn.005e1e12
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.004a8ef0
add esp, 8
cmp eax, ebx
je 0x4bc25f
mov dword [ebp - 0x20], ebx
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004019f0
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x34]
push edi
xor esi, esi
call fcn.004d90d0
add esp, 4
test eax, eax
je 0x4bc2cb
mov edx, dword [ebp - 0x78]
push esi
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4bc2d4
mov eax, dword [esi]
jmp 0x4bbe7c
mov eax, dword [esi]
jmp 0x4bbeaa
mov eax, dword [esi]
jmp 0x4bbecd
push 0x7ff
lea eax, [ebp + 0x29]
push ebx
push eax
mov byte [ebp + 0x28], bl
call fcn.005dfd60
mov edi, dword [ebp - 0x18]
add esp, 0xc
xor esi, esi
cmp edi, ebx
jne 0x4bbfa7
call fcn.005e1e12
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4bbf6e
call fcn.005e1e12
cmp edi, ebx
jne 0x4bbfab
call fcn.005e1e12
xor eax, eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [eax + 0x10]
jb 0x4bbf86
call fcn.005e1e12
mov eax, dword [ebp - 0x14]
cmp byte [eax], bl
je 0x4bbfaf
lea ecx, [ebp - 0x18]
call fcn.004baf40
lea edx, [ebp + 0x28]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x4bbf98
jmp 0x4bc046
mov eax, dword [edi]
jmp 0x4bbf61
mov eax, dword [edi]
jmp 0x4bbf79
cmp dword [ebp + 0x944], 1
jne 0x4bc046
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
cmp eax, ebx
je 0x4bbfd1
cmp byte [eax], bl
je 0x4bbfd1
mov dword [ebp - 0x24], eax
xor edi, edi
jmp 0x4bbff6
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4bc046
cmp word [eax], bx
je 0x4bc046
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004da960
mov eax, dword [ebp - 0x24]
add esp, 8
cmp eax, ebx
je 0x4bc046
mov edi, 1
cmp eax, ebx
je 0x4bc039
cmp byte [eax], bl
je 0x4bc039
push 0x5c
push eax
call fcn.005e0a00
add esp, 8
cmp eax, ebx
je 0x4bc010
inc eax
jmp 0x4bc013
mov eax, dword [ebp - 0x24]
mov ecx, eax
lea edx, [ebp + 0x28]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4bc018
lea edx, [ebp + 0x28]
push 0x2e
push edx
call fcn.005e0a00
add esp, 8
cmp eax, ebx
je 0x4bc036
mov byte [eax], bl
mov eax, dword [ebp - 0x24]
cmp edi, ebx
je 0x4bc046
push eax
call fcn.005e0865
add esp, 4
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x4bc080
mov dword [ebp - 0x5c], ebx
cmp byte [ebp + 0x28], bl
je 0x4bc095
lea eax, [ebp + 0x28]
push 0x5c
push eax
call fcn.004dad90
add esp, 8
lea ecx, [ebp + 0x28]
push 0x2f
push ecx
mov edi, eax
call fcn.004dad90
add eax, edi
add esp, 8
cmp eax, 2
mov dword [ebp - 0x5c], eax
jge 0x4bbef0
cmp byte [ebp + 0x28], bl
je 0x4bc095
lea edx, [ebp + 0x28]
push 0x2e
push edx
call fcn.005e0a00
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x4bc1f4
push str..txt
push esi
call fcn.004dd620
add esp, 8
cmp eax, ebx
jne 0x4bc0bd
cmp dword [ebp - 0x58], 3
jae 0x4bc0bd
inc dword [ebp - 0x58]
jmp 0x4bc25f
push 0x6403ac
push esi
call fcn.004dd620
add esp, 8
cmp eax, ebx
je 0x4bc25f
push str..json
push esi
call fcn.004dd620
add esp, 8
cmp eax, ebx
je 0x4bc25f
mov edi, 1
lea eax, [ebp + 0x28]
push edi
push eax
call fcn.004b0a10
add esp, 8
cmp eax, ebx
je 0x4bc118
cmp dword [ebp - 0x60], ebx
jne 0x4bc10c
mov dword [ebp - 0x60], edi
jmp 0x4bc22c
add dword [ebp - 0x1c], 2
mov dword [ebp - 0x60], ebx
jmp 0x4bc22c
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x4bc1f9
push ebx
lea ecx, [ebp - 0x18]
call fcn.004baf40
mov ecx, dword [eax + 0x20c]
push ecx
lea edx, [ebp + 0x28]
push edx
call fcn.004b0510
add esp, 0xc
cmp eax, ebx
jne 0x4bc15c
lea eax, [ebp + 0x28]
push str.eicar
push eax
call fcn.004dd6e0
add esp, 8
cmp eax, ebx
jne 0x4bc1f9
mov dword [esi], edi
cmp dword [ebp - 0x64], ebx
jne 0x4bc174
lea ecx, [ebp - 0x18]
call fcn.004baf40
mov ecx, dword [eax + 0x20c]
mov dword [ebp - 0x64], ecx
push 0x103
lea edx, [ebp + 0x829]
push ebx
push edx
mov dword [ebp - 0x68], ebx
mov byte [ebp + 0x828], bl
call fcn.005dfd60
mov edx, dword [str.cmd.exe_chcp.com_route.exe_conime.exe_userinit.exe_winlogon.exe_imapi.exe_svchost.exe_taskeng.exe_netsh.exe_eventvwr.exe_cnab5rpk.exe_wscntfy.exe_mobsync.exe_xcopy.exe_SearchFilterHost.exe_AUDIODG.EXE_conhost.exe_cacls.exe_cleanmgr.exe_control.exe_cscript.exe_ctfmon.exe_drwtsn32.exe_dwwin.exe_ntbackup.exe_PresentationHost.exe_reg.exe_regsvr32.exe_rundll32.exe_sndvol32.exe_taskhost.exe_tcpsvcs.exe_wbengine.exe_wiaacmgr.exe_CompatTelRunner.exe_DeviceDisplayObjectProvider.exe_dinotify.exe_DllHost.exe_hkcmd.exe_igfxtray.exe_netplwiz.exe_ntvdm.exe_rstrui.exe_SearchProtocolHost.exe_SndVol.exe_sndvol32.exe_spoolsv.exe_sysocmgr.exe_WScript.exe_wgatray.exe_systempropertiesadvanced.exe_systempropertiesprotection.exe_inetinfo.exe_mode.com_logon.scr_logonui.exe_mmc.exe_msdtc.exe_mshta.exe_mspaint.exe_notepad.exe_smss.exe_csrss.exe_wininit.exe_lsass.exe_services.exe_vshost.exe]
push edi
push ebx
push 0x2c
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x828]
push ecx
push edx
call fcn.004e1380
add esp, 0x24
lea ecx, [ecx]
cmp dword [ebp - 0x68], 0xffffffff
je 0x4bc1f9
push ebx
lea eax, [ebp + 0x828]
push eax
lea ecx, [ebp + 0x28]
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x4bc1d4
mov dword [ebp - 0x70], edi
jmp 0x4bc1f9
mov ecx, dword [str.cmd.exe_chcp.com_route.exe_conime.exe_userinit.exe_winlogon.exe_imapi.exe_svchost.exe_taskeng.exe_netsh.exe_eventvwr.exe_cnab5rpk.exe_wscntfy.exe_mobsync.exe_xcopy.exe_SearchFilterHost.exe_AUDIODG.EXE_conhost.exe_cacls.exe_cleanmgr.exe_control.exe_cscript.exe_ctfmon.exe_drwtsn32.exe_dwwin.exe_ntbackup.exe_PresentationHost.exe_reg.exe_regsvr32.exe_rundll32.exe_sndvol32.exe_taskhost.exe_tcpsvcs.exe_wbengine.exe_wiaacmgr.exe_CompatTelRunner.exe_DeviceDisplayObjectProvider.exe_dinotify.exe_DllHost.exe_hkcmd.exe_igfxtray.exe_netplwiz.exe_ntvdm.exe_rstrui.exe_SearchProtocolHost.exe_SndVol.exe_sndvol32.exe_spoolsv.exe_sysocmgr.exe_WScript.exe_wgatray.exe_systempropertiesadvanced.exe_systempropertiesprotection.exe_inetinfo.exe_mode.com_logon.scr_logonui.exe_mmc.exe_msdtc.exe_mshta.exe_mspaint.exe_notepad.exe_smss.exe_csrss.exe_wininit.exe_lsass.exe_services.exe_vshost.exe]
push edi
push ebx
push 0x2c
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp + 0x828]
push eax
push ecx
call fcn.004e1380
add esp, 0x18
jmp 0x4bc1b0
mov edi, 1
cmp dword [ebp - 0x1c], edi
jne 0x4bc229
cmp dword [ebp - 0x54], ebx
jle 0x4bc229
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4bc258
call fcn.005e1e12
xor eax, eax
mov esi, dword [ebp - 0x14]
cmp esi, dword [eax + 0x10]
jb 0x4bc21e
call fcn.005e1e12
mov edx, dword [ebp - 0x64]
cmp dword [esi + 0x20c], edx
je 0x4bc25c
add dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], edi
jbe 0x4bc25c
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4bbef0
cmp dword [eax], edi
jne 0x4bbef0
cmp dword [ebp - 0x70], ebx
je 0x4bbef0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
jmp 0x4bbef3
mov eax, dword [eax]
jmp 0x4bc211
add dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4bc286
call fcn.005e1e12
xor eax, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jb 0x4bc27a
call fcn.005e1e12
add dword [ebp - 0x14], 0x210
jmp 0x4bbe40
mov eax, dword [eax]
jmp 0x4bc26d
lea eax, [ebp - 0x28]
push eax
call fcn.004dca10
cmp dword [ebp - 0x1c], 1
jne 0x4bc30b
cmp dword [ebp - 0x6c], esi
jne 0x4bc30b
mov eax, dword [ebp - 0x40]
cmp eax, esi
je 0x4bc2ef
push eax
call fcn.005e0d9a
add esp, 4
mov ecx, dword [ebp - 0x4c]
push ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call fcn.005e0d9a
add esp, 4
mov eax, 1
jmp 0x4bc35c
mov eax, dword [ebp - 0x40]
cmp eax, esi
je 0x4bc31b
push eax
call fcn.005e0d9a
add esp, 4
mov edx, dword [ebp - 0x4c]
push edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call fcn.005e0d9a
mov eax, dword [ebp - 0x20]
add esp, 4
jmp 0x4bc35c
cmp dword [0x748880], 0
jne 0x4bc352
mov ecx, 0x748a94
call fcn.00402a60
mov dword [0x748880], 1
lea ecx, [ebp - 0x4c]
call fcn.00524d20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x92c]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x930
mov esp, ebp
pop ebp
ret