Function at 0x1001e150
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1012c938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0xe0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001e1b3
mov eax, dword [0x1018fb1c]
test eax, eax
je 0x1001e2f6
push str.LoadConfig___PathFileExists_failed
push eax
call fcn.100251e0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov al, byte [esp + 0x13]
mov edi, dword [ebp + 0xe0]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.1000db90
push edi
call fcn.1002e383
add esp, 4
mov esi, eax
lea ecx, [esp + 0x28]
push 1
push esi
call fcn.1000e090
test al, al
je 0x1001e204
mov ecx, dword [esp + 0x2c]
push esi
push edi
push ecx
call fcn.1000cb40
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
add esp, 0xc
mov word [edx + esi*2], 0
add ebp, 0x31c
lea eax, [esp + 0x28]
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x58], 0
call fcn.10027280
push 1
lea ecx, [esp + 0x2c]
mov bl, al
mov dword [esp + 0x54], 0xffffffff
call fcn.1000db90
test bl, bl
jne 0x1001e269
mov eax, dword [0x1018fb1c]
test eax, eax
je 0x1001e2f6
push str.LoadConfig___Load_file_failed
push eax
call fcn.100251e0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [0x1016d834]
mov edx, dword [0x1016d838]
mov al, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x34], edx
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1000db90
lea ecx, [esp + 0x30]
push ecx
call fcn.1002e383
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.1000e090
test al, al
je 0x1001e2d2
mov eax, dword [esi + 4]
lea edx, [esp + 0x30]
push edi
push edx
push eax
call fcn.1000cb40
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [eax + edi*2], bx
lea edi, [eax + edi*2]
mov ecx, ebp
call fcn.100275d0
mov ebp, eax
cmp ebp, ebx
jne 0x1001e30b
mov eax, dword [0x1018fb1c]
cmp eax, ebx
je 0x1001e2f6
push str.LoadConfig___GetSection_Language_failed
push eax
call fcn.100251e0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [0x1016e0e4]
mov dword [esp + 0x14], ecx
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov ecx, esi
mov dword [esp + 0x64], 1
mov byte [esi], dl
call fcn.1000db90
push 0x1016d7dc
call fcn.1002e383
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.1000e090
test al, al
je 0x1001e370
mov eax, dword [esi + 4]
push edi
push 0x1016d7dc
push eax
call fcn.1000cb40
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [eax + edi*2], bx
lea eax, [eax + edi*2]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.10028230
mov eax, dword [eax + 4]
mov byte [esp + 0x50], 2
cmp eax, ebx
jne 0x1001e38d
mov eax, 0x10130e2c
push eax
lea edx, [esp + 0x18]
push 0x1016a4b8
push edx
call fcn.1011e032
mov ecx, dword [esp + 0x48]
add esp, 0xc
cmp ecx, ebx
mov byte [esp + 0x50], 1
je 0x1001e3cb
mov al, byte [ecx - 1]
test al, al
je 0x1001e3bf
cmp al, 0xff
je 0x1001e3bf
dec al
mov byte [ecx - 1], al
jmp 0x1001e3cb
add ecx, 0xfffffffe
push ecx
call fcn.1011fa75
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.1002f16f
add esp, 4
cmp eax, ebx
jg 0x1001e425
mov eax, dword [0x1018fb1c]
cmp eax, ebx
je 0x1001e3ff
push str.LoadConfig___GetKeyValue_kinds_failed
push eax
call fcn.100251e0
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call fcn.1011fd13
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea esi, [ecx + 0x5c]
mov ecx, esi
call fcn.1011fe5a
mov eax, dword [esi]
mov ecx, dword [0x1018fb1c]
push eax
push str.Got_adb_device_vid:0x_s
push ecx
call fcn.100251e0
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0xffffffff
call fcn.1011fd13
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret