Function at 0x420810
Capabilities:
Access peb ldr_data
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43f2f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x874
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], 0x441c18
lea ecx, [esp + 0x14]
mov dword [esp + 0x888], ebp
call sub.MFC42u.DLL_CString::CString_4
mov edi, 0x441b3c
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x888], 2
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x1f]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0x88c], 3
call fcn.00422fc0
push 0xc
mov byte [esp + 0x88c], 4
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebp
mov byte [esp + 0x888], 5
je 0x4208bc
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.004059d0
jmp 0x4208be
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x888], 4
mov dword [esp + 0x20], eax
jne 0x4208d8
push 0x8007000e
call fcn.0043bfa0
push 0xc
mov byte [esp + 0x88c], 6
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebp
mov byte [esp + 0x888], 7
je 0x420908
push str.configAdvTools.xml
mov ecx, eax
call fcn.004059d0
jmp 0x42090a
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x888], 6
mov dword [esp + 0x10], eax
jne 0x420924
push 0x8007000e
call fcn.0043bfa0
mov byte [esp + 0x888], 8
call sub.MFC42u.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x68]
call fcn.004058a0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x888], 0xb
cmp eax, ebp
mov dword [esp + 0x58], 0x441b38
je 0x420a21
mov eax, dword [eax]
cmp eax, ebp
je 0x420a21
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebp
jbe 0x420a21
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x42098b
mov eax, dword [eax]
jmp 0x42098d
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x4209a9
lea edx, [esp + 0x10]
push ebp
push edx
lea ecx, [esp + 0x60]
call fcn.004065b0
jmp 0x420a21
lea eax, [esp + 0x80]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4209d7
mov eax, dword [eax]
jmp 0x4209d9
xor eax, eax
push eax
lea edx, [esp + 0x84]
lea eax, [esp + 0x84]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x10]
call fcn.004058c0
lea edx, [esp + 0xc]
push ebp
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x890], 0xc
call fcn.004065b0
lea ecx, [esp + 0xc]
call fcn.00405980
lea ecx, [esp + 0x10]
call fcn.00405980
lea ecx, [esp + 0x20]
mov byte [esp + 0x888], 0xe
call fcn.00405980
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x888], 0x10
je 0x420a63
push str.AdvTools_ToolsList
mov ecx, eax
call fcn.00423710
jmp 0x420a65
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x888], 0xe
mov dword [esp + 0xc], eax
jne 0x420a7f
push 0x8007000e
call fcn.0043bfa0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x890], 0x11
call fcn.00407460
mov esi, eax
lea ecx, [esp + 0x34]
mov edx, dword [esi + 4]
push edx
call fcn.00405870
mov eax, dword [esi + 8]
lea ecx, [esp + 0x38]
push eax
call fcn.00405870
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x3c], ecx
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x88c], 0x13
call fcn.00405840
push ebp
lea ecx, [esp + 0x74]
call fcn.00405840
lea ecx, [esp + 0x74]
call fcn.00405830
lea ecx, [esp + 0x70]
call fcn.00405830
lea ecx, [esp + 0xc]
mov byte [esp + 0x888], 0xe
call fcn.00405980
lea ecx, [esp + 0x30]
call fcn.004064c0
test al, al
je 0x420b9e
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0x888], 0x14
je 0x420b39
push str.ToolsInfo
mov ecx, eax
call fcn.004059d0
jmp 0x420b3b
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x888], 0xe
mov dword [esp + 0xc], eax
jne 0x420b55
push 0x8007000e
call fcn.0043bfa0
lea edx, [esp + 0xc]
lea eax, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x890], 0x15
call fcn.00412fc0
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
push edx
lea ecx, [esp + 0x30]
call fcn.00405870
lea ecx, [esp + 0x6c]
call fcn.004060b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x888], 0xe
call fcn.00405980
push ebp
lea ecx, [esp + 0x30]
call fcn.00406070
test al, al
jne 0x420bb8
mov eax, dword [esp + 0x28]
cmp eax, ebp
jle 0x420bb8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebp
jle 0x420c6a
push str.Title
lea ecx, [esp + 0x10]
call fcn.004058c0
lea eax, [esp + 0x14]
push ebp
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x898], 0x16
call fcn.004238c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x888], 0xe
call fcn.00405980
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebp
je 0x420c5d
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x48]
call fcn.004147e0
lea ecx, [esp + 0x44]
mov edi, eax
push ecx
push 0x420290
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x48]
call fcn.004147e0
cmp edi, eax
je 0x420c5d
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
call fcn.004147e0
mov eax, dword [edi + eax*4 - 4]
mov ecx, 0x44fec0
push eax
call fcn.00405610
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x420bc6
lea ecx, [esp + 0x58]
mov byte [esp + 0x888], 4
call fcn.00406500
lea ecx, [esp + 0x44]
mov byte [esp + 0x888], 2
call fcn.00420ce0
lea ecx, [esp + 0x30]
mov byte [esp + 0x888], 1
call fcn.00405dc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x888], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x888], 0xffffffff
call fcn.004060b0
mov ecx, dword [esp + 0x880]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x880
ret