Function at 0x406d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b956
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov edi, dword [esp + 0x284]
mov ebp, dword [esp + 0x28c]
push str.ADSafe3
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [edi + 0xc]
mov dword [esp + 0x28], eax
cmp esi, dword [edi + 0x10]
jbe 0x406df8
call fcn.00445055
mov ebx, dword [edi]
mov dword [esp + 0x18], esi
add esi, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x406e1d
call fcn.00445055
mov eax, dword [edi]
test ebx, ebx
je 0x406e27
cmp ebx, eax
je 0x406e2c
call fcn.00445055
cmp dword [esp + 0x18], esi
je 0x407154
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, dword [ebp + 0x10]
jbe 0x406e45
call fcn.00445055
mov ebp, dword [ebp]
jmp 0x406e50
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0xc], edi
jbe 0x406e65
call fcn.00445055
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test ebp, ebp
je 0x406e6f
cmp ebp, eax
je 0x406e74
call fcn.00445055
cmp esi, edi
je 0x406ef2
test ebp, ebp
jne 0x406ee4
call fcn.00445055
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x406e8d
call fcn.00445055
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x406ee9
call fcn.00445055
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x406eaa
call fcn.00445055
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x406eb6
mov eax, dword [eax]
mov edx, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x406ec7
lea ebx, [eax + 1]
test ebp, ebp
jne 0x406eed
call fcn.00445055
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x406edc
call fcn.00445055
add esi, 4
jmp 0x406e50
mov eax, dword [ebp]
jmp 0x406e83
mov eax, dword [eax]
jmp 0x406e9c
mov eax, dword [ebp]
jmp 0x406ed2
test ebx, ebx
jne 0x4070f6
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x407131
call fcn.00445055
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x406f1b
call fcn.00445055
mov ebx, dword [esp + 0x18]
push 7
push 0
push str.ADSafe3
mov ecx, ebx
call fcn.004019c0
mov edi, eax
cmp edi, 0xffffffff
je 0x4070f6
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x407138
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406f57
call fcn.00445055
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x10]
test ebp, ebp
jne 0x407140
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406f77
call fcn.00445055
mov eax, dword [esp + 0x28]
sub esi, edi
sub esi, eax
dec esi
push esi
lea eax, [edi + eax + 1]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.004041f0
push 0xb
push 0
push str.Install.xml
lea ecx, [esp + 0x58]
mov dword [esp + 0x288], 0
call fcn.004019c0
cmp eax, 0xffffffff
jne 0x4070d7
push 0x208
xor edi, edi
lea edx, [esp + 0x6c]
push edi
push edx
call fcn.004449b0
mov ecx, dword [esp + 0x5c]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x64], esi
jae 0x406fe0
lea ecx, [esp + 0x50]
mov eax, dword [0x474490]
cmp dword [0x4744a4], esi
jae 0x406ff2
mov eax, 0x474490
push ecx
push eax
lea eax, [esp + 0x70]
push 0x45f83c
push eax
call fcn.00401040
lea ecx, [esp + 0x78]
push ecx
call fcn.00417ff0
lea edx, [esp + 0x7c]
push edx
call fcn.00417f70
add esp, 0x18
test eax, eax
je 0x40702b
lea eax, [esp + 0x68]
push eax
call fcn.00418170
add esp, 4
cmp ebp, edi
jne 0x407148
call fcn.00445055
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407044
call fcn.00445055
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], esi
jb 0x40704f
mov eax, dword [eax]
push 1
lea ecx, [esp + 0x6c]
push ecx
push eax
call fcn.00418e30
add esp, 0xc
xor edx, edx
mov esi, 7
lea eax, [esp + 0x68]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407080
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
call fcn.00403400
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x280], 1
call fcn.00406a50
cmp dword [esp + 0x48], 8
jb 0x4070c8
mov edx, dword [esp + 0x34]
push edx
call fcn.0044475c
add esp, 4
xor eax, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
cmp dword [esp + 0x64], 8
mov dword [esp + 0x27c], 0xffffffff
jb 0x4070f6
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0044475c
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x407150
call fcn.00445055
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x407113
call fcn.00445055
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov eax, 0x1c
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
jmp 0x406e10
mov eax, dword [eax]
jmp 0x406f0d
mov eax, dword [ebp]
jmp 0x406f4d
mov eax, dword [ebp]
jmp 0x406f6d
mov eax, dword [ebp]
jmp 0x40703a
mov eax, dword [eax]
jmp 0x407105
mov eax, 1
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00444b03
add esp, 0x26c
ret