Function at 0x424af0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x459b36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0xdc
mov dword [esp + 0x240], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x23c], 1
je 0x424b52
mov ecx, eax
call fcn.00403010
mov edx, eax
jmp 0x424b54
xor edx, edx
mov ax, word [0x468b0c]
mov ecx, 0x81
mov word [esp + 0x2c], ax
xor eax, eax
lea edi, [esp + 0x2e]
cmp edx, ebp
rep stosd dword es:[edi], eax
mov byte [esp + 0x23c], 0
mov dword [esp + 0x10], edx
stosw word es:[edi], ax
jne 0x424bc4
mov eax, dword [esp + 0x26c]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x424bb3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x424bb3
mov edx, dword [esp + 0x26c]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
lea ecx, [esp + 0x268]
call fcn.00401c80
jmp 0x424dd0
push 1
mov ecx, edx
call fcn.00404780
mov ecx, dword [esp + 0x10]
push 5
call fcn.00405ea0
mov ecx, dword [esp + 0x10]
push ebp
call fcn.004056d0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00405de0
mov edx, dword [esp + 0x25c]
lea ecx, [esp + 0x2c]
push 0x104
push ecx
push edx
push ebp
call fcn.004083e0
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424c2d
lea ecx, [esp + 0x2c]
push 2
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00406130
test eax, eax
jne 0x424c42
mov ecx, dword [esp + 0x10]
push 0x463258
push 2
push 0xd8
call fcn.00405ed0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
call fcn.004060e0
mov esi, dword [esp + 0x248]
mov ecx, eax
mov edx, dword [esp + 0x244]
push 1
mov eax, dword [ecx]
add eax, edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], edx
add ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.00403910
mov eax, dword [esp + 0x260]
push ecx
mov dword [esp + 0x18], esp
mov esi, esp
cmp dword [eax - 0xc], ebp
jl 0x424cac
mov dword [esi], eax
mov edx, dword [esp + 0x264]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x424d03
mov eax, dword [0x4631a0]
mov dword [esi], eax
mov eax, dword [esp + 0x264]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x424cc6
xor edi, edi
jmp 0x424ccf
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.00401cb0
test eax, eax
je 0x424d03
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
lea ebp, [edi + edi]
lea edx, [edi + edi + 2]
push ebp
push ecx
push edx
push eax
call fcn.00401bc0
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [edx + ebp], 0
xor ebp, ebp
mov ecx, dword [esp + 0x14]
call fcn.00405cb0
mov ecx, dword [0x4632a0]
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 4]
cmp ecx, ebp
mov edi, eax
jne 0x424d25
mov dword [0x4632a0], ebp
add eax, 0x1c
push eax
push 0x463270
push 0x4689e8
call fcn.004052d0
push ebp
push eax
push ebp
push ebp
push 0x50000000
lea eax, [esp + 0x30]
push ebp
push eax
push esi
mov ecx, edi
call fcn.00432550
mov eax, dword [ebx + 0x124]
lea ecx, [ebx + 0x11c]
lea edx, [esp + 0x10]
push edx
push 1
push eax
call fcn.00430cc0
mov eax, dword [esp + 0x26c]
mov edx, dword [0x4631a4]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x424d9f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x424d9f
mov edx, dword [esp + 0x26c]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
mov eax, dword [esp + 0x268]
mov edx, dword [0x4631a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x424dd0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x424dd0
mov edx, dword [esp + 0x268]
add edx, 0xfffffff4
push edx
call fcn.0044bf22
add esp, 4
lea ecx, [esp + 0x264]
call fcn.00401c80
lea ecx, [esp + 0x260]
call fcn.00401c80
lea ecx, [esp + 0x25c]
call fcn.00401c80
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x230
ret 0x2c