Function at 0x1002d650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100937a7
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x100b5350]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x1e0], 0
call fcn.10008c10
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.10009370
test al, al
je 0x1002d6e4
lea eax, [ebp - 0x1e0]
push eax
mov ecx, ebx
call fcn.10008c30
lea ecx, [ebp - 0x1e0]
call fcn.10008cc0
mov eax, ebx
jmp 0x1002e10a
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
call fcn.10008c10
mov byte [ebp - 4], 1
push dword [esi + 0x1c]
lea eax, [ebp - 0x1e4]
push dword [esi + 0xc]
push str._s_s
push eax
call fcn.1000db70
add esp, 0x10
lea ecx, [ebp - 0x1e4]
call fcn.10001a10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1002d758
lea eax, [ebp - 0x1e0]
push eax
mov ecx, ebx
call fcn.10008c30
lea ecx, [ebp - 0x1e4]
call fcn.10008cc0
lea ecx, [ebp - 0x1e0]
call fcn.10008cc0
mov eax, ebx
jmp 0x1002e10a
push str.default
lea ecx, [ebp - 0x1e0]
call fcn.1000a7a0
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0
call fcn.10008c10
push ecx
lea eax, [ebp - 0x1e4]
mov ecx, esp
push eax
mov byte [ebp - 4], 2
call fcn.10008c30
lea eax, [ebp - 0x1e8]
push eax
call fcn.10029f80
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x1ec]
push 0x100a752c
push eax
call fcn.1000db70
add esp, 0xc
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 2
call fcn.10008cc0
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.10029ea0
sub esp, 8
lea ecx, [ebp - 0x1dc]
call fcn.100307a0
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 4
call fcn.10001a10
mov edx, eax
lea ecx, [ebp - 0x1cc]
call fcn.10035f70
push 0
mov byte [ebp - 4], 5
push 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
call fcn.100352e0
mov dword [ebp - 0x1fc], eax
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 6
call fcn.10035d80
push str.current
lea ecx, [ebp - 0x3b0]
call fcn.10008270
push str.metaData
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 7
call fcn.10008270
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 8
call fcn.1001da10
mov ecx, eax
call fcn.100356d0
lea ecx, [ebp - 0x3b0]
push ecx
mov ecx, eax
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x350]
call fcn.100081f0
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 9
call fcn.100356b0
push eax
lea ecx, [ebp - 0x30]
call fcn.100081f0
lea ecx, [ebp - 0x350]
call fcn.10008390
lea ecx, [ebp - 0x380]
call fcn.10008390
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0xd
call fcn.10008390
cmp dword [ebp - 0x20], 0
jne 0x1002d97f
push str.searchDefault
lea ecx, [ebp - 0x2a8]
call fcn.10008270
push str.metaData
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xe
call fcn.10008270
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0xf
call fcn.1001da10
mov ecx, eax
call fcn.100356d0
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x2c0]
call fcn.100081f0
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x10
call fcn.100356b0
push eax
lea ecx, [ebp - 0x30]
call fcn.100083a0
lea ecx, [ebp - 0x2c0]
call fcn.10008390
lea ecx, [ebp - 0x2d8]
call fcn.10008390
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xd
call fcn.10008390
push str.engines
lea ecx, [ebp - 0x338]
call fcn.10008270
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x11
call fcn.1001da10
mov ecx, eax
call fcn.100357f0
mov esi, eax
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x214], esi
mov byte [ebp - 4], 0xd
call fcn.10008390
lea eax, [ebp - 0x290]
push eax
mov ecx, esi
call fcn.1001db60
mov ebx, dword [ebp - 0x288]
lea eax, [ebp - 0x3c8]
push eax
mov ecx, esi
mov dword [ebp - 0x1e8], ebx
call fcn.1001db80
cmp ebx, dword [eax + 8]
setne al
test al, al
je 0x1002e087
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x1f4], 0
test eax, eax
jne 0x1002da11
xor esi, esi
jmp 0x1002da13
mov esi, dword [eax]
mov edx, dword [esi + 8]
mov eax, ebx
shr eax, 2
dec edx
and edx, eax
mov eax, dword [esi + 4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
and ecx, 3
lea ecx, [eax + ecx*4]
call fcn.100356d0
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1002fe60
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x12
call fcn.10035690
push str._name
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x13
call fcn.10008270
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x14
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x268]
call fcn.100081f0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x268]
call fcn.100356c0
lea ecx, [ebp - 0x268]
mov bl, al
call fcn.10008390
lea ecx, [ebp - 0x284]
call fcn.10008390
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x12
call fcn.10008390
test bl, bl
je 0x1002e011
push ecx
lea ecx, [ebp - 0xfc]
call fcn.10029ea0
sub esp, 8
lea ecx, [ebp - 0xfc]
call fcn.100307a0
push str._urls
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x15
call fcn.10008270
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x16
call fcn.1001da10
mov ecx, eax
call fcn.100357f0
mov esi, eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x218], esi
mov byte [ebp - 4], 0x15
call fcn.10008390
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.1001db60
mov ebx, dword [ebp - 0x230]
lea eax, [ebp - 0x3bc]
push eax
mov ecx, esi
call fcn.1001db80
cmp ebx, dword [eax + 8]
setne al
test al, al
je 0x1002df4d
lea eax, [ebp - 0x29c]
push eax
mov ecx, esi
call fcn.1001db60
cmp ebx, dword [eax + 8]
setne al
test al, al
je 0x1002db88
mov edx, 0x100ac5a8
lea ecx, [ebp - 0xec]
call fcn.10035f70
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x20c], 0
test eax, eax
jne 0x1002dba0
xor esi, esi
jmp 0x1002dba2
mov esi, dword [eax]
mov edx, dword [esi + 8]
mov eax, ebx
shr eax, 2
dec edx
and edx, eax
mov eax, dword [esi + 4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
and ecx, 3
lea ecx, [eax + ecx*4]
call fcn.100356d0
push eax
lea ecx, [ebp - 0x20c]
call fcn.1002fe60
push str.template
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x17
call fcn.10008270
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x18
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x284]
call fcn.100081f0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x19
call fcn.100356b0
push eax
lea ecx, [ebp - 0x48]
call fcn.100081f0
lea ecx, [ebp - 0x284]
call fcn.10008390
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x1c
call fcn.10008390
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0xec]
call fcn.100361b0
push str.params
lea ecx, [ebp - 0x368]
call fcn.10008270
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x1d
call fcn.1001da10
mov ecx, eax
call fcn.100357f0
mov esi, eax
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x21c], esi
mov byte [ebp - 4], 0x1c
call fcn.10008390
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.1001db60
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x2cc]
push eax
mov ecx, esi
call fcn.1001db80
cmp ebx, dword [eax + 8]
setne al
test al, al
je 0x1002decd
lea eax, [ebp - 0x2b4]
push eax
mov ecx, esi
call fcn.1001db60
cmp ebx, dword [eax + 8]
lea ecx, [ebp - 0xec]
sete al
mov edx, 0x100ac7ec
test al, al
jne 0x1002dce5
mov edx, 0x100ac7f0
call fcn.10035f70
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x204], 0
test eax, eax
jne 0x1002dd02
xor esi, esi
jmp 0x1002dd04
mov esi, dword [eax]
mov edx, dword [esi + 8]
mov eax, ebx
shr eax, 2
dec edx
and edx, eax
mov eax, dword [esi + 4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
and ecx, 3
lea ecx, [eax + ecx*4]
call fcn.100356d0
push eax
lea ecx, [ebp - 0x204]
call fcn.1002fe60
push str.name
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x1e
call fcn.10008270
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x1f
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x320]
call fcn.100081f0
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0x20
call fcn.100356b0
push eax
lea ecx, [ebp - 0x12c]
call fcn.100081f0
lea ecx, [ebp - 0x320]
call fcn.10008390
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x23
call fcn.10008390
push str.value
lea ecx, [ebp - 0x308]
call fcn.10008270
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x24
call fcn.1001da10
mov ecx, eax
call fcn.10035ae0
push eax
lea ecx, [ebp - 0x2f0]
call fcn.100081f0
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 0x25
call fcn.100356b0
push eax
lea ecx, [ebp - 0x114]
call fcn.100081f0
lea ecx, [ebp - 0x2f0]
call fcn.10008390
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x28
call fcn.10008390
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0xec]
call fcn.100361b0
mov edx, 0x100ac804
mov ecx, eax
call fcn.10035f70
lea edx, [ebp - 0x114]
mov ecx, eax
call fcn.100361b0
lea ecx, [ebp - 0x114]
call fcn.10008390
lea ecx, [ebp - 0x12c]
call fcn.10008390
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x204]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x204]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x200], 0
cmp esi, eax
je 0x1002deb2
lea esp, [esp]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi]
test ecx, ecx
je 0x1002de8f
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 8]
call fcn.10008390
push esi
call fcn.100704e2
mov eax, dword [ebp - 0x204]
add esp, 4
mov esi, ebx
cmp ebx, eax
jne 0x1002de80
mov ebx, dword [ebp - 0x224]
push eax
call fcn.100704e2
mov esi, dword [ebp - 0x21c]
add esp, 4
inc ebx
mov dword [ebp - 0x224], ebx
jmp 0x1002dca1
lea ecx, [ebp - 0x48]
call fcn.10008390
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x20c]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x20c]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x208], 0
cmp esi, eax
je 0x1002df2c
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi]
test ecx, ecx
je 0x1002df0f
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 8]
call fcn.10008390
push esi
call fcn.100704e2
mov eax, dword [ebp - 0x20c]
add esp, 4
mov esi, ebx
cmp ebx, eax
jne 0x1002df00
push eax
call fcn.100704e2
mov ebx, dword [ebp - 0x230]
mov esi, dword [ebp - 0x218]
add esp, 4
inc ebx
mov dword [ebp - 0x230], ebx
jmp 0x1002db44
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xfc]
call fcn.100308b0
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.100084f0
push eax
lea ecx, [ebp - 0x1e0]
call fcn.1000a7a0
lea ecx, [ebp - 0x48]
call fcn.10008390
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x100], eax
lea ecx, [ebp - 0xe4]
call fcn.100096c0
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x100], eax
lea ecx, [ebp - 0xe4]
call fcn.10008630
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x100], eax
lea ecx, [ebp - 0x94]
call fcn.10008840
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1f4]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [ebp - 0x1f4]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f0], 0
cmp esi, eax
je 0x1002e06c
lea esp, [esp]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi]
test ecx, ecx
je 0x1002e04f
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 8]
call fcn.10008390
push esi
call fcn.100704e2
mov eax, dword [ebp - 0x1f4]
add esp, 4
mov esi, ebx
cmp ebx, eax
jne 0x1002e040
push eax
call fcn.100704e2
mov ebx, dword [ebp - 0x1e8]
mov esi, dword [ebp - 0x214]
add esp, 4
inc ebx
jmp 0x1002d9d7
lea ecx, [ebp - 0x30]
call fcn.10008390
lea ecx, [ebp - 0x1fc]
call fcn.1002ff00
push dword [ebp - 0x1fc]
call fcn.100704e2
mov esi, dword [ebp - 0x220]
add esp, 4
jmp 0x1002e0bc
lea eax, [ebp - 0x1e0]
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.10008c30
lea ecx, [ebp - 0x174]
call fcn.10030840
lea ecx, [ebp - 0x174]
call fcn.10008840
lea ecx, [ebp - 0x1ec]
call fcn.10008cc0
lea ecx, [ebp - 0x1e4]
call fcn.10008cc0
lea ecx, [ebp - 0x1e0]
call fcn.10008cc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100704e7
mov esp, ebp
pop ebp
ret 4