Function at 0x4bc1f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5abc02
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3c], 1
mov eax, dword [ebp + 0x120]
push eax
push eax
call fcn.004ae8a0
mov edi, dword [ebp + 0x120]
add esp, 8
lea eax, [esp + 0x28]
push eax
call fcn.004d0e10
lea edi, [ebp + 0x124]
push str.File
mov esi, edi
lea eax, [esp + 0x2c]
mov byte [esp + 0x40], 2
call fcn.004d1390
push str.Identity
lea esi, [esp + 0x24]
lea eax, [esp + 0x2c]
call fcn.004d1390
push str.Modify.Identity
lea esi, [esp + 0x20]
lea eax, [esp + 0x2c]
call fcn.004d1390
push edi
mov ecx, str.udict1
call fcn.00448630
add esp, 4
test al, al
push str.udict0
mov ebx, 6
je 0x4bc2db
mov eax, edi
call fcn.00404050
push str.udict1
lea eax, [ebp + 0x148]
call fcn.00404050
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 3
lea eax, [esp + 0x48]
xor esi, esi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call edx
lea edi, [ebp + 0x138]
mov byte [esp + 0x3c], 3
call fcn.004035d0
mov byte [esp + 0x3c], 2
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 0x4bc336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
cmp eax, esi
jle 0x4bc35b
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x4bc387
cmp ecx, eax
jg 0x4bc387
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4bc35b
push 0x5c
call fcn.00404400
push 9
push str.udict.img
push edi
call fcn.00403fc0
mov eax, dword [edi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4bc391
push 0x5bcc3c
xor ebx, ebx
mov eax, edi
call fcn.00404050
jmp 0x4bc3d1
push 0x80070057
call fcn.00404550
mov edi, dword [edi]
lea ecx, [esp + 0x44]
push edi
push ecx
call fcn.004bb1e0
lea edx, [esp + 0x28]
push edx
call fcn.00490940
mov bl, al
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc3cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4bc3d9
mov dword [esp + 0x18], 1
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 3
lea eax, [esp + 0x48]
push eax
call edx
lea edi, [ebp + 0x13c]
mov byte [esp + 0x3c], 4
call fcn.004035d0
mov byte [esp + 0x3c], 2
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 0x4bc41f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4bc44c
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4bc387
cmp ecx, eax
jg 0x4bc387
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4bc44c
push 0x5c
call fcn.00404400
push 0xd
push str.udict.mod.img
push edi
call fcn.00403fc0
mov eax, dword [edi]
push eax
call esi
test eax, eax
jne 0x4bc472
push 0x5bcc3c
xor ebx, ebx
mov eax, edi
call fcn.00404050
jmp 0x4bc4b2
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004bb1e0
lea edx, [esp + 0x24]
push edx
call fcn.00490940
mov bl, al
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc4ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4bc4ba
mov dword [esp + 0x14], 1
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x14], 0
mov byte [esp + 0x3c], 5
je 0x4bc520
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push eax
push str.qpy__u_udict.mod
lea edi, [esp + 0x4c]
call fcn.004126f0
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 8
push esi
push ebp
call eax
lea eax, [ebp + 0x14c]
push str.udict.mod
mov ebx, 9
call fcn.00404050
jmp 0x4bc52f
lea ecx, [ebp + 0x134]
mov eax, edi
mov edi, ecx
call fcn.004035d0
cmp dword [esp + 0x18], 0
je 0x4bc58a
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push eax
push str.qpy__u_
lea edi, [esp + 0x4c]
call fcn.004126f0
mov eax, dword [ebp + 0x124]
mov ecx, dword [eax - 0xc]
lea ebx, [ebp + 0x124]
add esp, 8
push ecx
push eax
mov ecx, edi
push ecx
call fcn.00403fc0
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push esi
push ebp
call eax
lea edi, [ebp + 0x14c]
mov eax, ebx
call fcn.004035d0
jmp 0x4bc5ac
lea edi, [ebp + 0x130]
lea eax, [ebp + 0x138]
call fcn.004035d0
cmp dword [esp + 0x14], 0
jne 0x4bc5ac
mov dword [ebp + 0x154], 0x4bc640
add esi, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc5cd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 1
call fcn.004d0e80
mov byte [esp + 0x3c], 0
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 0x4bc601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4