Function at 0x4680c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5148a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x68], 0
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x68], 1
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x68], 2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x68], 3
push str.rootFolder
mov byte [esp + 0x30], 0
call fcn.00439d60
cmp eax, 0x57b240
je 0x4681c9
mov ecx, dword [ebp + 8]
push str.rootFolder
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x4681c9
mov ecx, dword [ebp + 8]
push str.rootFolder
call fcn.00439d60
mov esi, eax
jmp loc.005d0588
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439d60
cmp eax, 0x57b240
je 0x468236
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x468236
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439d60
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x46821c
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [ebx]
lea ecx, [esp + 0x20]
call fcn.00420650
lea edx, [esp + 0x1c]
mov ecx, edx
call fcn.0042c120
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439d60
cmp eax, 0x57b240
je 0x468275
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439d60
cmp byte [eax + 8], 5
jne 0x468275
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439d60
mov ecx, eax
call fcn.00439820
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 0
je 0x468922
mov dword [esp + 0x38], vtable.CFoldersDialog.0
mov byte [esp + 0x68], 4
push dword [esp + 0x2c]
add ebx, 0xfffffff0
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x3c], esp
mov eax, dword [ecx]
mov dword [esp + 0x20], esp
mov dword [esp + 0x30], ebx
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x4682c5
cmp ecx, dword [ebx]
jne 0x4682c5
mov eax, 1
lock xadd dword [edx], eax
jmp 0x46830a
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x34], edx
test edx, edx
jne 0x4682dd
call fcn.004208f0
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004ea3ef
mov ebx, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x20]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov byte [esp + 0x70], 5
lea ebx, [esi - 0x10]
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x24], esp
mov eax, dword [ecx]
mov dword [esp + 0x38], ebx
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x468347
cmp ecx, dword [ebx]
jne 0x468347
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x468384
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x46835b
call fcn.004208f0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004ea3ef
add esp, 0x10
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x14]
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x7c], 4
call fcn.0044ebd0
mov byte [esp + 0x68], 6
mov edx, dword [eax]
lea ebx, [edi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x468400
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4683ef
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4683ef
call fcn.00420750
or esi, 0xffffffff
mov dword [esp + 0x18], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4683e6
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
jmp 0x468403
push dword [edx - 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.00420c80
mov edi, dword [esp + 0x10]
or esi, 0xffffffff
mov byte [esp + 0x68], 4
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468425
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
je 0x4687a4
push 0x552220
push 0x54d17c
lea ecx, [esp + 0x18]
call fcn.00421ef0
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.selectFolder
mov byte [esp + 0x68], 7
test eax, 0xffff0000
jne 0x468482
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x468492
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x468492
push 0xc
push str.selectFolder
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x68], 8
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 9
call fcn.00421890
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0xa
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4684e7
push 0
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x68], 9
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468509
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x68], 8
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468527
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 4
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468549
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x68], 0xb
call fcn.004ed51d
mov edi, dword [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x2c]
push str._s_temp__d.txt
push eax
call fcn.00421610
add esp, 0x10
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
push 0
push 1
sub esp, 0xc
mov byte [esp + 0x7c], 0xc
mov ebx, dword [esp + 0x38]
push 4
push 0xc0000000
push ebx
lea ecx, [esp + 0x5c]
call fcn.0042cc90
test eax, eax
je 0x468643
push eax
lea eax, [esp + 0x18]
push str.selectFolder_openFile__d
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.0042cc40
add ebx, 0xfffffff0
mov byte [esp + 0x68], 4
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468616
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 2
mov edx, dword [esp + 0x28]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468635
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 1
mov edx, dword [esp + 0x2c]
jmp 0x468953
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, 0x552288
mov byte [esp + 0x68], 0xd
test eax, 0xffff0000
jne 0x468689
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x46869d
mov edx, 0x552288
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x468699
push 3
push 0x552288
lea ecx, [esp + 0x20]
call fcn.00420c80
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0xe
call fcn.0042d130
test al, al
jne 0x4686f0
lea eax, [esp + 0x14]
push str.selectFolder_WriteFile
push eax
call fcn.00421610
lea edx, [esi - 0x10]
or esi, 0xffffffff
add esp, 8
mov byte [esp + 0x68], 0xc
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4685ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4685ef
add esi, 0xfffffff0
mov byte [esp + 0x68], 0xc
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46870f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov eax, dword [esp + 0x44]
test eax, eax
je 0x468723
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x468735
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x468741
push eax
call esi
push ecx
add ebx, 0xfffffff0
mov ecx, ebx
mov esi, esp
call fcn.00420750
add eax, 0x10
lea ecx, [esp + 0x18]
mov dword [esi], eax
call fcn.00425b70
add esp, 4
test al, al
jne 0x46877d
lea eax, [esp + 0x14]
push str.selectFolder_DeleteFile
push eax
call fcn.00421610
add esp, 8
or esi, 0xffffffff
jmp 0x4685fb
or esi, 0xffffffff
mov byte [esp + 0x68], 4
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468925
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x468925
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, str.Folder_not_selected
mov byte [esp + 0x68], 0xf
test eax, 0xffff0000
jne 0x4687e4
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x4687f2
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00420bb0
jmp 0x4687f2
push str.Folder_not_selected
lea ecx, [esp + 0x2c]
call fcn.00420650
mov byte [esp + 0x68], 0x10
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.selectFolder
mov byte [esp + 0x68], 0x11
test eax, 0xffff0000
jne 0x468837
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x468847
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x468847
push 0xc
push str.selectFolder
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x68], 0x12
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x13
call fcn.00421890
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x14
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x46889c
push 0
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0x13
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4688be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x68], 0x12
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4688dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x10
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4688fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 4
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468925
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x468925
or esi, 0xffffffff
mov byte [esp + 0x68], 2
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468947
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4689fa
mov eax, 8
mov word [ebx], ax
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x68], 0x15
mov eax, dword [esp + 0x14]
push eax
cmp dword [eax - 0xc], 0
mov edx, str.false
mov ecx, str.true
cmovne ecx, edx
push ecx
push edi
lea eax, [esp + 0x38]
push str.__path__:___s_____result__:__s____error__:___s__
push eax
call fcn.00421610
mov esi, dword [esp + 0x40]
add esp, 0x14
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4689d6
call fcn.004208f0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov dword [ebx + 8], eax
mov byte [esp + 0x68], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4689fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468a1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x468a3b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8