Function at 0x1000bd40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033b3c
mov eax, dword fs:[0]
push eax
mov eax, 0x212c
call fcn.100134c0
mov eax, dword [0x1004806c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1004c8d8
call fcn.100223ef
push str.Calculating_other_deltas
call fcn.10002f50
add esp, 8
lea eax, [ebp - 0x2038]
mov ecx, 0x1004d148
push eax
push str.other_files
call fcn.100077e0
mov ecx, eax
call fcn.100086d0
push eax
lea ecx, [ebp - 0x2034]
call fcn.10005f20
push ecx
mov esi, esp
lea eax, [ebp - 0x203c]
push eax
push str.other_files
mov ecx, 0x1004d148
call fcn.100077e0
mov ecx, eax
call fcn.100086f0
push eax
mov ecx, esi
call fcn.10005f20
lea ecx, [ebp - 0x2034]
call fcn.100077b0
test al, al
je 0x1000c0b4
push ecx
mov esi, esp
lea eax, [ebp - 0x2040]
push eax
push str.other_files
mov ecx, 0x1004d148
call fcn.100077e0
mov ecx, eax
call fcn.100086d0
push eax
mov ecx, esi
call fcn.10005f20
lea ecx, [ebp - 0x2034]
call fcn.10007980
push 0x1004b3d0
lea ecx, [ebp - 0x2070]
call fcn.10006830
lea ecx, [ebp - 0x2034]
mov dword [ebp - 4], 0
call fcn.10007870
mov esi, eax
push str.version
lea ecx, [esi + 0x18]
call fcn.10007840
mov ecx, eax
call fcn.100084e0
push eax
lea ecx, [ebp - 0x2058]
call fcn.10006830
lea eax, [ebp - 0x2070]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2058]
push eax
call fcn.100085e0
add esp, 8
lea ecx, [ebp - 0x2058]
mov bl, al
call fcn.10007310
lea ecx, [ebp - 0x2070]
mov dword [ebp - 4], 0xffffffff
call fcn.10007310
test bl, bl
je 0x1000bee2
push 0x1004c0d8
call fcn.100223ef
add esp, 4
mov ecx, esi
call fcn.100084e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1000bed5
mov ecx, esi
call fcn.100084e0
push eax
push str.File_doesnt_exist__need_it__s
call fcn.10002f50
add esp, 8
push 0x1004c8d8
call fcn.100223ef
add esp, 4
mov ecx, esi
call fcn.100084e0
push eax
call fcn.1000eff0
push eax
lea eax, [ebp - 0x1c]
push str._08x
push eax
call fcn.10011080
add esp, 0x10
lea ecx, [esi + 0x18]
push str.crc32
call fcn.10007840
mov ecx, eax
call fcn.100084e0
lea ecx, [ebp - 0x1c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1000bf38
test dl, dl
je 0x1000bf34
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1000bf38
add ecx, 2
add eax, 2
test dl, dl
jne 0x1000bf18
xor eax, eax
jmp 0x1000bf3d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000bf45
xor al, al
jmp 0x1000bf6d
push str.crc32
lea ecx, [esi + 0x18]
call fcn.10007840
mov ecx, eax
call fcn.100084e0
push eax
lea eax, [ebp - 0x1c]
push eax
push str._s____s
call fcn.10002f50
add esp, 0xc
mov al, 1
test al, al
je 0x1000c0a4
push str.version
lea ecx, [esi + 0x18]
call fcn.10007840
mov ecx, eax
call fcn.100084e0
push eax
lea ecx, [ebp - 0x2088]
call fcn.10006830
lea eax, [ebp - 0x2088]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10008880
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2088]
call fcn.10007310
push 1
push 3
lea ecx, [ebp - 0x2138]
call fcn.10006920
push str.crc32
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 3
call fcn.10007840
mov ecx, eax
call fcn.100084e0
push eax
push 0x1000f7b0
lea ecx, [ebp - 0x2128]
call fcn.100076f0
push eax
call fcn.10003390
add esp, 8
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2138]
push eax
call fcn.100076e0
push str.link
lea ecx, [esi + 0x18]
mov dword [ebp - 0x28], 0
call fcn.10007840
mov ecx, eax
call fcn.100084e0
push eax
push str.http:__dl.thugpro.com
lea eax, [ebp - 0x2030]
push 0x1003530c
push eax
call fcn.10011080
add esp, 0x10
mov ecx, esi
call fcn.100084e0
push eax
lea eax, [ebp - 0x1830]
push eax
call fcn.10011080
add esp, 8
mov word [ebp - 0x24], 0
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x22], 0
mov ecx, 0x1004d130
push eax
call fcn.10010400
lea eax, [ebp - 0x2030]
push eax
push str.Added_2__s_to_queue
call fcn.10002f50
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2138]
call fcn.10007b90
lea ecx, [ebp - 0x2034]
call fcn.10007920
jmp 0x1000bdb2
push str.Done_calculating_other_file_deltas
call fcn.10002f50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001327e
mov esp, ebp
pop ebp
ret