Function at 0x420f30
Capabilities:
Get common file path

Disassembly:
sub esp, 0xe9c
mov eax, dword [0x48807c]
xor eax, esp
mov dword [esp + 0xe98], eax
mov eax, dword [esp + 0xea4]
push ebx
push ebp
mov ebp, dword [esp + 0xeb0]
push esi
push edi
mov edi, dword [esp + 0xeb0]
push edi
push ebp
push eax
push str.Extract_File_____s____s__from___s__n
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
call fcn.004454c0
push 0
push edi
call fcn.00443e50
mov ebx, eax
lea eax, [esp + 0x268]
push eax
push 0xffffffffffffffff
push ebx
call fcn.00441860
mov ecx, dword [esp + 0x274]
push 0x46abbc
push ebp
mov dword [esp + 0x40], ecx
mov byte [esp + 0x3e], 0
call fcn.00453ad3
add esp, 0x2c
test eax, eax
jne 0x420fb5
mov byte [esp + 0x12], 1
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x48a]
push eax
mov word [esp + 0x48c], dx
call fcn.00453450
mov ecx, dword [esi + 8]
add esp, 0xc
cmp byte [ecx + 0x1e89], 0
mov byte [esp + 0x13], 0
jne 0x421148
cmp word [esi + 0xe4c], 0
lea eax, [esi + 0xe4c]
lea edx, [esp + 0x480]
je 0x421014
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x421003
jmp 0x42106d
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x480]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421030
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x47e], 0x5c
jne 0x42106d
lea eax, [esp + 0x480]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421054
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x47e], cx
lea edx, [esp + 0x480]
push edx
push str.wszTempPath___s__n
call fcn.004454c0
add esp, 8
cmp word [esp + 0x480], 0
je 0x421148
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x692]
push ecx
mov word [esp + 0x694], ax
call fcn.00453450
push edi
lea edx, [esp + 0x490]
push edx
lea eax, [esp + 0x69c]
push str._sTmp_ld
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x6a4]
push ecx
push str.szTmpPath___s__n
call fcn.004454c0
mov ecx, dword [esi + 0xc]
add esp, 0x24
push 0
lea edx, [esp + 0x68c]
push edx
call fcn.00449880
test eax, eax
jne 0x42111a
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x480]
mov word [esp + eax + 0x688], cx
add eax, 2
test cx, cx
jne 0x421100
jmp 0x42111f
mov byte [esp + 0x13], 1
xor eax, eax
jmp 0x421130
movzx ecx, word [esp + eax + 0x688]
mov word [esp + eax + 0x480], cx
add eax, 2
test cx, cx
jne 0x421130
lea eax, [esp + 0x480]
push eax
push str.tszTempPath2____s__n
call fcn.004454c0
xor ebp, ebp
add esp, 8
cmp dword [esp + 0x14], ebp
jle 0x42148c
lea esp, [esp]
lea ecx, [esp + 0x20]
push ecx
push ebp
push ebx
call fcn.00441860
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x69e]
push eax
mov word [esp + 0x6a0], dx
call fcn.00453450
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x8b2]
push edx
mov word [esp + 0x8b4], cx
call fcn.00453450
add esp, 0x24
xor eax, eax
jmp 0x4211c0
movzx ecx, word [esp + eax + 0x24]
mov word [esp + eax + 0x890], cx
add eax, 2
test cx, cx
jne 0x4211c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x894]
push ecx
push str.tszZipFile__s___ze.name___s__n
call fcn.004454c0
lea edx, [esp + 0x89c]
push edx
push str.wszZipFile__s_n
call fcn.004454c0
add esp, 0x14
cmp byte [esp + 0x12], 0
je 0x42134b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x890]
push eax
push ecx
lea edx, [esp + 0x690]
push 0x46ab98
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x698]
push eax
push 0x475abc
call fcn.004454c0
add esp, 0x18
push 0x46ab94
push 0x475ab8
lea ecx, [esp + 0x690]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00449bc0
mov edx, dword [esi + 8]
cmp byte [edx + 0x1e89], 0
mov ecx, esi
je 0x421273
call fcn.0040bbb0
jmp 0x421481
lea eax, [esp + 0x890]
push eax
push 0xffffffffffffffff
push 3
call fcn.00418e80
lea ecx, [esp + 0x688]
push ecx
push ebp
push ebx
call fcn.00443ee0
mov edi, eax
push edi
lea edx, [esp + 0x698]
push edx
push str._____s____d__n
call fcn.004454c0
add esp, 0x18
test edi, edi
je 0x42146e
push str.___Somehow_cannot_unzip__try_copying_n
call fcn.004454c0
lea eax, [esp + 0x894]
push eax
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + 0xaa4]
push 0x46ab98
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0xaac]
push eax
push str.__wszTmpFile___s__n
call fcn.004454c0
lea ecx, [esp + 0xab4]
push ecx
push ebp
push ebx
call fcn.00443ee0
mov ecx, dword [esi + 0xc]
add esp, 0x28
push 0
push 0
lea edx, [esp + 0x690]
push edx
lea eax, [esp + 0xaa4]
push eax
call fcn.0044bf30
test eax, eax
jne 0x42146e
push 1
push eax
push eax
push 0x8901
mov ecx, esi
call fcn.00418f60
lea ecx, [esp + 0x688]
lea edx, [esp + 0xa98]
jmp 0x421460
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.00453ad3
add esp, 8
test eax, eax
jne 0x421481
lea eax, [esp + 0x890]
push eax
push 0x475abc
call fcn.004454c0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x898]
push ecx
push edx
lea eax, [esp + 0xaa8]
push 0x46ab98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esi + 8]
add esp, 0x18
cmp byte [ecx + 0x1e89], 0
mov ecx, esi
je 0x4213b5
call fcn.0040bbb0
jmp 0x421481
lea edx, [esp + 0x890]
push edx
push 0xffffffffffffffff
push 3
call fcn.00418e80
lea eax, [esp + 0xa98]
push eax
push ebp
push ebx
call fcn.00443ee0
mov edi, eax
push edi
push str.zRes__ld_n
call fcn.004454c0
add esp, 0x14
test edi, edi
je 0x42146e
lea ecx, [esp + 0x890]
push ecx
lea edx, [esp + 0x484]
push edx
lea eax, [esp + 0xca8]
push 0x46ab98
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0xcb0]
push ecx
push ebp
push ebx
call fcn.00443ee0
mov ecx, dword [esi + 0xc]
add esp, 0x1c
push 0
push 0
lea edx, [esp + 0xaa0]
push edx
lea eax, [esp + 0xcac]
push eax
call fcn.0044bf30
test eax, eax
jne 0x42146e
push 1
push eax
push eax
push 0x8901
mov ecx, esi
call fcn.00418f60
lea ecx, [esp + 0xa98]
lea edx, [esp + 0xca0]
push 0
push 0
push ecx
mov ecx, dword [esi + 0xc]
push edx
call fcn.0044ea50
lea eax, [esp + 0x890]
push eax
push 0
push 3
mov ecx, esi
call fcn.00418e80
inc ebp
cmp ebp, dword [esp + 0x14]
jl 0x421170
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x1e89], 0
jne 0x421514
cmp byte [esp + 0x13], 0
je 0x421514
cmp word [esp + 0x480], 0
je 0x421514
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xaa2]
push eax
mov word [esp + 0xaa4], dx
call fcn.00453450
add esp, 0xc
lea ecx, [esp + 0xa98]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [esp + 0xa98], 0
je 0x421514
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0xa98]
push edx
lea eax, [esp + 0x484]
push eax
call fcn.004495e0
test eax, eax
je 0x421514
lea ecx, [esp + 0x480]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.0044c510
push ebx
call fcn.00443f00
mov ecx, dword [esp + 0xeac]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00453432
add esp, 0xe9c
ret 0xc