Function at 0x4b2bf0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
mov ebx, 1
cmp dword [esp + 0x424], ebx
push edi
mov edi, dword [esp + 0x424]
jge 0x4b2c23
mov dword [esp + 0x428], ebx
cmp dword [esp + 0x42c], ebx
jge 0x4b2c33
mov dword [esp + 0x42c], ebx
mov eax, edi
lea edx, [eax + 2]
jmp 0x4b2c40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b2c40
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x208
jl 0x4b2c73
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0053fa67
add esp, 0x414
ret
push ebp
push 0
push edi
mov dword [0x5ed818], ebx
call fcn.00403150
add esp, 8
test eax, eax
je 0x4b2ca1
push edi
lea eax, [esp + 0x14]
push 0x208
push eax
call fcn.0054013c
add esp, 0xc
jmp 0x4b2dc0
xor eax, eax
test esi, esi
jle 0x4b2cd2
mov edx, edi
lea ecx, [esp + 0x10]
sub edx, ecx
nop
lea ecx, [edx + eax*2]
movzx ecx, word [esp + ecx + 0x10]
mov edi, 0x2f
cmp di, cx
jne 0x4b2cc7
mov ecx, 0x5c
mov word [esp + eax*2 + 0x10], cx
add eax, ebx
cmp eax, esi
jl 0x4b2cb0
xor edx, edx
mov word [esp + eax*2 + 0x10], dx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b2dc0
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.00540fb2
add esp, 8
test eax, eax
je 0x4b2dc0
lea ebp, [eax + 2]
push 6
push ebp
push 0x572d84
call fcn.005406b0
add esp, 0xc
test eax, eax
jne 0x4b2dc0
mov ebx, dword [0x5b4bbc]
xor esi, esi
test ebx, ebx
jle 0x4b2dbb
mov edi, dword [0x5b4bb8]
add edi, 4
mov ecx, dword [edi]
mov eax, ebp
jmp 0x4b2d40
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b2d66
test dx, dx
je 0x4b2d62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b2d66
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b2d40
xor eax, eax
jmp 0x4b2d6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b2d79
inc esi
add edi, 0xc
cmp esi, ebx
jl 0x4b2d37
jmp 0x4b2dbb
mov eax, dword [0x5b4bb8]
lea edx, [esi + esi*2]
mov esi, dword [eax + edx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x20]
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00502b89
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0x20]
push 0
push edx
push 0x222
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x4b2df4
mov ebx, 1
mov ecx, dword [0x5ba2a8]
mov dword [ecx + 0xcc], ebx
mov ecx, dword [0x5ba2a8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x88]
lea eax, [esp + 0x10]
push eax
call edx
mov edi, eax
mov eax, dword [0x5ba2a8]
mov dword [eax + 0xcc], 0
jmp 0x4b2df9
mov ebx, 1
mov dword [0x5ed818], 0
test edi, edi
je 0x4b2e70
push 0x57e3a8
mov ecx, edi
call fcn.0050ae41
test eax, eax
je 0x4b2e70
mov ecx, dword [0x5ed04c]
push 0
call fcn.0050bf67
test eax, eax
je 0x4b2e70
mov ecx, eax
call fcn.0050d47b
mov esi, eax
test esi, esi
je 0x4b2e70
mov ecx, esi
call fcn.00506a28
mov edi, dword [esp + 0x42c]
test edi, edi
jle 0x4b2e6c
mov ebp, dword [esp + 0x430]
test ebp, ebp
jle 0x4b2e6c
push 0
sub edi, ebx
push edi
mov ecx, esi
call fcn.004963c0
push 0
push 0
dec ebp
push ebp
push edi
mov ecx, esi
call fcn.004948e0
mov eax, ebx
jmp 0x4b2e72
xor eax, eax
mov ecx, dword [esp + 0x420]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fa67
add esp, 0x414
ret