Function at 0x469410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x562380
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0050830c
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x469455
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x5ba2ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
call fcn.00405fa0
lea ecx, [esp + 0x14]
push ecx
call fcn.00414170
add esp, 4
push 0xb
push 0x57c42c
lea ecx, [esp + 0x1c]
call fcn.00401fe0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4695e2
mov ebp, vtable.CArray_struct_tagACCEL__struct_tagACCEL__.0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x3c], 1
call fcn.004ea5e0
add esp, 8
test eax, eax
je 0x4695c9
mov eax, dword [esi + 0x1740]
mov edx, dword [esp + 0x20]
push eax
mov dword [esi + 0x1744], edx
call fcn.004ff267
mov eax, dword [esi + 0x1744]
xor ecx, ecx
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
add esp, 8
xor edi, edi
cmp dword [esi + 0x1744], ebx
mov dword [esi + 0x1740], eax
jle 0x469565
xor ecx, ecx
cmp ecx, ebx
jl 0x4695c4
cmp edi, dword [esp + 0x20]
jge 0x4695c4
mov eax, dword [esp + 0x1c]
mov ebp, dword [ecx + eax]
lea edx, [ecx + eax]
mov eax, dword [esi + 0x1740]
add eax, ecx
mov dword [eax], ebp
mov dx, word [edx + 4]
inc edi
mov word [eax + 4], dx
add ecx, 6
cmp edi, dword [esi + 0x1744]
jl 0x469526
mov ebp, vtable.CArray_struct_tagACCEL__struct_tagACCEL__.0
mov eax, dword [esi + 0x1744]
mov ecx, dword [esi + 0x1740]
push eax
push ecx
call fcn.004e97f0
mov edx, dword [esi + 0x60]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x1744]
mov ecx, dword [esi + 0x1740]
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x169c], 1
mov dword [esp + 0x18], ebp
cmp eax, ebx
je 0x46964b
push eax
call fcn.004ff267
add esp, 4
jmp 0x46964b
call fcn.005078a4
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x34], bl
mov dword [esp + 0x18], ebp
cmp eax, ebx
je 0x4695e2
push eax
call fcn.004ff267
add esp, 4
mov ecx, dword [esi + 0x60]
mov edi, dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
push ebx
push ebx
push ecx
call edi
mov dword [esi + 0x1744], eax
mov eax, dword [esi + 0x1740]
push eax
call fcn.004ff267
mov eax, dword [esi + 0x1744]
xor ecx, ecx
mov edx, 6
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov ecx, dword [esi + 0x1744]
mov edx, dword [esi + 0x60]
add esp, 8
push ecx
push eax
push edx
mov dword [esi + 0x1740], eax
call edi
mov eax, dword [esi + 0x1744]
mov ecx, dword [esi + 0x1740]
push eax
push ecx
call fcn.004e97f0
add esp, 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov dword [esp + 0x34], ecx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46966f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret