Function at 0x4230c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e39a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x4c8380
add eax, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040a4b0
xor edi, edi
push 0x19
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00417d60
add esp, 0x10
mov byte [ebp - 4], 1
test byte [0x4c84fc], 1
jne 0x42313c
or dword [0x4c84fc], 1
mov byte [ebp - 4], 2
call fcn.00424540
push 0x496b90
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 1
push 0x4c8500
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a4b0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42317e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x14], edi
call fcn.004035a0
mov eax, 0x4c81cc
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004046a0
test byte [0x4c8650], 1
jne 0x4231c5
or dword [0x4c8650], 1
mov byte [ebp - 4], 4
call fcn.004169f0
push 0x496940
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 3
cmp byte [0x4c8549], 0
jne 0x4231d6
test esi, esi
je 0x423265
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x49f470
call fcn.00404d20
mov byte [ebp - 4], 5
test byte [0x4c84fc], 1
jne 0x423212
or dword [0x4c84fc], 1
mov byte [ebp - 4], 6
call fcn.00424540
push 0x496b90
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
push 0x4c8504
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00424240
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x14], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42324f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4c81c4
test esi, esi
jne 0x42325d
mov eax, 0x4c81c8
lea edi, [ebp - 0x2c]
call fcn.004046a0
test byte [0x4c8540], 1
jne 0x423282
or dword [0x4c8540], 1
push 0x4955b0
call fcn.004683c5
add esp, 4
push 0
mov ecx, 5
call fcn.004087f0
mov esi, eax
test esi, esi
je 0x4232c5
cmp dword [ebp - 0x1c], 0
mov eax, 0x4c8288
jne 0x4232a4
mov eax, 0x4c8284
lea edi, [ebp - 0x30]
call fcn.004046a0
lea ecx, [ebp - 0x34]
call fcn.0040a220
mov ecx, esi
call fcn.00409c10
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [ebp - 0x34]
call fcn.00403810
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4232f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423316
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4