Function at 0x429010
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acd50
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4ef6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp + 8]
lea edi, [eax + 0x70]
cmp edi, ecx
je 0x429063
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x42905a
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, edi
call fcn.0040a8b0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42906d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429170
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x429271
push 0x5f
push 0x4c4970
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.0040a7c0
push 3
push 0x4c49d0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.0040a7c0
push 0x19
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406590
mov esi, eax
push 0x4c49d4
push esi
mov byte [ebp - 4], 2
call fcn.004056a0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x429129
mov edi, dword [edi]
test edi, edi
mov eax, 0x4b6b50
cmovne eax, edi
push eax
push esi
call fcn.004056a0
add esp, 8
call fcn.0043a380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x230]
call fcn.00407560
lea ecx, [ebp - 0xa4]
call fcn.00406e50
lea ecx, [ebp - 0x8c]
call fcn.00406e50
jmp 0x429271
mov dword [ebp - 4], 3
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x42997e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x100], eax
cmp dword [edi + 0x14], 8
mov esi, edi
mov dword [ebp - 4], 4
jb 0x4291a7
mov esi, dword [edi]
call fcn.004080e0
mov ecx, eax
test ecx, ecx
je 0x429988
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf4], eax
push esi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 5
call fcn.00407d90
test al, al
jne 0x429203
test esi, esi
jne 0x4291e2
xor ecx, ecx
jmp 0x4291f6
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4291e7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xf4]
call fcn.00409020
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00428ba0
mov edx, dword [ebp - 0xf4]
add esp, 8
test eax, eax
mov byte [ebp - 4], 4
sete byte [ebp - 0xf5]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42924d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
cmp byte [ebp - 0xf5], 0
je 0x4292b6
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x429271
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xf0]
mov eax, dword [edi + 4]
test eax, eax
je 0x42928c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
xor al, al
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
jmp 0x429961
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0x8c]
push 0xfde9
push esi
push eax
call fcn.0043e820
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0xf0]
add eax, 0x88
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf4], eax
cmp eax, edx
je 0x42935f
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x42932d
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x429317
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429992
mov eax, edx
push ecx
push eax
call fcn.0043cf22
mov eax, dword [ebp - 0xf4]
add esp, 8
mov edx, dword [ebp - 0xfc]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x429396
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42938c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429992
push edx
push ecx
call fcn.0043cf22
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4293a0
mov eax, dword [edi]
push eax
call fcn.00441190
add esp, 4
test eax, eax
jne 0x42949f
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x429481
push 0x5f
push 0x4c49f8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], al
call fcn.0040a7c0
push 3
push 0x4c4a58
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0040a7c0
push 0x25
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406590
mov edi, eax
push 0x4c4a5c
push edi
mov byte [ebp - 4], 9
call fcn.004056a0
add esp, 8
call fcn.0043a380
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x230]
call fcn.00407560
lea ecx, [ebp - 0x8c]
call fcn.00406e50
lea ecx, [ebp - 0xa4]
call fcn.00406e50
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429271
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
jmp 0x42926e
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4294a9
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
test ecx, ecx
jne 0x42956b
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x429481
push 0x5f
push 0x4c4a80
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], al
call fcn.0040a7c0
push 3
push 0x4c4ae0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0040a7c0
push 0x2c
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406590
mov edi, eax
push 0x4c4ae4
push edi
mov byte [ebp - 4], 0xc
call fcn.004056a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.004072c0
jmp 0x429453
mov eax, dword [ebp - 0xf0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateApp
push ecx
mov dword [eax + 4], ecx
call edi
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf0]
push str.BasicEntry
push dword [eax + 4]
call edi
mov ecx, dword [ebp - 0xf0]
push str.CheckInst
push dword [ecx + 4]
mov dword [ecx + 0xc], eax
call edi
mov ecx, dword [ebp - 0xf0]
push str.GetSoftId
push dword [ecx + 4]
mov dword [ecx + 0x14], eax
call edi
mov ecx, dword [ebp - 0xf0]
push str.Uninst
push dword [ecx + 4]
mov dword [ecx + 0x18], eax
call edi
mov ecx, dword [ebp - 0xf0]
push str.GetIsEmbed
push dword [ecx + 4]
mov dword [ecx + 0x10], eax
call edi
mov edi, dword [ebp - 0xf0]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4295fc
call eax
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
jne 0x429947
cmp dword [edi + 0xc], 0
je 0x429622
cmp dword [edi + 0x10], 0
je 0x429622
cmp dword [edi + 0x14], 0
je 0x429622
cmp dword [edi + 0x18], 0
jne 0x429947
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x429926
push 0x5f
push 0x4c4b58
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], al
call fcn.0040a7c0
push 3
push 0x4c4b54
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call fcn.0040a7c0
push 1
push 2
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xe
call fcn.00406150
push 0xffffffffffffffff
push 0x4b6b60
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xf
call fcn.0040ba20
push 0xffffffffffffffff
push 0x4b6b64
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xf4], eax
call fcn.0040ba20
push 0x64
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0046b3e0
mov ecx, dword [ebp - 0xfc]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x4297f8
mov edx, dword [ebp - 0xf4]
lea eax, [ecx - 1]
cmp edx, eax
jae 0x4297f8
lea eax, [edx + 1]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp eax, dword [ebp - 0xf4]
jb 0x429997
sub eax, dword [ebp - 0xf4]
sub ecx, edx
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xd8], 0x10
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
add eax, dword [ebp - 0xf4]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040a7c0
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
push 0x49
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405bf0
mov edx, dword [ebp - 0xa8]
add esp, 0x10
cmp edx, 0x10
jb 0x4297db
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4297d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42999c
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
jmp 0x42980b
push 0x49
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405bf0
add esp, 0xc
cmp dword [ebp - 0xc0], 0x10
lea eax, [ebp - 0xd4]
cmovae eax, dword [ebp - 0xd4]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00407430
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00407430
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x10
push str.File_export_func_error:
push eax
call fcn.00407430
lea ecx, [edi + 0x70]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x42985f
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4b6b50
cmovne eax, ecx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004056a0
add esp, 8
call fcn.0043a380
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x198]
call fcn.00407560
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x4298d1
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4298c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4299a1
push edx
push ecx
call fcn.0043cf22
add esp, 8
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp edx, 0x10
jb 0x429926
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42991c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4299a6
push edx
push ecx
call fcn.0043cf22
add esp, 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429277
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x429277
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42995f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d1d8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00407b40
push 0x80004005
call fcn.00407b40
call fcn.0046e938
call fcn.0040a270
call fcn.0046e938
call fcn.0046e938
call fcn.0046e938
int3