Function at 0x4214e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x424054
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x421547
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x421547
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421547
mov eax, dword [ebx + 4]
push 1
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebp
sub esp, 0xc
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov eax, esp
mov dword [esp + 0x30], esp
push 1
sub esp, 0xc
mov dword [esp + 0x40], eax
mov eax, 0x428520
mov esi, esp
mov dword [esp + 0x48], esp
call fcn.0041c000
sub esp, 0xc
mov dword [esp + 0xc0], ebp
mov eax, str.MainText
mov esi, esp
mov dword [esp + 0x58], esp
call fcn.0041c000
push ecx
mov ecx, dword [ebx + 0x4c]
mov eax, esp
mov dword [eax], ecx
lea edi, [esp + 0xa0]
mov dword [esp + 0x5c], esp
mov dword [esp + 0xc4], 0xffffffff
call fcn.004229e0
add esp, 0x20
mov dword [esp + 0xa4], 1
call fcn.0041b440
mov ecx, dword [esp + 0x30]
mov edx, eax
or eax, 0xffffffff
mov esi, ecx
call fcn.0041b550
mov eax, dword [ebx + 4]
push eax
lea esi, [esp + 0x44]
call fcn.0041a860
mov ecx, eax
xor eax, eax
lea esi, [esp + 0x54]
call fcn.0041a950
mov ecx, edi
mov byte [esp + 0x88], 3
call fcn.0041b590
mov edi, dword [ebx + 4]
lea esi, [esp + 0x20]
call fcn.0041a860
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebp
push edi
lea edx, [esp + 0x50]
mov dword [eax + 8], ebp
push edx
mov dword [eax + 0xc], ebp
call fcn.0041a880
mov ecx, dword [eax + 4]
lea edi, [ebx + 0x40]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
push 1
sub esp, 0xc
mov dword [edi + 8], edx
mov edx, str.Path
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.0041b510
mov dword [esp + 0x4c], ebp
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x421684
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421684
mov ecx, dword [edi + 4]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x54]
add ecx, 0xffffffec
mov esi, edi
call fcn.004046c0
push 1
sub esp, 0xc
mov eax, 0x428540
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.0041c000
sub esp, 0xc
mov byte [esp + 0xa4], 4
mov eax, 0x428548
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.0041c000
mov edx, dword [ebx + 0x4c]
push ecx
mov eax, esp
mov dword [eax], edx
lea edi, [esp + 0x78]
mov dword [esp + 0x40], esp
mov byte [esp + 0xa8], 3
call fcn.004229e0
add esp, 0x20
push 1
sub esp, 0xc
mov byte [esp + 0x98], 5
mov eax, 0x42854c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0041c000
sub esp, 0xc
mov byte [esp + 0xa4], 6
mov eax, str.Cancel
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.0041c000
push ecx
mov ecx, dword [ebx + 0x4c]
mov eax, esp
mov dword [eax], ecx
lea edi, [esp + 0x90]
mov dword [esp + 0x44], esp
mov byte [esp + 0xa8], 5
call fcn.004229e0
add esp, 0x20
push 1
sub esp, 0xc
mov byte [esp + 0x98], 7
mov eax, 0x42855c
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0041c000
sub esp, 0xc
mov byte [esp + 0xa4], 8
mov eax, str.Addpath
mov esi, esp
mov dword [esp + 0x3c], esp
call fcn.0041c000
mov edx, dword [ebx + 0x4c]
push ecx
mov eax, esp
mov dword [eax], edx
lea edi, [esp + 0x6c]
mov dword [esp + 0x44], esp
mov byte [esp + 0xa8], 7
call fcn.004229e0
add esp, 0x20
mov ecx, edi
mov byte [esp + 0x88], 9
call fcn.0041b420
test al, al
je 0x4217b1
mov eax, edi
call fcn.0041b440
jmp 0x4217b6
mov eax, str.Add_path
sub esp, 0x10
mov ecx, esp
xor esi, esi
mov dword [ecx], esi
sub esp, 0xc
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov edx, eax
mov esi, esp
mov dword [ecx + 0xc], ebp
mov dword [esp + 0x40], esp
call fcn.0041b510
mov ebx, dword [ebx + 4]
push ebx
lea esi, [esp + 0x44]
call fcn.0041a860
mov edx, 0x66
lea ebx, [esp + 0x4c]
call fcn.0041a9e0
lea ecx, [esp + 0x58]
mov byte [esp + 0x88], 0xa
call fcn.0041b420
test al, al
je 0x421811
mov eax, ecx
call fcn.0041b440
jmp 0x421816
mov eax, 0x428580
sub esp, 0x10
mov ecx, esp
xor esi, esi
mov dword [ecx], esi
sub esp, 0xc
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov edx, eax
mov esi, esp
mov dword [ecx + 0xc], ebp
mov dword [esp + 0x3c], esp
call fcn.0041b510
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 4]
push eax
lea esi, [esp + 0x48]
call fcn.0041a860
mov edx, 0x67
lea ebx, [esp + 0x5c]
call fcn.0041a9e0
mov eax, edi
mov dword [esp + 0x30], ebp
call fcn.00421110
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2c], vtable.Window.0
call fcn.0041b590
lea ecx, [esp + 0x70]
call fcn.0041b590
lea ecx, [esp + 0x58]
call fcn.0041b590
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret