Function at 0x446c20
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x800
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x78], ebx
jne 0x446d06
mov eax, dword [0x469ad4]
cmp eax, ebx
je 0x446c4c
cmp dword [0x469ad8], ebx
jne 0x446cef
lea eax, [esp + 0x10]
push 0x400
push eax
push ebx
call dword [0x45d1e0]
mov ebp, dword [0x45d39c]
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [0x469adc]
xor esi, esi
cmp eax, ebx
jle 0x446c86
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x446c75
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x45d398]
lea edx, [esp + 0x10]
push edx
call fcn.00407f40
add esp, 4
test eax, eax
je 0x446cb7
lea eax, [esp + 0x10]
push eax
call dword [0x45d1f4]
cmp eax, ebx
mov dword [0x469ad8], eax
je 0x446ce8
push str.GetMiniUI
push eax
call dword [0x45d1f8]
cmp eax, ebx
mov dword [0x469ad4], eax
jne 0x446cf5
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], ebx
xor eax, eax
mov dword [edi + 0x78], eax
jmp 0x446d0c
mov ebp, dword [0x45d39c]
call eax
cmp eax, ebx
je 0x446ce8
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
mov dword [edi + 0x78], eax
jmp 0x446d0c
mov ebp, dword [0x45d39c]
mov ecx, dword [edi + 0x78]
cmp ecx, ebx
je 0x4470b3
mov edx, dword [esp + 0x824]
mov eax, dword [ecx]
push 0x1a
push edx
mov edx, dword [esp + 0x81c]
and edx, 0xffff
push edx
push ebx
call dword [eax + 0x1c]
cmp dword [edi + 0x7c], ebx
jne 0x446df2
mov eax, dword [0x469ad4]
cmp eax, ebx
je 0x446d53
cmp dword [0x469ad8], ebx
jne 0x446ee6
lea eax, [esp + 0x10]
push 0x400
push eax
push ebx
call dword [0x45d1e0]
lea ecx, [esp + 0x10]
push ecx
call ebp
mov eax, dword [0x469adc]
xor esi, esi
cmp eax, ebx
jle 0x446d87
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x446d76
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x45d398]
lea edx, [esp + 0x10]
push edx
call fcn.00407f40
add esp, 4
test eax, eax
je 0x446db8
lea eax, [esp + 0x10]
push eax
call dword [0x45d1f4]
cmp eax, ebx
mov dword [0x469ad8], eax
je 0x446ded
push str.GetMiniUI
push eax
call dword [0x45d1f8]
cmp eax, ebx
mov dword [0x469ad4], eax
jne 0x446ee6
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], ebx
xor eax, eax
mov dword [edi + 0x7c], eax
mov ecx, dword [edi + 0x7c]
cmp ecx, ebx
je 0x4470b3
mov edx, dword [esp + 0x824]
mov eax, dword [ecx]
push 0x1a
push edx
mov edx, dword [esp + 0x820]
and edx, 0xffff
push edx
push ebx
call dword [eax + 0x1c]
mov eax, dword [edi + 0xa4]
mov ebp, dword [0x45d1e4]
cmp eax, ebx
jne 0x446f43
mov eax, dword [0x469ad4]
cmp eax, ebx
je 0x446e44
cmp dword [0x469ad8], ebx
jne 0x447032
lea eax, [esp + 0x10]
push 0x400
push eax
push ebx
call dword [0x45d1e0]
lea ecx, [esp + 0x10]
push ecx
call dword [0x45d39c]
mov eax, dword [0x469adc]
xor esi, esi
cmp eax, ebx
jle 0x446e80
lea edx, [esp + 0x10]
push edx
call dword [0x45d39c]
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x446e6b
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x45d398]
push ebx
call ebp
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x446efb
lea edx, [esp + 0x10]
test edx, edx
je 0x446ee2
lea eax, [esp + 0x10]
push eax
call dword [0x45d394]
test eax, eax
je 0x446efb
lea ecx, [esp + 0x10]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x446efb
push 1
call fcn.00457220
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x446f06
call eax
cmp eax, ebx
je 0x446ded
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x446def
lea eax, [esp + 0x10]
push eax
call dword [0x45d1f4]
cmp eax, ebx
mov dword [0x469ad8], eax
je 0x446f3b
push str.GetMiniUI
push eax
call dword [0x45d1f8]
cmp eax, ebx
mov dword [0x469ad4], eax
jne 0x447032
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], ebx
xor eax, eax
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
cmp ecx, ebx
je 0x4470b3
mov edx, dword [esp + 0x824]
mov eax, dword [ecx]
push 0x1a
push edx
mov edx, dword [esp + 0x824]
and edx, 0xffff
push edx
push ebx
call dword [eax + 0x1c]
cmp dword [edi + 0xa0], ebx
jne 0x44708b
mov eax, dword [0x469ad4]
cmp eax, ebx
je 0x446f90
cmp dword [0x469ad8], ebx
jne 0x4470c0
lea eax, [esp + 0x10]
push 0x400
push eax
push ebx
call dword [0x45d1e0]
lea ecx, [esp + 0x10]
push ecx
call dword [0x45d39c]
mov eax, dword [0x469adc]
xor esi, esi
cmp eax, ebx
jle 0x446fcc
lea edx, [esp + 0x10]
push edx
call dword [0x45d39c]
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x446fb7
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x45d398]
push ebx
call ebp
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x447047
lea edx, [esp + 0x10]
test edx, edx
je 0x44702e
lea eax, [esp + 0x10]
push eax
call dword [0x45d394]
test eax, eax
je 0x447047
lea ecx, [esp + 0x10]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x447047
push 1
call fcn.00457220
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x447052
call eax
cmp eax, ebx
je 0x446f3b
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x446f3d
lea eax, [esp + 0x10]
push eax
call dword [0x45d1f4]
cmp eax, ebx
mov dword [0x469ad8], eax
je 0x447083
push str.GetMiniUI
push eax
call dword [0x45d1f8]
cmp eax, ebx
mov dword [0x469ad4], eax
jne 0x4470c0
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], ebx
xor eax, eax
mov dword [edi + 0xa0], eax
mov ecx, dword [edi + 0xa0]
cmp ecx, ebx
je 0x4470b3
mov edx, dword [esp + 0x824]
mov eax, dword [ecx]
push 0x24
push edx
mov edx, dword [esp + 0x828]
and edx, 0xffff
push edx
push ebx
call dword [eax + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x800
ret 0x14
call eax
cmp eax, ebx
je 0x447083
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x447085