Function at 0x4042a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4151b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x30
call fcn.00403710
test eax, eax
jne 0x4042eb
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push ebx
push ebp
push edi
lea ebp, [esi + 0x94]
push 0x80
push ebp
lea ecx, [esp + 0x18]
push str.appname
push ecx
mov ecx, esi
call fcn.00403a00
lea edi, [esi + 0x114]
push 0x80
push edi
lea edx, [esp + 0x18]
push str.appkey
push edx
mov ecx, esi
call fcn.00403a00
lea eax, [esi + 0x194]
push 0x104
push eax
lea ecx, [esp + 0x18]
push str.appexe
push ecx
mov ecx, esi
call fcn.00403a00
lea eax, [esi + 0xa34]
push 0x104
push eax
lea edx, [esp + 0x18]
push 0x4182f4
push edx
mov ecx, esi
call fcn.00403a00
lea eax, [esi + 0xab4]
push 0x104
push eax
lea eax, [esp + 0x18]
push str.depname
push eax
mov ecx, esi
call fcn.00403a00
lea ecx, [esi + 0x298]
push 0x104
push ecx
lea edx, [esp + 0x18]
push 0x4182e8
push edx
mov ecx, esi
call fcn.00403a00
lea eax, [esi + 0x318]
push 0x104
push eax
lea ecx, [esp + 0x18]
push str.puburl
push ecx
mov ecx, esi
call fcn.00403a00
lea edx, [esi + 0x41c]
push 0x104
push edx
lea eax, [esp + 0x18]
push str.supurl
push eax
mov ecx, esi
call fcn.00403a00
lea ecx, [esi + 0x520]
push 0x104
push ecx
lea edx, [esp + 0x18]
push str.updurl
push edx
mov ecx, esi
call fcn.00403a00
lea eax, [esi + 0x624]
push 0x104
push eax
lea ecx, [esp + 0x18]
push str.defappdir
push ecx
mov ecx, esi
call fcn.00403a00
lea ebx, [esi + 0x728]
push 0x104
push ebx
lea edx, [esp + 0x18]
push str.deffolder
push edx
mov ecx, esi
call fcn.00403a00
push 0
lea eax, [esp + 0x14]
push 0x4182b4
push eax
mov ecx, esi
call fcn.00403a90
mov dword [esi + 0x90], eax
mov al, byte [edi]
test al, al
jne 0x404458
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
jmp 0x40445e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebx], 0
jne 0x404467
push ebp
push ebx
call edi
mov al, byte [esi + 0xa34]
lea ecx, [esi + 0xa34]
test al, al
je 0x40448b
mov dl, byte [esi + 0xab4]
lea eax, [esi + 0xab4]
test dl, dl
jne 0x40448b
push ecx
push eax
call edi
push 0x104
xor ebp, ebp
xor edi, edi
call fcn.0040d4a1
lea ecx, [esp + 0x1c]
push 0xa
push ecx
push ebp
mov dword [esp + 0x50], eax
call fcn.0040df9d
mov edx, dword [esp + 0x50]
add esp, 0x10
lea eax, [esp + 0x18]
mov ecx, esi
push 0x104
push edx
push eax
push str.chkrun
call fcn.00403a00
mov eax, dword [esp + 0x40]
mov ebx, 1
cmp byte [eax], 0
je 0x404532
lea ebp, [esi + 0x80]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
push ebx
push eax
mov ecx, ebp
call fcn.00405e10
push 0x104
inc edi
call fcn.0040d4a1
lea edx, [esp + 0x1c]
push 0xa
push edx
push edi
mov dword [esp + 0x50], eax
call fcn.0040df9d
mov eax, dword [esp + 0x50]
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x104
push eax
push ecx
push str.chkrun
mov ecx, esi
call fcn.00403a00
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
jne 0x4044dc
xor ebp, ebp
push eax
call fcn.0040d438
add esp, 4
lea edx, [esi + 0x60]
lea eax, [esp + 0x10]
mov ecx, esi
push edx
push str.viscomp
push eax
call fcn.00404740
test eax, eax
je 0x404719
lea ecx, [esi + 0x70]
lea edx, [esp + 0x10]
push ecx
push str.sequence
push edx
mov ecx, esi
call fcn.00404740
test eax, eax
je 0x404719
push 0x104
xor edi, edi
call fcn.0040d4a1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
push 0xa
push eax
push ebp
call fcn.0040df9d
mov ecx, dword [esp + 0x50]
add esp, 0x10
lea edx, [esp + 0x18]
push 0x104
push ecx
push edx
push str.dirs
mov ecx, esi
call fcn.00403a00
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
je 0x404612
lea ebp, [esi + 0x50]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x40]
push ecx
push ebx
push eax
mov ecx, ebp
call fcn.00405e10
push 0x104
inc edi
call fcn.0040d4a1
lea edx, [esp + 0x1c]
push 0xa
push edx
push edi
mov dword [esp + 0x50], eax
call fcn.0040df9d
mov eax, dword [esp + 0x50]
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x104
push eax
push ecx
push str.dirs
mov ecx, esi
call fcn.00403a00
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
jne 0x4045bc
xor ebp, ebp
push eax
call fcn.0040d438
mov edi, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
add esp, 4
cmp edi, eax
jae 0x404653
mov edx, dword [edi]
mov ecx, esi
push edx
call fcn.004049f0
mov ebp, eax
test ebp, ebp
je 0x404647
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.00405640
push ebp
mov ecx, esi
call fcn.004057c0
mov eax, dword [esi + 0x68]
add edi, 4
cmp edi, eax
jb 0x404625
xor ebp, ebp
push 5
mov ecx, esi
call fcn.004049f0
test eax, eax
je 0x40466c
mov dword [esi + 0xc38], ebx
mov dword [esi + 0xc3c], ebx
mov ecx, dword [0x41b374]
test byte [ecx + 0x90], 0x40
je 0x40468b
push 6
mov ecx, esi
call fcn.00404d80
cmp eax, ebp
je 0x40468b
mov dword [eax + 0x20], ebx
mov dl, byte [esp + 0x40]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push 0x41828c
push ecx
mov ecx, esi
mov dword [esp + 0x44], ebp
call fcn.00404740
test eax, eax
jne 0x4046cc
mov edx, dword [esp + 0x24]
push edx
call fcn.0040cfc2
add esp, 4
jmp 0x404719
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp edi, eax
jae 0x4046f1
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.00405270
mov eax, dword [esp + 0x28]
add edi, 4
cmp edi, eax
jb 0x4046d8
mov edi, dword [esp + 0x24]
push edi
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040cfc2
add esp, 4
mov ecx, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.004058a0
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4