Function at 0x45d6a0
Capabilities:
Check if file exists
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5262cf
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x567570]
xor eax, esp
mov dword [esp + 0x860], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x87c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88c]
mov ebx, ecx
push 0x40e
xor esi, esi
lea ecx, [esp + 0x46a]
xor eax, eax
push esi
push ecx
mov dword [esp + 0x78], ebx
mov word [esp + 0x470], ax
call fcn.004ee670
add esp, 0xc
push 0x208
lea edx, [esp + 0x468]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...ios_usb.ini
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [0x56f16c]
mov eax, dword [edx + 0xc]
mov ecx, 0x56f16c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.ios_usb.ini
mov dword [esp + 0x888], esi
call fcn.004115ec
push eax
lea ecx, [esp + 0x20]
push 0x53f4bc
push ecx
call fcn.004142e8
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x45d790
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.00404918
push edi
jmp 0x45d7d7
lea eax, [esp + 0x464]
push eax
call esi
test eax, eax
je 0x45d7ed
lea eax, [esp + 0x464]
lea edx, [eax + 2]
jmp 0x45d7b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d7b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x468]
push ecx
mov ecx, ebx
call fcn.00401e46
lea edx, [esp + 0x464]
push edx
push 0
push str.ini_ver
push str.ini_ver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x56f16c]
mov eax, dword [edx + 0xc]
mov ecx, 0x56f16c
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x884], 1
movzx ecx, word [esp + 0x9c]
movzx edx, word [esp + 0x9a]
movzx eax, word [esp + 0x96]
push ecx
movzx ecx, word [esp + 0x98]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._02d_02d_02d_02d
push edx
call fcn.004142e8
mov eax, dword [0x56f16c]
mov edx, dword [eax + 0xc]
add esp, 0x18
mov ecx, 0x56f16c
call edx
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x884], 2
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push str.http:__conf.iiapple.com_v1_ios_usb.html_t_s
push ecx
call fcn.004142e8
mov edx, dword [0x56f16c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x56f16c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x884], 3
mov ebx, dword [esp + 0x50]
add ebx, 0xfffffff0
push ebx
mov dword [esp + 0x4c], ebx
call fcn.0040157b
add eax, 0x10
add esp, 4
mov dword [esp + 0x68], eax
push 0
push ebp
push 0xea60
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push ecx
mov byte [esp + 0x8a0], 4
lea esi, [eax - 0x10]
mov dword [esp + 0x8c], esp
mov edi, esp
push esi
call fcn.0040157b
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00489faf
mov edi, eax
add esp, 0x1c
mov byte [esp + 0x884], 3
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45d91e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor esi, esi
cmp edi, esi
jne 0x45d976
mov byte [esp + 0x884], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d94c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dfce
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x45dfce
and dword [esp + 0x5c], 0xfffffe00
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x3d4]
mov byte [esp + 0x884], 6
call fcn.0048e420
mov byte [esp + 0x884], 7
mov edi, dword [esp + 0x1c]
cmp dword [edi - 4], 1
jle 0x45d9ba
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0040f299
mov edi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], esi
mov byte [esp + 0x78], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45d9d6
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x7c]
call fcn.004041ed
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x420]
mov byte [esp + 0x890], 8
call fcn.0040450e
mov eax, dword [esp + 0x418]
mov esi, 0x10
cmp dword [esp + 0x42c], esi
jae 0x45da22
lea eax, [esp + 0x418]
mov ecx, dword [esp + 0x428]
push 1
lea edx, [esp + 0x58]
add ecx, eax
push edx
push ecx
push eax
lea ecx, [esp + 0x3e4]
call fcn.0048e530
test al, al
sete bl
mov byte [esp + 0x884], 7
cmp dword [esp + 0x8c], esi
jb 0x45da63
mov eax, dword [esp + 0x78]
push eax
call fcn.004e9044
add esp, 4
test bl, bl
jne 0x45df68
push 0x541348
lea ecx, [esp + 0x30]
call fcn.0048b120
lea ecx, [esp + 0x2c]
push ecx
mov eax, 0x5431c0
lea esi, [esp + 0xa8]
lea ecx, [esp + 0x58]
mov byte [esp + 0x888], 9
call fcn.0048c220
mov byte [esp + 0x884], 0xa
mov eax, dword [eax]
push 0xfde9
lea edx, [esp + 0xd0]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], edx
call fcn.0041e7f1
mov byte [esp + 0x884], 0xb
mov eax, dword [esp + 0xc8]
push eax
lea ecx, [esp + 0x48]
call fcn.00401f01
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x45daf9
push eax
call fcn.004ea208
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x884], 0xe
call fcn.0048b360
lea ecx, [esp + 0x2c]
mov byte [esp + 0x884], 0xf
call fcn.0048b360
push 0x541348
lea ecx, [esp + 0x30]
call fcn.0048b120
lea edx, [esp + 0x2c]
push edx
mov eax, 0x541290
lea esi, [esp + 0xb8]
lea ecx, [esp + 0x58]
mov byte [esp + 0x888], 0x10
call fcn.0048c220
mov byte [esp + 0x884], 0x11
mov eax, dword [eax]
lea ecx, [esp + 0x2d4]
push 0xfde9
mov dword [esp + 0x2d4], ecx
push eax
lea ecx, [esp + 0x2d8]
call fcn.0041e7f1
mov byte [esp + 0x884], 0x12
mov edx, dword [esp + 0x2d0]
push edx
lea ecx, [esp + 0x44]
call fcn.00401f01
mov eax, dword [esp + 0x2d0]
lea ecx, [esp + 0x2d4]
cmp eax, ecx
je 0x45dbac
push eax
call fcn.004ea208
add esp, 4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x884], 0x15
call fcn.0048b360
lea ecx, [esp + 0x2c]
mov byte [esp + 0x884], 0x16
call fcn.0048b360
push 0x541348
lea ecx, [esp + 0x30]
call fcn.0048b120
lea edx, [esp + 0x2c]
push edx
mov eax, 0x544c1c
lea esi, [esp + 0x78]
lea ecx, [esp + 0x58]
mov byte [esp + 0x888], 0x17
call fcn.0048c220
mov byte [esp + 0x884], 0x18
mov eax, dword [eax]
lea ecx, [esp + 0x1d0]
push 0xfde9
mov dword [esp + 0x1d0], ecx
push eax
lea ecx, [esp + 0x1d4]
call fcn.0041e7f1
mov byte [esp + 0x884], 0x19
mov edx, dword [esp + 0x1cc]
push edx
lea ecx, [esp + 0x50]
call fcn.00401f01
mov eax, dword [esp + 0x1cc]
lea ecx, [esp + 0x1d0]
cmp eax, ecx
je 0x45dc5c
push eax
call fcn.004ea208
add esp, 4
lea ecx, [esp + 0x74]
mov byte [esp + 0x884], 0x1c
call fcn.0048b360
mov bl, 0x1d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x884], bl
call fcn.0048b360
mov edx, dword [esp + 0x44]
push edx
call fcn.004e9b1d
add esp, 4
cmp eax, dword [esp + 0x28]
jle 0x45def0
mov edi, dword [esp + 0x18]
push ebp
push 0xea60
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x7c], esp
mov esi, esp
push edi
call fcn.0040157b
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x890], 0x1e
call fcn.004115ec
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00401f01
mov byte [esp + 0x894], 0x1f
mov eax, dword [esp + 0x50]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.0040157b
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x898], bl
call fcn.00489e92
add esp, 0x14
test eax, eax
je 0x45deec
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x18]
push eax
call fcn.00404918
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x411f8f
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x113
mov dword [esp + 0x38], ecx
push 0
push 0x3e8
mov edx, ecx
mov byte [esp + 0x88c], 0x20
mov eax, dword [0x570788]
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x2c]
push edx
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], 4
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
cmp dword [ebp + 0x18], 0
jne 0x45dd92
cmp dword [ebp + 0xc], 0xffffffff
jne 0x45dd92
xor al, al
mov byte [esp + 0x23], al
push 0x557acc
lea eax, [esp + 0x27]
push eax
call fcn.004edfe2
mov edx, dword [0x570788]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
mov ecx, dword [0x570788]
lea eax, [esp + 0x2c]
push eax
push ecx
call esi
mov byte [esp + 0x884], 0x16
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45dddc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 0xf
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3d4]
call fcn.00426885
lea ecx, [esp + 0x54]
mov byte [esp + 0x884], 3
call fcn.0048b360
mov byte [esp + 0x884], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x884], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45debe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x884], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dee2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
jmp 0x45e023
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x884], 0x16
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45df18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 0xf
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45df40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 7
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45df68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3d4]
call fcn.00426885
lea ecx, [esp + 0x54]
mov byte [esp + 0x884], 3
call fcn.0048b360
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x884], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dfa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x884], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dfce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x884], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x884], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45e021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x87c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.004ee5a2
add esp, 0x874
ret 4