Function at 0x41a100
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44acb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], 0
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x38], 1
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41a18b
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.00403830
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
push edi
push 0
call esi
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00431b55
add esp, 8
test eax, eax
jl 0x41a3e6
cmp eax, dword [edi - 8]
jg 0x41a3e6
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x41a1e8
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00403830
mov ebx, dword [esp + 0x18]
push 0x104
push ebx
push 0
call esi
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00431b55
add esp, 8
test eax, eax
jl 0x41a3e6
cmp eax, dword [ebx - 8]
jg 0x41a3e6
mov dword [ebx - 0xc], eax
xor edx, edx
mov word [ebx + eax*2], dx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41a23f
mov ecx, 0x104
lea eax, [esp + 0x14]
call fcn.00403830
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...onekeyinstall.dat
push edi
call esi
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x41a273
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00403830
mov ebx, dword [esp + 0x18]
push str..._softup.dat
push ebx
call esi
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00431b55
add esp, 8
test eax, eax
jl 0x41a3e6
cmp eax, dword [edi - 8]
jg 0x41a3e6
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00431b55
add esp, 8
test eax, eax
jl 0x41a3e6
cmp eax, dword [ebx - 8]
jg 0x41a3e6
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
cmp dword [edi - 4], 1
jle 0x41a2e1
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403780
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x41a360
cmp dword [ebx - 4], 1
jle 0x41a306
mov edx, dword [ebx - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00403780
mov ebx, dword [esp + 0x18]
push ebx
call esi
test eax, eax
je 0x41a360
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x324], 1
push 0x4516b4
add esi, 0x24c
push esi
call fcn.00403c10
lea esi, [esp + 0x1c]
call fcn.00410cb0
mov byte [esp + 0x38], 2
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.00411b90
jmp 0x41a38c
mov esi, dword [ebp + 8]
cmp dword [esi + 0x324], 0
je 0x41a38c
mov ecx, dword [esi + 4]
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x451618
add esi, 0x24c
push esi
call fcn.00403c10
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004070e0
int3