Function at 0x4306c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0xc], ebx
cmp ebx, edi
jne 0x4306e0
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x530000]
cmp eax, edi
jne 0x4306fd
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x530000], eax
cmp eax, edi
je 0x4306d6
mov ecx, dword [0x52fffc]
push esi
cmp ecx, edi
je 0x43072c
cmp dword [0x52fff8], edi
je 0x43072c
cmp dword [0x52fff4], edi
je 0x43072c
cmp dword [0x52fff0], edi
je 0x43072c
cmp dword [0x52ffec], edi
jne 0x4307c3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4eeb08
push eax
call esi
mov dword [0x52fffc], eax
mov eax, dword [0x530000]
push 0x4eeafc
push eax
call esi
mov ecx, dword [0x530000]
push 0x4eeae8
push ecx
mov dword [0x52fff8], eax
call esi
mov edx, dword [0x530000]
push 0x4eead8
push edx
mov dword [0x52fff4], eax
call esi
mov dword [0x52fff0], eax
mov eax, dword [0x530000]
push str.RegQueryInfoKeyW
push eax
call esi
mov ecx, dword [0x52fffc]
mov dword [0x52ffec], eax
cmp ecx, edi
je 0x430b78
cmp dword [0x52fff8], edi
je 0x430b78
cmp dword [0x52fff4], edi
je 0x430b78
cmp dword [0x52fff0], edi
je 0x430b78
cmp eax, edi
je 0x430b78
lea edx, [ebp - 0x10]
push edx
movzx edx, byte [ebp + 8]
neg edx
sbb edx, edx
lea eax, [ebp - 8]
push eax
push edi
and edx, 0xffffffed
add edx, 0x20019
push edx
push edi
push edi
push edi
push str.SoftwareConEmu
push SysReAllocString
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call ecx
cmp eax, edi
jne 0x430b78
mov ecx, dword [ebp - 8]
cmp ecx, edi
je 0x430b78
cmp byte [ebp + 8], 0
jne 0x43087e
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
call dword [0x52ffec]
cmp eax, edi
jne 0x430872
cmp dword [ebx + 0x30], edi
jne 0x430837
cmp dword [ebx + 0x2c], edi
je 0x430872
lea ecx, [ebx + 0x2c]
lea esi, [ebp - 0x1c]
mov edx, 8
sub esi, ecx
mov edi, dword [esi + ecx]
cmp edi, dword [ecx]
jne 0x430870
sub edx, 4
add ecx, 4
cmp edx, 4
jae 0x430844
mov ecx, dword [ebp - 8]
push ecx
call dword [0x52fff8]
xor eax, eax
cmp dword [ebx], eax
pop esi
pop edi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], ecx
cmp byte [ebp + 8], 0
lea ecx, [ebx + 8]
mov dword [ebp - 0x98], ecx
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x78], ecx
mov esi, 4
lea edx, [ebx + 4]
lea ecx, [ebx + 0x18]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x58], ecx
lea edx, [ebx + 0xc]
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x48], ecx
lea edx, [ebx + 0x14]
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x68], edx
mov edx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebx + 0x24]
mov dword [ebp - 0xbc], str.DefTerm_Enabled
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], str.DefTerm_Agressive
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], str.DefTerm_NoInjects
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], str.DefTerm_NewWindow
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], str.DefTerm_Confirm
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], str.DefTerm_Flags
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], str.DefTerm_ConEmuExe
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], str.DefTerm_BaseDir
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], str.DefTerm_Config
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], str.DefTerm_AppList
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 7
jne 0x430a9f
lea edi, [ebp - 0xbc]
mov dword [ebp + 8], 0xa
jmp 0x430990
mov eax, dword [edi + 8]
lea edx, [ebp - 4]
push edx
test eax, eax
je 0x4309e7
mov edx, dword [edi]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x14]
push ecx
push 0
push edx
push eax
mov dword [ebp - 4], esi
call dword [0x52fff4]
test eax, eax
je 0x4309c0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
jmp 0x4309c3
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
jne 0x4309d4
mov edx, dword [edi + 4]
mov dword [edx], ecx
jmp 0x430a77
cmp eax, 1
jne 0x430a77
mov eax, dword [edi + 4]
mov byte [eax], cl
jmp 0x430a77
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov ebx, dword [edi]
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
push ebx
push ecx
mov dword [ebp - 4], esi
call dword [0x52fff4]
test eax, eax
jne 0x430a5a
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x430a5a
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x430a1f
cmp eax, 7
jne 0x430a5a
add ecx, 4
push 1
push ecx
call fcn.0044c490
mov esi, eax
add esp, 8
test esi, esi
je 0x430a5a
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push ecx
call dword [0x52fff4]
cmp word [esi], 0
jne 0x430a5a
push esi
call fcn.0044c4f0
add esp, 4
xor esi, esi
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x430a6f
push eax
call fcn.0044c4f0
add esp, 4
mov ebx, dword [ebp - 0xc]
mov esi, 4
add edi, 0x10
sub dword [ebp + 8], 1
jne 0x430990
cmp dword [ebx], 0
mov eax, dword [ebp - 8]
push eax
setne bl
call dword [0x52fff8]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp + 0xb], dl
lea edi, [ebp - 0xb0]
mov dword [ebp - 0xc], 0xa
nop
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x430ac6
mov edx, dword [edi - 8]
mov eax, ecx
push eax
mov dword [ebp - 4], eax
mov eax, dword [edi]
push edx
push eax
jmp 0x430b37
mov ecx, dword [edi]
cmp ecx, edx
jne 0x430aee
mov eax, dword [edi - 8]
mov esi, dword [eax]
test esi, esi
jne 0x430ada
mov esi, 0x4e5034
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
mov dword [ebp - 4], eax
push 1
jmp 0x430b37
cmp ecx, 7
jne 0x430b47
mov eax, dword [edi - 8]
mov ebx, dword [eax]
test ebx, ebx
jne 0x430b01
mov ebx, 0x4ee954
mov dword [ebp - 4], 2
cmp word [ebx], 0
mov esi, ebx
je 0x430b30
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x430b30
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
lea esi, [esi + eax*2 + 2]
mov dword [ebp - 4], edx
cmp word [esi], 0
jne 0x430b10
mov eax, dword [ebp - 4]
push eax
push ebx
push 7
mov ecx, dword [edi - 0xc]
mov edx, dword [ebp - 8]
push 0
push ecx
push edx
call dword [0x52fff0]
test eax, eax
je 0x430b4f
mov byte [ebp + 0xb], 0
mov edx, 1
add edi, 0x10
sub dword [ebp - 0xc], edx
jne 0x430ab0
mov eax, dword [ebp - 8]
mov bl, byte [ebp + 0xb]
push eax
call dword [0x52fff8]
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4