Function at 0x473850
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4f73e5
mov eax, dword fs:[0]
push eax
sub esp, 0x738
mov eax, dword [0x5e4ce0]
xor eax, esp
mov dword [esp + 0x734], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x74c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x768]
mov edi, dword [esp + 0x770]
mov esi, ecx
mov ecx, dword [esp + 0x76c]
test ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
je 0x4738b9
push 1
call fcn.00459d80
mov ecx, esi
mov byte [esp + 0x24], 1
call fcn.00471020
test al, al
je 0x47391a
test edi, edi
sete al
test al, al
mov byte [esp + 0x17], al
je 0x473932
lea ecx, [esp + 0x1c]
call fcn.00456ff0
lea ecx, [esi + 4]
push ecx
lea ecx, [esi + 0x138]
mov dword [esp + 0x758], 0
call fcn.004c06c0
push eax
call fcn.00457010
add esp, 8
test al, al
lea ecx, [esp + 0x1c]
jne 0x473921
mov dword [esp + 0x754], 0xffffffff
call fcn.00457000
xor al, al
jmp 0x4745e1
or ebx, 0xffffffff
mov dword [esp + 0x754], ebx
call fcn.00457000
jmp 0x473935
or ebx, 0xffffffff
lea ecx, [esp + 0xf4]
call fcn.004537d0
lea edx, [esp + 0xf4]
push edx
mov dword [esp + 0x758], 1
call fcn.00455e10
mov eax, dword [esi + 0x110]
add esp, 4
test eax, eax
je 0x473b2d
cmp eax, 4
je 0x473b2d
cmp byte [esp + 0x760], 0
jne 0x473b2d
mov eax, dword [esi + 0x114]
cmp eax, 0x80
je 0x4739c8
cmp eax, 0xc0
je 0x4739c8
cmp eax, 0x100
je 0x4739c8
push str.The_key_length_for_encrypted_Zips_must_be_128__192__or_256
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x10]
add esi, 4
mov ecx, esi
call edx
lea ecx, [esp + 0xf4]
mov dword [esp + 0x754], ebx
call fcn.00453880
xor al, al
jmp 0x4745e1
lea edi, [esi + 0x118]
mov ecx, edi
call fcn.004c49f0
test eax, eax
jne 0x4739e0
push str.A_password_must_be_specified_for_encrypted_Zips.
jmp 0x4739a1
lea ecx, [esp + 0x30]
call fcn.00451c20
mov eax, dword [str.This_Zip_has_been_encrypted_with_Chilkat_Zip__www.chilkatsoft.com_.]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x758], 2
call fcn.004516b0
push 0x5439ac
lea ecx, [esp + 0x34]
call fcn.004516b0
lea ecx, [esp + 0x4c]
call fcn.00451c20
mov ebx, 3
push str.0123456789ABCDEF0123456789ABCDEF
lea ecx, [esp + 0x50]
mov byte [esp + 0x758], bl
call fcn.004516b0
lea ecx, [esp + 0xe0]
call fcn.004547e0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x758], 4
call fcn.004c49f0
push eax
lea ecx, [esp + 0x54]
call fcn.004c06c0
push eax
mov ecx, edi
call fcn.004c06c0
push eax
push 0x100
push ebx
call fcn.0048d720
add esp, 0x18
lea ecx, [esp + 0x4c]
call fcn.00451240
lea ecx, [esp + 0x1c]
call fcn.0045b180
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x758], 5
call fcn.004c06c0
push eax
lea ecx, [esp + 0xe8]
call fcn.004c4070
push eax
lea ecx, [esp + 0x28]
call fcn.0045b3c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
call fcn.00452a30
push 0x5b1bac
lea ecx, [esp + 0x34]
call fcn.004516b0
lea ecx, [esp + 0x30]
call fcn.004c06c0
push eax
lea ecx, [esi + 0x74]
call fcn.00452a60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x754], 4
call fcn.0045b190
lea ecx, [esp + 0xe0]
mov byte [esp + 0x754], bl
call fcn.00454dd0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x754], 2
call fcn.00451e70
lea ecx, [esp + 0x30]
mov byte [esp + 0x754], 1
call fcn.00451e70
lea ebx, [esi + 0x174]
push 0x5b06e4
mov ecx, ebx
call fcn.00452dd0
test al, al
je 0x473cc5
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x35c]
push edx
mov dword [esp + 0x24], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x4ec]
push eax
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x30]
mov byte [esp + 0x16], 0
call fcn.00451c20
lea ecx, [esp + 0x4ec]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x758], 6
call fcn.004516b0
lea ecx, [esp + 0x30]
call fcn.00452970
push str.windows_system32
lea ecx, [esp + 0x34]
call fcn.00452c10
test al, al
jne 0x473c58
push str.winnt_system32
lea ecx, [esp + 0x34]
call fcn.00452c10
test al, al
jne 0x473c58
lea ecx, [esp + 0x4c]
call fcn.00451c20
lea edx, [esp + 0x358]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x758], 7
call fcn.004516b0
push str.ASPNET
lea ecx, [esp + 0x50]
call fcn.00452dd0
test al, al
jne 0x473c3b
push 5
lea eax, [esp + 0x35c]
push str.IWAM_
push eax
call fcn.004dc0e4
add esp, 0xc
test eax, eax
je 0x473c3b
push 5
lea ecx, [esp + 0x35c]
push str.IUSR_
push ecx
call fcn.004dc0e4
add esp, 0xc
test eax, eax
jne 0x473c40
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x754], 6
call fcn.00451e70
cmp byte [esp + 0x16], 0
je 0x473cb4
lea ecx, [esi + 0x138]
call fcn.004c06c0
mov ebp, eax
push 0x5c
push ebp
call fcn.004dbeb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x473c87
push 0x2f
push ebp
call fcn.004dbeb0
mov edi, eax
add esp, 8
test edi, edi
je 0x473cb4
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
lea ecx, [esi + 4]
push str.Using_temp_directory_where_target_Zip_is_located.
call eax
mov ecx, ebx
call fcn.00451240
sub edi, ebp
push edi
push ebp
mov ecx, ebx
call fcn.00451890
push 0x2f
push 0x5c
mov ecx, ebx
call fcn.004511b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x754], 1
call fcn.00451e70
lea ecx, [esp + 0x1ac]
call fcn.004537d0
lea ecx, [esp + 0x150]
mov byte [esp + 0x754], 8
call fcn.004537d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x754], 9
call fcn.004537d0
mov ecx, ebx
mov byte [esp + 0x754], 0xa
call fcn.004c06c0
push eax
lea ecx, [esp + 0x1b0]
call fcn.00453a60
push 0x543938
lea ecx, [esp + 0x154]
call fcn.00453a60
cmp byte [esp + 0x17], 0
je 0x473dda
cmp byte [esp + 0x764], 0
jne 0x473de4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x35c]
push edx
mov dword [esp + 0x24], 0x190
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x4ec]
push eax
push 0x258
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x1b4]
push eax
call fcn.00458990
mov ebp, dword [esi + 4]
lea edi, [esi + 4]
add esp, 0xc
lea ecx, [esp + 0x84]
call fcn.00453f00
mov edx, dword [ebp + 0x28]
push eax
push str.tempFile
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x358]
push ecx
push str.loggedOnUser
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x4ec]
push ecx
push str.curDir
mov ecx, edi
call edx
jmp 0x473e01
cmp byte [esp + 0x764], 0
je 0x473df0
mov ecx, dword [esp + 0x18]
call fcn.00453f00
push eax
jmp 0x473df5
push str.____.____
lea ecx, [esp + 0x88]
call fcn.00453a00
lea ecx, [esp + 0x68]
call fcn.00451c20
cmp byte [esp + 0x760], 0
mov byte [esp + 0x754], 0xb
je 0x473e60
mov eax, dword [esi + 0x114]
mov bl, byte [esi + 0x10c]
mov ebp, dword [esi + 0x110]
lea edi, [esi + 0x118]
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.00452a30
xor eax, eax
mov ecx, edi
mov byte [esi + 0x10c], 0
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
call fcn.00451240
jmp 0x473e68
mov bl, byte [esp + 0x16]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x764]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
movzx edx, byte [0x5e6617]
lea eax, [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call fcn.00472500
cmp byte [esp + 0x17], 0
mov edi, eax
je 0x473f29
cmp byte [esp + 0x764], 0
jne 0x473f29
cmp edi, 0xfffffffe
jne 0x473f29
lea ecx, [esp + 0x84]
call fcn.004539a0
push str.ckz2
lea ecx, [esp + 0x154]
call fcn.00453a60
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x1b4]
push eax
call fcn.00458990
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x14]
lea ecx, [esi + 4]
add esp, 0xc
push str.Retrying_with_a_new_temp_filename
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push ecx
movzx ecx, byte [0x5e6617]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.00472500
mov edi, eax
cmp byte [esp + 0x760], 0
je 0x473f59
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esi + 0x118]
mov byte [esi + 0x10c], bl
mov dword [esi + 0x110], ebp
mov dword [esi + 0x114], eax
call fcn.00452b00
cmp edi, 0xfffffffe
jne 0x47400a
mov edi, dword [esi + 4]
add esi, 4
lea ecx, [esp + 0x84]
call fcn.00453f00
mov edx, dword [edi + 0x28]
push eax
push str.tempFileName
mov ecx, esi
call edx
push str.Cannot_open_temporary_file
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
lea eax, [esp + 0xf4]
push eax
call fcn.00456de0
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x754], 0xa
call fcn.00451e70
lea ecx, [esp + 0x84]
mov byte [esp + 0x754], 9
call fcn.00453880
lea ecx, [esp + 0x150]
mov byte [esp + 0x754], 8
call fcn.00453880
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x754], 1
call fcn.00453880
lea ecx, [esp + 0xf4]
mov dword [esp + 0x754], 0xffffffff
call fcn.00453880
xor al, al
jmp 0x4745e1
test edi, edi
jge 0x474037
mov edi, dword [esi + 4]
add esi, 4
lea ecx, [esp + 0x84]
call fcn.00453f00
mov edx, dword [edi + 0x28]
push eax
push str.tempFileName
mov ecx, esi
call edx
push str.Cannot_write_temporary_zip.
jmp 0x473f86
cmp byte [esp + 0x760], 0
je 0x474382
cmp dword [esp + 0x18], 0
je 0x474382
lea ecx, [esp + 0x2a0]
call fcn.004537d0
lea ecx, [esp + 0x2a0]
push ecx
mov ecx, esi
mov byte [esp + 0x758], 0xc
call fcn.004718c0
test al, al
jne 0x4740b2
mov edx, dword [esi + 4]
add esi, 4
push str.Cannot_create_temporary_EXE.
mov ecx, esi
mov eax, dword [edx + 0x10]
call eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.00456de0
add esp, 4
lea ecx, [esp + 0x2a0]
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x473f9f
lea edi, [esi + 4]
push edi
lea ecx, [esp + 0x2a4]
call fcn.00454170
push eax
call fcn.004a0670
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4740dc
mov edx, dword [edi]
push str.Failed_to_load_temporary_EXE.
mov ecx, edi
jmp 0x474084
lea ecx, [esp + 0x208]
call fcn.004a09e0
mov eax, dword [esi + 0x44]
test eax, eax
mov byte [esp + 0x754], 0xd
je 0x4740fe
mov dword [esp + 0x29c], eax
lea ebx, [esi + 0x1ec]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
je 0x474123
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x20c]
call fcn.004702c0
lea ebx, [esi + 0x27c]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
je 0x474148
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x20c]
call fcn.004a09c0
lea ebx, [esi + 0x228]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
je 0x47416d
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x20c]
call fcn.004a09a0
lea ebx, [esi + 0x244]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
je 0x474192
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x20c]
call fcn.004a09b0
lea ebx, [esi + 0x260]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
je 0x4741b7
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x20c]
call fcn.004a09d0
movzx edx, byte [esi + 0x224]
push edx
lea ecx, [esp + 0x20c]
call fcn.00459d80
movzx eax, byte [esi + 0x225]
push eax
lea ecx, [esp + 0x20c]
call fcn.004a0990
lea ebx, [esi + 0x1d0]
mov ecx, ebx
call fcn.004c49f0
test eax, eax
mov ecx, dword [esp + 0x18]
push edi
je 0x47427c
cmp dword [esi + 0x110], 0
je 0x47424a
call fcn.00454170
movzx ecx, byte [esi + 0x1cc]
push eax
push ecx
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esi + 0x118]
call fcn.004c06c0
mov edx, dword [esi + 0x114]
push eax
push edx
lea ecx, [esp + 0x9c]
call fcn.00454170
push eax
push ebp
lea ecx, [esp + 0x228]
call fcn.004a12b0
jmp 0x4742da
call fcn.00454170
push eax
movzx eax, byte [esi + 0x1cc]
push eax
mov ecx, ebx
call fcn.004c06c0
push eax
lea ecx, [esp + 0x94]
call fcn.00454170
push eax
push ebp
lea ecx, [esp + 0x220]
call fcn.004a0d80
jmp 0x4742da
cmp dword [esi + 0x110], 0
je 0x4742ba
call fcn.00454170
push eax
lea ecx, [esi + 0x118]
call fcn.004c06c0
mov ecx, dword [esi + 0x114]
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.00454170
push eax
push ebp
lea ecx, [esp + 0x220]
call fcn.004a1650
jmp 0x4742da
call fcn.00454170
push eax
lea ecx, [esp + 0x8c]
call fcn.00454170
push eax
push ebp
lea ecx, [esp + 0x218]
call fcn.004a0b00
mov edx, dword [ebp]
mov bl, al
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
lea ecx, [esp + 0x2a0]
push ecx
call fcn.004564a0
lea edx, [esp + 0x88]
push edx
call fcn.004564a0
add esp, 8
test bl, bl
jne 0x474353
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_create_EXE.
mov ecx, edi
call edx
lea eax, [esp + 0xf4]
push eax
call fcn.00456de0
add esp, 4
lea ecx, [esp + 0x208]
mov byte [esp + 0x754], 0xc
call fcn.004a0a70
lea ecx, [esp + 0x2a0]
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x473f9f
lea ecx, [esp + 0x208]
mov bl, 1
mov byte [esp + 0x754], 0xc
call fcn.004a0a70
lea ecx, [esp + 0x2a0]
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x474563
cmp byte [esp + 0x17], 0
je 0x474561
cmp byte [esp + 0x764], 0
jne 0x474561
mov ecx, esi
call fcn.00470a60
lea ebp, [esi + 0x138]
push 0
mov ecx, ebp
call fcn.004c06c0
push eax
call fcn.00458240
add esp, 8
test al, al
je 0x4743f1
lea edi, [esi + 4]
push edi
mov ecx, ebp
call fcn.004c06c0
push eax
call fcn.00458370
add esp, 8
test al, al
jne 0x4743f1
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Failed_to_delete_existing_Zip_file
mov ecx, edi
call eax
lea ecx, [esp + 0xf4]
push ecx
jmp 0x473f97
lea edi, [esi + 4]
push edi
mov ecx, ebp
call fcn.004c06c0
push eax
call fcn.00468bd0
add esp, 8
test al, al
jne 0x47442d
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push str.Unable_to_create_Zip_file
mov ecx, edi
call eax
mov ebx, dword [edi]
mov ecx, ebp
call fcn.004c06c0
mov edx, dword [ebx + 0x28]
push eax
push str.filename
mov ecx, edi
call edx
lea ecx, [esp + 0x2fc]
call fcn.004537d0
mov ecx, ebp
mov byte [esp + 0x754], 0xe
call fcn.004c06c0
push eax
lea ecx, [esp + 0x300]
call fcn.00453a60
push edi
lea eax, [esp + 0x300]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.00456110
add esp, 0xc
test al, al
jne 0x474520
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x2fc]
push edx
call fcn.004564a0
push edi
lea eax, [esp + 0x304]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00456110
add esp, 0x10
test al, al
jne 0x474520
lea edx, [esp + 0x84]
push edx
call fcn.004564a0
mov esi, dword [edi]
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00453f00
push eax
mov eax, dword [esi + 0x28]
push str.from_filename
mov ecx, edi
call eax
mov esi, dword [edi]
mov ecx, ebp
call fcn.004c06c0
mov edx, dword [esi + 0x28]
push eax
push str.to_filename
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push str.Failed_to_move_Zip_file
mov ecx, edi
call edx
lea eax, [esp + 0xf4]
push eax
call fcn.00456de0
add esp, 4
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x473f9f
cmp byte [esp + 0x75c], 0
je 0x474549
mov ecx, esi
call fcn.00473580
lea ecx, [esp + 0x2fc]
mov bl, al
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x474563
lea ecx, [esp + 0x2fc]
mov bl, 1
mov byte [esp + 0x754], 0xb
call fcn.00453880
jmp 0x474563
mov bl, 1
lea ecx, [esp + 0xf4]
push ecx
call fcn.00456de0
add esp, 4
neg bl
sbb bl, bl
lea ecx, [esp + 0x68]
mov byte [esp + 0x754], 0xa
and ebx, dword [esp + 0x24]
call fcn.00451e70
lea ecx, [esp + 0x84]
mov byte [esp + 0x754], 9
call fcn.00453880
lea ecx, [esp + 0x150]
mov byte [esp + 0x754], 8
call fcn.00453880
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x754], 1
call fcn.00453880
lea ecx, [esp + 0xf4]
mov dword [esp + 0x754], 0xffffffff
call fcn.00453880
mov al, bl
mov ecx, dword [esp + 0x74c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x734]
xor ecx, esp
call fcn.004d99c4
add esp, 0x744
ret 0x18