Function at 0x409c40
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a14d
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x848]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.0040ed60
xor esi, esi
push 0x38
mov dword [esp + 0x854], esi
call fcn.00428aa5
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov byte [esp + 0x850], 1
je 0x409cbe
push eax
call fcn.0040a9b0
mov dword [esp + 0x24], eax
jmp 0x409cc4
mov dword [esp + 0x24], esi
mov eax, esi
cmp eax, esi
mov byte [esp + 0x850], 0
jne 0x409cee
lea ecx, [esp + 0x14]
mov dword [esp + 0x850], 0xffffffff
call fcn.0040ed90
mov eax, 0x66
jmp 0x40a47c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
cmp eax, esi
lea ecx, [esp + 0x1c]
je 0x409df0
push str.Couldnt_create_Zipper_object
call fcn.004010e0
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 2
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 0
call fcn.0040ed90
push 0x45602c
lea ecx, [esp + 0x2c]
call fcn.004010e0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x858], 3
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x850], 4
mov eax, dword [esi]
sub eax, 0x10
mov edi, 1
cmp dword [eax + 0xc], edi
jle 0x409d81
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 3
call fcn.0040ed90
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 0
call fcn.0040ed90
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], edi
jle 0x409dc8
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401c20
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x850], 0xffffffff
call fcn.0040ed90
mov eax, 0x64
jmp 0x40a47c
push str.ZipperHelper:_please_wait...
call fcn.004010e0
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 5
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 0
call fcn.0040ed90
push str.Modifying_install_path_if_required._Initial_install_path_is
lea ecx, [esp + 0x2c]
call fcn.004010e0
lea edi, [ebx + 0x18]
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x858], 6
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x850], 7
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x409e67
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 1
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 6
call fcn.0040ed90
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 0
call fcn.0040ed90
push edi
lea ecx, [esp + 0x34]
call fcn.00401050
mov byte [esp + 0x850], 8
or edi, 0xffffffff
jmp 0x409eb0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx - 0xc]
lea eax, [edi + 1]
test eax, eax
jl 0x40a07e
cmp eax, edx
jge 0x40a07e
lea ecx, [ecx + eax*2]
push 0x25
push ecx
call fcn.00431e30
add esp, 8
test eax, eax
je 0x40a07e
mov ecx, dword [esp + 0x34]
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x40a07e
cmp esi, edi
je 0x40a07e
mov eax, dword [ecx - 0xc]
lea ebx, [esi + 1]
test ebx, ebx
jl 0x409f25
cmp ebx, eax
jge 0x409f25
lea edx, [ecx + ebx*2]
push 0x25
push edx
call fcn.00431e30
add esp, 8
test eax, eax
je 0x409f25
sub eax, dword [esp + 0x34]
sar eax, 1
mov edi, eax
jmp 0x409f28
or edi, 0xffffffff
mov eax, edi
sub eax, esi
sub eax, 1
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004083e0
mov byte [esp + 0x850], 9
mov eax, dword [esp + 0x2c]
cmp dword [eax - 4], 1
jle 0x409f62
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x30]
call fcn.00401c20
mov eax, dword [esp + 0x2c]
push 0x3e8
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x40a061
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x20]
call fcn.004010e0
mov byte [esp + 0x850], 0xa
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
sub eax, edi
sub eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x38]
call fcn.004082e0
mov edi, eax
push esi
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x858], 0xb
call fcn.004081f0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, eax
mov byte [esp + 0x858], 0xc
call fcn.004011f0
push edi
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x858], 0xd
call fcn.004011f0
add eax, 4
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x854], 0xe
call fcn.00401b30
lea ecx, [esp + 0x54]
mov byte [esp + 0x850], 0xd
call fcn.0040ed90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x850], 0xc
call fcn.0040ed90
lea ecx, [esp + 0x44]
mov byte [esp + 0x850], 0xb
call fcn.0040ed90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x850], 0xa
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 9
call fcn.0040ed90
mov edi, esi
jmp 0x40a064
add edi, 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 8
call fcn.0040ed90
mov ebx, dword [esp + 0x38]
jmp 0x409eb0
lea edx, [esp + 0x34]
lea esi, [ebx + 0x18]
lea ecx, [esi + 4]
push edx
call fcn.00401b30
push str.Final_install_path_is
lea ecx, [esp + 0x48]
call fcn.004010e0
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x858], 0xf
call fcn.004011f0
lea edi, [eax + 4]
mov byte [esp + 0x850], 0x10
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40a0d2
mov edx, dword [eax + 4]
push edx
mov ecx, edi
call fcn.00401c20
mov edi, dword [edi]
push edi
push 1
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x850], 0xf
call fcn.0040ed90
lea ecx, [esp + 0x44]
mov byte [esp + 0x850], 8
call fcn.0040ed90
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x40a11c
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c20
mov eax, dword [esp + 0x18]
push eax
push 3
call fcn.0040ebf0
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
call fcn.00401050
mov edi, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [ebx + 8]
push eax
mov ecx, edi
call edx
test eax, eax
mov dword [esp + 0x24], eax
je 0x40a359
push str.__error_code_was
lea ecx, [esp + 0x2c]
call fcn.004010e0
push str.__destination_path_
lea ecx, [esp + 0x20]
mov byte [esp + 0x854], 0x11
call fcn.004010e0
mov byte [esp + 0x850], 0x12
mov eax, dword [ebx + 0x10]
push str.Couldnt_decompress_data_from_a_stream._Source_zip_data_size:
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], eax
call fcn.004010e0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, eax
mov byte [esp + 0x858], 0x13
call fcn.00403080
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, eax
mov byte [esp + 0x858], 0x14
call fcn.004011f0
push esi
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
mov byte [esp + 0x858], 0x15
call fcn.004011f0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x858], 0x16
call fcn.004011f0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
push ecx
mov bl, 0x17
mov ecx, eax
mov byte [esp + 0x858], bl
call fcn.00401270
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 0x18
call fcn.00401b30
lea ecx, [esp + 0x4c]
mov byte [esp + 0x850], bl
call fcn.0040ed90
lea ecx, [esp + 0x44]
mov byte [esp + 0x850], 0x16
call fcn.0040ed90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x850], 0x15
call fcn.0040ed90
lea ecx, [esp + 0x54]
mov byte [esp + 0x850], 0x14
call fcn.0040ed90
lea ecx, [esp + 0x64]
mov byte [esp + 0x850], 0x13
call fcn.0040ed90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x850], 0x12
call fcn.0040ed90
mov byte [esp + 0x850], 0x11
lea ecx, [esp + 0x1c]
call fcn.0040ed90
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 8
call fcn.0040ed90
push 0x45602c
lea ecx, [esp + 0x20]
call fcn.004010e0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
mov bl, 0x19
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x858], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x850], 0x1a
mov eax, dword [esi]
sub eax, 0x10
mov edi, 1
cmp dword [eax + 0xc], edi
jle 0x40a2f3
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x850], bl
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 8
call fcn.0040ed90
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], edi
jle 0x40a339
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401c20
mov eax, dword [esp + 0x18]
push eax
push edi
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x850], 0
call fcn.0040ed90
jmp 0x409dd2
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
test eax, eax
je 0x40a43b
push str.Zipper_object_teardown_failure
lea ecx, [esp + 0x40]
call fcn.004010e0
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x854], 0x1b
call fcn.00401b30
lea ecx, [esp + 0x3c]
mov byte [esp + 0x850], 8
call fcn.0040ed90
push 0x45602c
lea ecx, [esp + 0x20]
call fcn.004010e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov bl, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x858], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x850], 0x1d
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x40a3e9
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x850], bl
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 8
call fcn.0040ed90
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x40a430
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c20
mov eax, dword [esp + 0x18]
push eax
push 1
call fcn.0040ebf0
add esp, 8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
push str.ZipperHelper:_success
push 3
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x850], 0
call fcn.0040ed90
lea ecx, [esp + 0x14]
mov dword [esp + 0x850], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0x848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.00431df7
mov esp, ebp
pop ebp
ret