Function at 0x100841d3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100eb9db
call fcn.100c908c
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
xor esi, esi
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
inc esi
mov byte [ebp - 4], 1
call fcn.1000548f
push ebx
push str.http:__
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.1000506b
test eax, eax
jne 0x10084360
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.1007f2f5
mov byte [ebp - 4], 3
cmp byte [ebp + 0x14], bl
jne 0x10084277
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1008428b
push esi
push 0x18
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp + 0x14], esp
mov ecx, esp
push eax
call fcn.1000548f
call fcn.1007e7dd
add esp, 0xc
cmp al, bl
jne 0x1008428b
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000688b
mov ecx, dword [ebp - 0x18]
jmp 0x1008440f
cmp dword [edi + 0x1248], ebx
jne 0x100842a8
push ebx
call fcn.100478ea
pop ecx
mov dword [edi + 0x1248], eax
cmp eax, ebx
je 0x10084340
push ebx
push str..png
lea ecx, [ebp - 0x14]
call fcn.1000506b
test eax, eax
setg al
movzx eax, al
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp + 0x14], esp
mov ecx, esp
push eax
call fcn.1000548f
push dword [edi + 0x1248]
call fcn.10046a79
add esp, 0xc
push ebx
push ebx
push ecx
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x14], esp
mov ecx, esp
push eax
lea esi, [edi + 0xb8]
call fcn.1000548f
lea eax, [ebp + 0x14]
push esi
push eax
call fcn.1004ad5e
add esp, 0x14
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.1000688b
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10003f60
mov ecx, dword [edi + 0x1248]
mov eax, dword [ecx]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [eax + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000688b
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
add ecx, 0xfffffff0
mov dword [esi], ebx
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
jmp 0x100845d0
lea eax, [ebp - 0x24]
push eax
call fcn.10060f33
pop ecx
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], esi
call fcn.1000506b
cmp eax, 0xffffffff
jne 0x100843b0
lea eax, [ebp - 0x20]
push eax
call fcn.10060b08
mov eax, dword [eax]
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 3
call fcn.1000506b
cmp eax, 0xffffffff
jne 0x100843b0
mov eax, dword [ebp - 0x14]
mov byte [ebp + 0x17], 1
cmp dword [eax - 0xc], ebx
jne 0x100843b3
mov byte [ebp + 0x17], bl
test byte [ebp - 0x18], 2
je 0x100843c8
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x18], 0xfffffffd
add ecx, 0xfffffff0
call fcn.10003f60
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 2
je 0x100843e0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
cmp byte [ebp + 0x17], bl
je 0x1008441b
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 0x14], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.1007fe82
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.1000688b
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10003f60
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x100845bd
cmp byte [ebp + 0x10], bl
jne 0x10084523
push ebx
lea ecx, [ebp - 0x14]
call fcn.100054ad
mov esi, 0x2030
push esi
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
mov dword [ecx], eax
call fcn.1004c390
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x100845bd
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x10]
call fcn.10070f3a
mov edi, dword [ebp + 0x1c]
cmp edi, 0xffffffff
je 0x100844f1
cmp dword [ebp - 0x30], edi
jle 0x100844f1
fild dword [ebp - 0x34]
fidiv dword [ebp - 0x30]
fimul dword [ebp + 0x1c]
call fcn.100cb880
push 1
push 2
push 0x20
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10071d88
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp + 0x14], ebx
call fcn.100054ad
push esi
push ebx
push 0xff000000
push ebx
push dword [ebp - 0x34]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x10], esp
call fcn.1004c769
push ebx
push ebx
push dword [ebp + 0x14]
call fcn.10071cc8
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call fcn.10071c1e
lea ecx, [ebp + 0x14]
call fcn.1000535c
cmp esi, ebx
je 0x10084515
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x10084515
push ebx
lea ecx, [ebp - 0x14]
call fcn.100054ad
push esi
push ebx
push 0xff000000
push ebx
push dword [ebp - 0x34]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x14], esp
call fcn.1004c769
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x100845bd
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x100845bd
push ebx
lea ecx, [ebp - 0x14]
call fcn.100054ad
push ebx
push ebx
push 0x10
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
mov dword [ecx], eax
call fcn.100710aa
add esp, 0x10
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x100845bd
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004ce79
mov edi, dword [eax]
mov esi, dword [eax + 4]
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x208]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.10005294
cmp esi, dword [ebp - 0x30]
jl 0x10084590
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp - 0x34]
jl 0x10084598
mov edi, dword [ebp - 0x34]
push 1
push ebx
push 0x19
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.10071d88
push dword [ebp + 0x14]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call fcn.10071c1e
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18