Function at 0x45e650
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511e38
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], 0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x70], 1
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 2
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x34], esi
mov byte [esp + 0x70], 3
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x30], ebx
mov ecx, dword [ebp + 8]
push str.rootFolder
mov byte [esp + 0x74], 4
mov byte [esp + 0x30], 0
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45e78c
mov ecx, dword [ebp + 8]
push str.rootFolder
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x45e78c
mov ecx, dword [ebp + 8]
push str.rootFolder
call fcn.00439e70
mov esi, eax
cmp byte [esi + 8], 4
je 0x45e758
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45e762
xor ecx, ecx
jmp 0x45e770
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e767
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0042c870
lea edx, [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.0042bf30
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45e815
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x45e815
mov ecx, dword [ebp + 8]
push str.title
call fcn.00439e70
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x45e7df
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x45e7e9
xor ecx, ecx
jmp 0x45e7f9
mov ecx, edx
lea ebx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e7f0
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0042c870
lea edx, [esp + 0x30]
lea ecx, [esp + 0x20]
call fcn.0042bf30
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45e854
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439e70
cmp byte [eax + 8], 5
jne 0x45e854
mov ecx, dword [ebp + 8]
push str.editBox
call fcn.00439e70
mov ecx, eax
call fcn.00439930
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 0
je 0x45ef08
mov dword [esp + 0x40], vtable.CFoldersDialog.0
push dword [esp + 0x2c]
mov byte [esp + 0x74], 5
push ecx
mov ecx, dword [ebx - 0x10]
add ebx, 0xfffffff0
mov eax, dword [ecx]
mov dword [esp + 0x44], esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x30], ebx
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x45e8a5
cmp ecx, dword [ebx]
jne 0x45e8a5
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45e8ea
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 0x45e8bd
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.004e82bf
mov ebx, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x24]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov byte [esp + 0x78], 6
lea ebx, [esi - 0x10]
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x28], 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 0x45e927
cmp ecx, dword [ebx]
jne 0x45e927
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45e964
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x45e93b
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.004e82bf
add esp, 0x10
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x14]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x84], 5
call fcn.00444a70
mov byte [esp + 0x70], 7
mov edx, dword [eax]
lea ebx, [edi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x45e9e3
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x45e9d2
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x45e9d2
call fcn.00420750
or esi, 0xffffffff
mov dword [esp + 0x1c], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45e9c9
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
jmp 0x45e9e6
push dword [edx - 0xc]
lea ecx, [esp + 0x18]
push edx
call fcn.00420c80
mov edi, dword [esp + 0x14]
or esi, 0xffffffff
mov byte [esp + 0x70], 5
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
je 0x45ed8a
push 0x54f2b8
push 0x54b14c
lea ecx, [esp + 0x1c]
call fcn.00421c00
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.selectFolder
mov byte [esp + 0x70], 8
test eax, 0xffff0000
jne 0x45ea65
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x45ea75
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x45ea75
push 0xc
push str.selectFolder
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x70], 9
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0xa
call fcn.004215a0
add esp, 4
mov ecx, eax
mov byte [esp + 0x70], 0xb
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x45eaca
push 0
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 8
push eax
call fcn.004216b0
mov byte [esp + 0x70], 0xa
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45eaec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x70], 9
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45eb0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 5
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 0x45eb2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x70], 0xc
call fcn.004eb3ed
mov edi, dword [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x2c]
push str._s_temp__d.txt
push eax
call fcn.00421320
add esp, 0x10
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push 0
push 1
sub esp, 0xc
mov byte [esp + 0x84], 0xd
mov ebx, dword [esp + 0x38]
push 4
push 0xc0000000
push ebx
lea ecx, [esp + 0x64]
call fcn.0042ca50
test eax, eax
je 0x45ec29
push eax
lea eax, [esp + 0x1c]
push str.selectFolder_openFile__d
push eax
call fcn.00421320
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.0042ca00
add ebx, 0xfffffff0
mov byte [esp + 0x70], 5
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ebfc
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 3
mov edx, dword [esp + 0x28]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ec1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x70], 2
jmp 0x45ef39
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov eax, 0x54f354
mov byte [esp + 0x70], 0xe
test eax, 0xffff0000
jne 0x45ec6f
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x45ec83
mov edx, 0x54f354
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x45ec7f
push 3
push 0x54f354
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xf
call fcn.0042cef0
test al, al
jne 0x45ecd6
lea eax, [esp + 0x18]
push str.selectFolder_WriteFile
push eax
call fcn.00421320
lea edx, [esi - 0x10]
or esi, 0xffffffff
add esp, 8
mov byte [esp + 0x70], 0xd
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ebd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ebd5
add esi, 0xfffffff0
mov byte [esp + 0x70], 0xd
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ecf5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45ed09
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x45ed1b
push eax
call esi
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x45ed27
push eax
call esi
push ecx
add ebx, 0xfffffff0
mov ecx, ebx
mov esi, esp
call fcn.00420750
add eax, 0x10
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.00425880
add esp, 4
test al, al
jne 0x45ed63
lea eax, [esp + 0x18]
push str.selectFolder_DeleteFile
push eax
call fcn.00421320
add esp, 8
or esi, 0xffffffff
jmp 0x45ebe1
or esi, 0xffffffff
mov byte [esp + 0x70], 5
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ef0b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ef0b
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, str.Folder_not_selected
mov byte [esp + 0x70], 0x10
test eax, 0xffff0000
jne 0x45edca
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x45edd8
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00420bb0
jmp 0x45edd8
push str.Folder_not_selected
lea ecx, [esp + 0x2c]
call fcn.00420650
mov byte [esp + 0x70], 0x11
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.selectFolder
mov byte [esp + 0x70], 0x12
test eax, 0xffff0000
jne 0x45ee1d
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x45ee2d
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x45ee2d
push 0xc
push str.selectFolder
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x70], 0x13
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x14
call fcn.004215a0
add esp, 4
mov ecx, eax
mov byte [esp + 0x70], 0x15
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x45ee82
push 0
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 8
push eax
call fcn.004216b0
mov byte [esp + 0x70], 0x14
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45eea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x70], 0x13
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45eec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x11
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 0x45eee4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 5
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 0x45ef0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ef0b
or esi, 0xffffffff
mov byte [esp + 0x70], 3
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 0x45ef2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 2
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 0x45ef4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x45efe0
mov eax, 8
mov word [ebx], ax
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x70], 0x16
mov eax, dword [esp + 0x18]
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 + 0x40]
push str.__path__:___s_____result__:__s____error__:___s__
push eax
call fcn.00421320
mov esi, dword [esp + 0x48]
add esp, 0x14
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x45efbc
call fcn.004208f0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov dword [ebx + 8], eax
mov byte [esp + 0x70], 2
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45efe0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 1
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 0x45f002
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 0
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45f020
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x45f043
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8