Function at 0x629fe0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c5fb6
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ebx, [esi + 0xf8]
push ebx
lea ecx, [ebp - 0x70]
call fcn.00428650
mov dword [ebp - 4], 0
mov ecx, 0x110
cmp dword [esi + 0x33c], 5
mov eax, 0x128
cmovne eax, ecx
add eax, esi
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x62a049
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00428920
push ebx
lea ecx, [ebp - 0x58]
call fcn.00428650
mov byte [ebp - 4], 1
lea eax, [esi + 0x128]
cmp dword [edi + 0x10], 0
cmove edi, eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x62a079
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.00428920
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
cmovae edi, dword [ebp - 0x58]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x62a442
mov ecx, dword [0x7eba0c]
test ecx, ecx
je 0x62a0b1
cmp byte [0x7eba08], al
jne 0x62a0bc
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push edi
push str.File_does_not_exist_at__s
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0xb8
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.006501e0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x70]
add esp, 4
push 0x20
push eax
call fcn.004ea1a0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov eax, dword [ebp - 0x12c]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x134], 1
mov eax, dword [eax + 4]
push dword [ebp - 0x134]
mov byte [ebp - 0x23], 0
push 0
mov eax, dword [ebp + eax - 0xf4]
test eax, eax
sete byte [ebp - 0x24]
push dword [ebp - 0x24]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0062a8a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp ecx, eax
je 0x62a19d
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x150]
call fcn.00428b60
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x150]
call fcn.005e4690
mov byte [ebp - 4], 4
mov bl, al
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x62a1ef
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x62a1e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62a4b7
push edx
push ecx
call fcn.0063e103
add esp, 8
mov ecx, dword [0x7eba0c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
test bl, bl
je 0x62a248
test ecx, ecx
je 0x62a221
cmp byte [0x7eba08], 0
jne 0x62a22c
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.successfully_unzipped_the_gzip_response
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 8
mov bl, 1
jmp 0x62a27f
test ecx, ecx
je 0x62a255
cmp byte [0x7eba08], 0
jne 0x62a260
call fcn.0061b120
mov ecx, dword [0x7eba0c]
mov eax, dword [ecx]
push str.Failed_in_Unzipping_the_gzipped_http_response
push 0x701e7c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0xc
xor bl, bl
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x12d], bl
test ecx, ecx
je 0x62a2d2
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x62a2b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62a4bc
push edx
push ecx
call fcn.0063e103
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00437a90
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x134]
cmovae ecx, dword [ebp - 0x70]
call fcn.0061f0d0
test bl, bl
je 0x62a3fa
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x134], ecx
cmp ecx, 0xffffffff
jne 0x62a386
mov ebx, dword [0x7eba0c]
test ebx, ebx
je 0x62a343
cmp byte [0x7eba08], 0
jne 0x62a34e
call fcn.0061b120
mov ebx, dword [0x7eba0c]
cmp dword [ebp - 0x44], 8
lea edi, [ebp - 0x58]
mov esi, dword [ebx]
cmovae edi, dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push edi
push str.Failed_to_create_file_at_path_:_s_Error:_d
push 0x701e7c
push ebx
call dword [0x6ef350]
call esi
mov bl, byte [ebp - 0x12d]
add esp, 0x14
jmp 0x62a3fa
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x24]
push 0
push edx
push dword [ebp - 0x30]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x62a3ee
mov edi, dword [0x7eba0c]
test edi, edi
je 0x62a3bf
cmp byte [0x7eba08], al
jne 0x62a3ca
call fcn.0061b120
mov edi, dword [0x7eba0c]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push str.Failed_to_write_in_file_ERROR_VAL:_d_n
push 0x701e7c
push edi
call dword [0x6ef350]
call esi
add esp, 0x10
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x62a42e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x62a424
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62a4c1
push edx
push ecx
call fcn.0063e103
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x62a487
push 0x50
push str.Failed_to_unzip_the_file_as_there_is_already_another_file_with_that_name_present
lea ecx, [esi + 0x348]
mov dword [esi + 0x340], 0xffffff9c
call fcn.00428800
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x134]
mov dword [esi + 0x368], 0
cmovae ecx, dword [ebp - 0x70]
mov byte [esi + 0x364], 1
call fcn.0061f0d0
xor bl, bl
lea ecx, [ebp - 0x58]
call fcn.00428770
lea ecx, [ebp - 0x70]
call fcn.00428770
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 4
call fcn.006534c5
call fcn.006534c5
call fcn.006534c5
int3