Function at 0x429760
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check if file exists
Create process on windows
Delete registry value
Encode data using base64
Enumerate processes
Get common file path
Get file attributes
Log keystrokes via polling
Persist via command processor registry key
Query or enumerate registry value
Set environment variable
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c4
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x429786
push 0x428e20
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x114
push edi
push 0x52fe58
call fcn.004c9b50
add esp, 0xc
push 0x52fe58
mov dword [0x52fe58], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [0x52fe60]
mov ecx, dword [0x52fe5c]
shl ecx, 8
or eax, ecx
mov word [0x510260], ax
call fcn.0044c460
call fcn.004c8320
mov dword [0x530250], 0x4262f0
call fcn.00426b30
mov dword [0x52fe48], eax
call fcn.004c5fa0
mov byte [0x52fe54], al
mov ebx, 6
test al, al
je 0x429803
push str.Liberation_Mono
push 0x510268
jmp 0x429844
cmp dword [0x52fe5c], ebx
jb 0x42984c
push edi
lea edx, [ebp - 0x34]
push edx
push edi
push 0x1048
mov dword [ebp - 0x34], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42983a
cmp dword [ebp - 0x34], edi
je 0x42983a
push str.Consolas
push 0x510268
call fcn.00401a00
add esp, 8
push str.Segoe_UI
push str.Tahoma
call fcn.00401a00
add esp, 8
call fcn.004c6060
mov byte [0x52fe55], al
test al, al
je 0x42992f
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov esi, eax
call fcn.004c6070
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
cmp esi, edi
je 0x42992f
lea ecx, [ebp - 0x2c]
push ecx
push eax
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionConsoleTrueTypeFont
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42992f
push esi
lea edx, [ebp - 0x3c4]
push 0x4e4bb8
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x80
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004c9b50
add esp, 0x18
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x118]
push edx
push edi
push edi
lea eax, [ebp - 0x3c4]
push eax
push ecx
mov dword [ebp - 0x4c], 0x7e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429925
mov ax, word [ebp - 0x118]
cmp ax, di
je 0x429925
push 0x20
cmp ax, 0x2a
jne 0x429913
lea edx, [ebp - 0x116]
push edx
jmp 0x42991a
lea eax, [ebp - 0x118]
push eax
push str.Lucida_Console
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push str.ConEmuFakeDT
call esi
push edi
push str.ConEmuHooks
call esi
push 0xf3708
call fcn.0044c4d0
add esp, 4
cmp eax, edi
je 0x42995f
mov ecx, eax
call fcn.0046fee0
jmp 0x429961
xor eax, eax
push 0x7a24
mov dword [0x52fe34], eax
call fcn.0044c4d0
add esp, 4
cmp eax, edi
je 0x429980
mov ecx, eax
call fcn.00417f90
jmp 0x429982
xor eax, eax
mov dword [0x52fe2c], eax
xor eax, eax
push 0xc
mov esi, 0x1e
push esi
mov dword [0x52fdf8], eax
mov dword [0x52fdfc], eax
call fcn.0044c490
add esp, 8
mov dword [0x52fdf8], eax
cmp eax, edi
je 0x4299b2
mov dword [0x52fdfc], esi
xor eax, eax
push 0xc
push esi
mov dword [0x52fe00], eax
mov dword [0x52fe04], eax
call fcn.0044c490
add esp, 8
mov dword [0x52fe00], eax
cmp eax, edi
je 0x4299d8
mov dword [0x52fe04], esi
mov eax, dword [ebp + 8]
mov dword [0x52fe10], eax
cdq
mov dword [0x52ff88], eax
mov dword [0x52ff8c], edx
call fcn.0044cf40
mov dword [0x52ff80], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._debug
push eax
call fcn.004ca978
add esp, 8
test eax, eax
je 0x429a2c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x429a2c
push 1
push 0xffffffffffffffff
push edi
push 0x40
push str.Conemu_started
call fcn.004262f0
add esp, 0x14
mov edx, dword [0x52fe34]
mov dword [edx + 0x12080], edi
mov eax, dword [0x52fe34]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x34]
mov dword [eax + 0x12084], edi
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
xor ebx, ebx
push ecx
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x4c], edi
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x84], edi
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x7c], edi
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x68], edi
mov byte [ebp - 0x23], 0
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x1e], bl
mov byte [ebp + 0xb], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 8], edi
mov byte [ebp - 0x34], bl
call fcn.004267f0
add esp, 0x10
test eax, eax
je 0x42aaba
cmp dword [ebp - 8], edi
je 0x429bcf
cmp dword [ebp - 8], 0xffffffff
je 0x429bcf
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
jbe 0x429bcf
test esi, esi
je 0x429bc9
movzx eax, word [esi]
test ax, ax
je 0x429bc9
mov byte [ebp - 9], 0
cmp ax, 0x2d
jne 0x429b4a
cmp word [esi + 2], 0
lea eax, [esi + 2]
je 0x429b4a
push str.__.__:
push eax
call fcn.004c9bf0
add esp, 8
test eax, eax
jne 0x429b4a
mov edx, 0x2f
mov word [esi], dx
mov byte [ebp - 9], 1
jmp 0x429b50
cmp word [esi], 0x2f
jne 0x429b9e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str._autosetup
push esi
call edi
test eax, eax
je 0x42a823
push str._bypass
push esi
call edi
test eax, eax
je 0x42aa01
push str._demote
push esi
call edi
test eax, eax
je 0x42aac8
push str._multi
push esi
call edi
test eax, eax
jne 0x429c95
mov byte [ebp - 0x17], 1
mov byte [ebp - 0x15], 1
mov ebx, dword [ebp - 4]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429ba6
sub eax, edx
sar eax, 1
inc ebx
lea esi, [esi + eax*2 + 2]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp - 8]
jb 0x429b02
mov ebx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
mov ecx, dword [0x52fe34]
cmp byte [ecx + 0x125fa], 0
je 0x429be9
mov ecx, dword [0x52fe2c]
call fcn.00414790
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42ac0a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429bf7
sub eax, edx
sar eax, 1
add eax, 0x64
push 2
push eax
call fcn.0044c490
mov ebx, eax
mov eax, str.Unknown_switch_specified:_r_n
mov edx, ebx
add esp, 8
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x429c20
mov eax, dword [ebp - 0x44]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429c34
mov edi, ebx
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x429c46
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x52fe2c]
push ebx
call fcn.00409280
push 1
push 0xffffffffffffffff
push 0
push 0x40
push ebx
call fcn.004262f0
push ebx
call fcn.0044c4f0
add esp, 0x18
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str._nomulti
push esi
call edi
test eax, eax
jne 0x429ca9
mov byte [ebp - 0x17], al
jmp 0x429b9a
push str._visible
push esi
call edi
test eax, eax
jne 0x429cc2
mov byte [ebp - 0x21], 1
mov byte [ebp - 0x20], 1
jmp 0x429b9e
push 0x4edd38
push esi
call edi
test eax, eax
je 0x42a7ea
push str._cleartype
push esi
call edi
test eax, eax
je 0x42a7ea
push str._ct0
push esi
call edi
test eax, eax
je 0x42a7ea
push str._ct1
push esi
call edi
test eax, eax
je 0x42a7ea
push str._ct2
push esi
call edi
test eax, eax
je 0x42a7ea
push str._font
push esi
call edi
mov ebx, dword [ebp - 4]
test eax, eax
jne 0x429d5a
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x429d5a
mov eax, esi
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429d30
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov ebx, edx
cmp byte [ebp - 0x14], cl
jne 0x429ba1
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x4c], esi
jmp 0x429ba1
push str._size
push esi
call edi
test eax, eax
jne 0x429da6
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x429da6
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429d73
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov ebx, edx
cmp byte [ebp - 0x11], cl
jne 0x429ba1
push esi
mov byte [ebp - 0x11], 1
call fcn.004ca9ef
add esp, 4
mov dword [ebp - 0x78], eax
jmp 0x429ba1
push str._fontfile
push esi
call edi
test eax, eax
jne 0x429e01
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x429e01
push 0
push 0x104
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 9]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x28], 0
call fcn.00428300
add esp, 0x18
test al, al
je 0x42aaba
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x52fe34]
push 1
push edx
call fcn.004717b0
mov esi, dword [ebp - 0x10]
jmp 0x429b9e
push str._fontdir
push esi
call edi
test eax, eax
jne 0x429e5a
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x429e5a
push 0
push 0x104
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 9]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x28], 0
call fcn.00428300
add esp, 0x18
test al, al
je 0x42aaba
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x52fe34]
push edx
call fcn.00471f50
mov esi, dword [ebp - 0x10]
jmp 0x429b9e
push 0x4edcb4
push esi
call edi
test eax, eax
jne 0x429e76
mov dword [ebp - 0x70], 0x521
mov byte [ebp - 0x13], 1
jmp 0x429ba1
push str._max
push esi
call edi
test eax, eax
jne 0x429e92
mov dword [ebp - 0x70], 0x520
mov byte [ebp - 0x13], 1
jmp 0x429ba1
push str._min
push esi
call edi
test eax, eax
je 0x42a7a3
push str._mintsa
push esi
call edi
test eax, eax
je 0x42a7a3
push str._starttsa
push esi
call edi
test eax, eax
je 0x42a7a3
push str._tsa
push esi
call edi
test eax, eax
je 0x42a791
push str._tray
push esi
call edi
test eax, eax
je 0x42a791
push str._detached
push esi
call edi
test eax, eax
jne 0x429f02
mov eax, dword [0x52fe2c]
mov dword [eax + 0x4140], 1
jmp 0x429ba1
push str._noupdate
push esi
call edi
test eax, eax
jne 0x429f20
mov ecx, dword [0x52fe2c]
mov byte [ecx + 0x4134], 1
jmp 0x429ba1
push str._nokeyhook
push esi
call edi
test eax, eax
je 0x42a780
push str._nokeyhooks
push esi
call edi
test eax, eax
je 0x42a780
push str._nokeybhook
push esi
call edi
test eax, eax
je 0x42a780
push str._nokeybhooks
push esi
call edi
test eax, eax
je 0x42a780
push str._nocloseconfirm
push esi
call edi
test eax, eax
jne 0x429f7e
mov edx, dword [0x52fe2c]
mov byte [edx + 0x413a], 1
jmp 0x429ba1
push str._nomacro
push esi
call edi
test eax, eax
jne 0x429f9b
mov eax, dword [0x52fe2c]
mov byte [eax + 0x4136], 1
jmp 0x429ba1
push str._nohotkey
push esi
call edi
test eax, eax
je 0x42a76e
push str._nohotkeys
push esi
call edi
test eax, eax
je 0x42a76e
push str._nodeftrm
push esi
call edi
test eax, eax
je 0x42a75c
push str._nodefterm
push esi
call edi
test eax, eax
je 0x42a75c
push str._noregfont
push esi
call edi
test eax, eax
je 0x42a74b
push str._noregfonts
push esi
call edi
test eax, eax
je 0x42a74b
push str._inside
push esi
call edi
test eax, eax
je 0x42a6fc
push 8
push 0x4edaf4
push esi
call fcn.0044d3f0
add esp, 0xc
test eax, eax
je 0x42a6fc
push str._insidepid
push esi
call edi
test eax, eax
jne 0x42a0a8
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a0a8
mov eax, esi
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a040
sub eax, edi
sar eax, 1
push 0x10
lea esi, [esi + eax*2 + 2]
mov ebx, edx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
push 0xa
lea ecx, [ebp - 0x98]
cmp ax, dx
push ecx
sete al
push esi
mov byte [ebp - 0x90], al
call fcn.004c9eb4
add esp, 0xc
test eax, eax
je 0x429ba1
mov edx, dword [ebp - 0x90]
push 0
push eax
push 0
push 0
push edx
call fcn.00441f10
add esp, 0x14
jmp 0x429ba1
push str._insidewnd
push esi
call edi
test eax, eax
jne 0x42a176
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a176
mov eax, esi
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a0d0
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
movzx eax, word [esi]
mov ebx, edx
cmp ax, 0x30
jne 0x42a103
movzx ecx, word [esi + 2]
cmp cx, 0x78
je 0x42a0fe
cmp cx, 0x58
jne 0x42a103
add esi, 4
jmp 0x42a112
cmp ax, 0x78
je 0x42a10f
cmp ax, 0x58
jne 0x42a112
add esi, 2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
push 0x10
lea ecx, [ebp - 0x94]
cmp ax, dx
push ecx
sete al
push esi
mov byte [ebp - 0x8c], al
call fcn.004c9eb4
mov edi, eax
add esp, 0xc
test edi, edi
je 0x429ba1
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429ba1
mov edx, dword [ebp - 0x8c]
push edi
push 0
push 0
push 0
push edx
call fcn.00441f10
add esp, 0x14
jmp 0x429ba1
push str._icon
push esi
call edi
test eax, eax
jne 0x42a1d5
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a1d5
mov eax, esi
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a190
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov ebx, edx
cmp byte [ebp - 0x1b], cl
jne 0x429ba1
cmp word [esi], cx
je 0x429ba1
push esi
mov byte [ebp - 0x1b], 1
call fcn.004c6380
mov ecx, dword [0x52fe2c]
add esp, 4
mov dword [ecx + 0xbe4], eax
jmp 0x429ba1
push str._dir
push esi
call edi
test eax, eax
jne 0x42a257
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a257
mov eax, esi
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a1f0
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov ebx, edx
cmp word [esi], cx
je 0x429ba1
push 0x25
push esi
call fcn.004c9bca
add esp, 8
test eax, eax
je 0x42a246
push esi
call fcn.004c6380
mov edi, eax
add esp, 4
test edi, edi
je 0x42a246
mov ecx, dword [0x52fe2c]
push edi
call fcn.00412fe0
push edi
call fcn.0044c4f0
add esp, 4
jmp 0x429ba1
mov ecx, dword [0x52fe2c]
push esi
call fcn.00412fe0
jmp 0x429ba1
push str._updatejumplist
push esi
call edi
test eax, eax
jne 0x42a275
mov edx, dword [0x52fe2c]
mov byte [edx + 0x1628], 1
jmp 0x429ba1
push str._log
push esi
call edi
test eax, eax
je 0x42a6eb
push str._log0
push esi
call edi
test eax, eax
je 0x42a6eb
push str._log1
push esi
call edi
test eax, eax
je 0x42a6d4
push str._log2
push esi
call edi
test eax, eax
je 0x42a6d4
push str._log3
push esi
call edi
test eax, eax
je 0x42a6d4
push str._log4
push esi
call edi
test eax, eax
je 0x42a6d4
push str._single
push esi
call edi
test eax, eax
je 0x42a6c0
push str._reuse
push esi
call edi
test eax, eax
je 0x42a6c0
push str._nosingle
push esi
call edi
test eax, eax
jne 0x42a315
mov eax, dword [0x52fe34]
mov dword [eax + 0x12080], 2
jmp 0x429ba1
push str._showhide
push esi
call edi
test eax, eax
je 0x42a690
push str._showhideTSA
push esi
call edi
test eax, eax
je 0x42a690
push str._reset
push esi
call edi
test eax, eax
je 0x42a640
push str._resetdefault
push esi
call edi
test eax, eax
je 0x42a640
push str._basic
push esi
call edi
test eax, eax
je 0x42a640
push str._nocascade
push esi
call edi
test eax, eax
je 0x42a62f
push str._dontcascade
push esi
call edi
test eax, eax
je 0x42a62f
push str._Buffer
push esi
call edi
test eax, eax
je 0x42a39d
push str._BufferHeight
push esi
call edi
test eax, eax
jne 0x42a411
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a411
mov eax, esi
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a3b0
sub eax, edi
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov ebx, edx
cmp byte [ebp - 0x12], cl
jne 0x429ba1
push esi
mov byte [ebp - 0x12], 1
call fcn.004ca9ef
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
jge 0x42a3e7
neg eax
mov dword [ebp - 0x38], eax
cmp eax, 0x12c
jge 0x42a3fa
mov dword [ebp - 0x38], 0x12c
jmp 0x429ba1
cmp eax, 0x7ffe
jle 0x429ba1
mov dword [ebp - 0x38], 0x7ffe
jmp 0x429ba1
push str._Config
push esi
call edi
test eax, eax
jne 0x42a453
lea ecx, [ebx + 1]
cmp ecx, dword [ebp - 8]
jae 0x42a453
push eax
push 0x7f
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x1d]
push edx
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00428300
add esp, 0x18
test al, al
je 0x42aaba
mov esi, dword [ebp - 0x10]
jmp 0x429b9e
push str._Palette
push esi
call edi
test eax, eax
jne 0x42a480
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x42a480
push 0
push 0x104
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x1a]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
jmp 0x42a43b
push str._LoadCfgFile
push esi
call edi
test eax, eax
jne 0x42a4ad
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a4ad
push 1
push 0x104
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x1f]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
jmp 0x42a43b
push str._SaveCfgFile
push esi
call edi
test eax, eax
jne 0x42a4d3
lea ecx, [ebx + 1]
cmp ecx, dword [ebp - 8]
jae 0x42a4d3
push 1
push 0x104
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x23]
jmp 0x42a431
push str._UpdateSrcSet
push esi
call edi
test eax, eax
jne 0x42a503
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x42a503
push 0
push 0x410
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
jmp 0x42a43b
push str._AnsiLog
push esi
call edi
test eax, eax
jne 0x42a533
lea edx, [ebx + 1]
cmp edx, dword [ebp - 8]
jae 0x42a533
push 1
push 0xdc
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
jmp 0x42a43b
push str._SetDefTerm
push esi
call edi
test eax, eax
jne 0x42a548
mov byte [ebp - 0x1e], 1
jmp 0x429ba1
push str._Exit
push esi
call edi
test eax, eax
jne 0x42a55d
mov byte [ebp + 0xb], 1
jmp 0x429ba1
push str._Title
push esi
call edi
test eax, eax
jne 0x42a5ae
lea ecx, [ebx + 1]
cmp ecx, dword [ebp - 8]
jae 0x42a5ae
push eax
push 0x7f
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00428300
add esp, 0x18
test al, al
je 0x42aaba
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x52fe2c]
push eax
call fcn.00409d40
mov esi, dword [ebp - 0x10]
jmp 0x429b9e
push str._FindBugMode
push esi
call edi
test eax, eax
jne 0x42a5cc
mov ecx, dword [0x52fe2c]
mov byte [ecx + 0x1629], 1
jmp 0x429ba1
push 0x4ed888
push esi
call edi
test eax, eax
je 0x42abeb
push 0x4ed880
push esi
call edi
test eax, eax
je 0x42abeb
push str._help
push esi
call edi
test eax, eax
je 0x42abeb
cmp byte [ebp - 9], 0
je 0x42a60a
mov edx, 0x2d
mov word [esi], dx
cmp dword [ebp - 0x44], 0
jne 0x429ba1
movzx eax, word [esi]
cmp ax, 0x2d
je 0x42a627
cmp ax, 0x2f
jne 0x429ba1
mov dword [ebp - 0x44], esi
jmp 0x429ba1
mov eax, dword [0x52fe34]
mov byte [eax + 0x11c7e], 1
jmp 0x429ba1
push str._resetdefault
push esi
mov byte [ebp - 0x16], 1
call edi
test eax, eax
jne 0x42a662
mov ecx, dword [0x52fe34]
mov byte [ecx + 0x11c7d], 1
jmp 0x429ba1
push str._basic
push esi
call edi
test eax, eax
jne 0x429ba1
mov edx, dword [0x52fe34]
mov byte [edx + 0x11c7d], 1
mov eax, dword [0x52fe34]
mov byte [eax + 0x11c7c], 1
jmp 0x429ba1
mov ecx, dword [0x52fe34]
push str._showhide
push esi
mov dword [ecx + 0x12080], 1
call edi
mov edx, dword [0x52fe34]
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [edx + 0x12084], eax
jmp 0x429ba1
mov eax, dword [0x52fe34]
mov dword [eax + 0x12080], 1
jmp 0x429ba1
mov cl, byte [esi + 8]
mov edx, dword [0x52fe34]
sub cl, 0x30
mov byte [edx + 0x125fa], cl
jmp 0x429ba1
mov eax, dword [0x52fe34]
mov byte [eax + 0x125fa], 1
jmp 0x429ba1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
sete al
mov byte [ebp - 0x88], al
xor eax, eax
cmp word [esi + 0xe], 0x3d
mov byte [ebp - 0x40], 0
jne 0x42a72e
mov byte [ebp - 0x40], 1
lea eax, [esi + 0x10]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x88]
push 0
push 0
push eax
push ecx
push edx
call fcn.00441f10
add esp, 0x14
jmp 0x429ba1
mov eax, dword [0x52fe2c]
mov byte [eax + 0x4139], 1
jmp 0x429ba1
mov ecx, dword [0x52fe2c]
mov byte [ecx + 0x4138], 1
jmp 0x429ba1
mov edx, dword [0x52fe2c]
mov byte [edx + 0x4137], 1
jmp 0x429ba1
mov eax, dword [0x52fe2c]
mov byte [eax + 0x4135], 1
jmp 0x429ba1
mov ecx, dword [0x52fe2c]
mov byte [ecx + 0x4133], 1
jmp 0x429ba1
mov edx, dword [0x52fe2c]
push str._min
push esi
mov byte [edx + 0x4130], 1
call edi
test eax, eax
je 0x429ba1
mov eax, dword [0x52fe2c]
push str._mintsa
push esi
mov byte [eax + 0x4131], 1
call edi
mov edx, dword [0x52fe2c]
test eax, eax
sete cl
mov byte [edx + 0x4132], cl
jmp 0x429ba1
movzx eax, word [esi + 6]
sub eax, 0x30
mov byte [ebp - 0x19], 1
je 0x42a817
sub eax, 1
mov ebx, dword [ebp - 4]
je 0x42a80b
mov dword [ebp - 0x2c], 6
jmp 0x429ba1
mov dword [ebp - 0x2c], 4
jmp 0x429ba1
mov dword [ebp - 0x2c], 3
jmp 0x429b9e
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp + 0x14], 1
cmp edx, dword [ebp - 8]
jb 0x42a841
pop edi
pop esi
mov eax, 0x65
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, esi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a846
sub eax, ebx
sar eax, 1
cmp word [esi + eax*2 + 2], 0x30
lea esi, [esi + eax*2 + 2]
mov ebx, edx
jne 0x42a86c
mov dword [ebp + 0x14], 0
jmp 0x42a8a2
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x42a833
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a877
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a9f3
test al, 0x10
jne 0x42a9f3
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftCommand_Processor
mov edi, 0x64
push SysReAllocString
mov dword [ebp + 8], 0
mov dword [ebp - 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42a8e9
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0
je 0x42a9c3
mov eax, esi
lea edx, [eax + 2]
jmp 0x42a900
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a900
sub eax, edx
inc ebx
sar eax, 1
xor edi, edi
cmp ebx, dword [ebp - 8]
jae 0x42a941
cmp word [esi + eax*2 + 2], cx
lea edi, [esi + eax*2 + 2]
jne 0x42a926
xor edi, edi
jmp 0x42a941
mov ecx, edi
lea ebx, [ecx + 2]
jmp 0x42a930
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42a930
sub ecx, ebx
sar ecx, 1
add eax, ecx
add eax, 0x10
push 2
push eax
call fcn.0044c490
add esp, 8
mov ebx, eax
test edi, edi
je 0x42a961
mov ecx, 0x4e587c
mov eax, 0x4ed820
jmp 0x42a96a
mov ecx, 0x4e5034
mov edi, ecx
mov eax, ecx
push ecx
push edi
push eax
push esi
push str.__s__s_s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, ebx
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a982
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push ebx
push 1
push 0
push str.AutoRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42a9b5
mov dword [ebp - 0x40], 1
push ebx
call fcn.0044c4f0
mov edi, dword [ebp - 0x40]
add esp, 4
jmp 0x42a9d9
mov ecx, dword [ebp + 8]
push str.AutoRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x42a9d9
lea edi, [eax + 1]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00426ac0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov eax, 0x66
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x42aaa5
cmp word [esi], 0
je 0x42aaa5
push 0x40
lea eax, [ebp - 0xd8]
push 0
push eax
mov dword [ebp - 0xdc], 0x44
call fcn.004c9b50
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0xdc]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
push esi
push eax
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42aa86
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x58]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 0
push esi
call fcn.004263e0
add esp, 0x14
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 0xffffffffffffffff
push str.Invalid_cmd_line.__bypass_exists___cmd_not
call fcn.004263e0
add esp, 0x14
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp esi, edi
je 0x42abcb
cmp word [esi], di
je 0x42abcb
push 0x40
lea edx, [ebp - 0xd8]
push edi
push edx
mov dword [ebp - 0xdc], 0x44
call fcn.004c9b50
xor eax, eax
push 0x208
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x322]
mov eax, 1
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0xb0], 1
mov word [ebp - 0xac], ax
mov word [ebp - 0x324], cx
call fcn.004c9b50
add esp, 0x18
lea eax, [ebp - 0x324]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x324]
push ecx
push edi
push 0x20
push edi
push edi
push edi
push esi
push edi
mov dword [ebp + 8], edi
call fcn.00428ed0
add esp, 0x2c
test eax, eax
je 0x42abad
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x42ab90
cmp eax, 0xffffffff
je 0x42ab90
push eax
mov dword [ebp - 0x5c], edi
call esi
mov eax, dword [ebp - 0x58]
cmp eax, edi
je 0x42aba2
cmp eax, 0xffffffff
je 0x42aba2
push eax
mov dword [ebp - 0x58], edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 8]
push edi
push edi
push edi
push edx
push esi
call fcn.004263e0
add esp, 0x14
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
push edi
push edi
push 0xffffffffffffffff
push str.Invalid_cmd_line.__demote_exists___cmd_not
call fcn.004263e0
add esp, 0x14
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
call fcn.00402410
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0044c4f0
add esp, 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp - 0x1d], 0
je 0x42ac22
mov edx, dword [ebp - 0x84]
mov ecx, dword [0x52fe34]
push edx
call fcn.00460cd0
mov ecx, dword [0x52fe2c]
push 0
call fcn.00416770
cmp byte [ebp - 0x1f], 0
je 0x42ac50
mov ecx, dword [0x52fe2c]
push 0
push edi
call fcn.004135d0
test edi, edi
je 0x42ac50
push edi
call fcn.0044c4f0
add esp, 4
cmp byte [ebp - 0x16], 0
mov byte [ebp - 0x22], 0
je 0x42ac65
mov eax, dword [0x52fe30]
mov byte [eax + 0x20], 1
jmp 0x42ac76
push 0
lea ecx, [ebp - 0x22]
push ecx
mov ecx, dword [0x52fe30]
call fcn.004541b0
movzx eax, byte [ebp - 0x16]
mov edi, dword [ebp - 0x48]
mov ecx, dword [0x52fe34]
xor edx, edx
cmp byte [ebp - 0x22], dl
push edi
setne dl
neg eax
sbb eax, eax
and eax, 0x10
or edx, eax
or edx, 6
push edx
call fcn.00470420
cmp byte [ebp - 0x1a], 0
je 0x42acb3
mov ecx, dword [ebp - 0x7c]
push ecx
mov ecx, dword [0x52fe30]
call fcn.0044fb60
cmp byte [ebp - 0x18], 0
je 0x42acce
mov edx, dword [ebp - 0x80]
mov ecx, dword [0x52fe30]
push edx
add ecx, 0x1185c
call fcn.004b2490
cmp byte [ebp - 0x1c], 0
je 0x42ad2a
test ebx, ebx
je 0x42ace5
cmp word [ebx], 0
je 0x42ace5
mov eax, 1
jmp 0x42ace7
xor eax, eax
mov ecx, dword [0x52fe30]
mov byte [ecx + 0x11636], al
mov eax, dword [0x52fe30]
cmp dword [eax + 0x11638], 0
je 0x42ad24
mov edx, dword [eax + 0x11638]
push edx
call fcn.0044c4f0
mov eax, dword [0x52fe30]
mov dword [eax + 0x11638], 0
mov eax, dword [0x52fe30]
add esp, 4
mov dword [eax + 0x11638], ebx
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42ad42
push 1
push 1
push str.SettingsLoaded
call fcn.00409280
mov ecx, dword [0x52fe2c]
cmp byte [ecx + 0x1628], 0
je 0x42ad6e
cmp byte [ebp + 0xb], 0
je 0x42ad6e
push 1
push 1
call fcn.00427d10
add esp, 8
test al, al
jne 0x42ad6e
mov dword [ebp - 0x30], 0xa
cmp byte [ebp - 0x23], 0
je 0x42adc4
mov ebx, dword [ebp - 0x74]
mov ecx, dword [0x52fe2c]
push 1
push ebx
call fcn.004135d0
test al, al
jne 0x42ad98
cmp dword [ebp - 0x30], 0
jne 0x42adb7
mov dword [ebp - 0x30], 0xb
jmp 0x42adb7
mov ecx, dword [0x52fe30]
push 0
push 0
call fcn.00456500
test eax, eax
jne 0x42adb7
cmp dword [ebp - 0x30], eax
jne 0x42adb7
mov dword [ebp - 0x30], 0xc
test ebx, ebx
je 0x42adc4
push ebx
call fcn.0044c4f0
add esp, 4
cmp byte [ebp - 0x1e], 0
je 0x42ae28
cmp byte [ebp + 0xb], 0
mov edx, dword [0x52fe30]
mov byte [edx + 0xa6c], 1
mov eax, dword [0x52fe30]
mov byte [eax + 0xa6d], 1
je 0x42ae32
mov eax, dword [0x52fe2c]
cmp dword [eax + 0x40cc], 0
je 0x42ae1b
mov ecx, dword [eax + 0x40cc]
push 1
push 1
call fcn.00430c90
mov ecx, dword [0x52fe2c]
mov ecx, dword [ecx + 0x40cc]
push 1
push 1
call fcn.004315e0
mov edx, dword [0x52fe34]
mov byte [edx + 0x11c7f], 1
cmp byte [ebp + 0xb], 0
jne 0x42b4d1
test edi, edi
je 0x42aecd
cmp word [edi], 0
je 0x42aecd
mov esi, dword [ebp - 8]
cmp esi, 0xffffffff
jne 0x42aed0
lea ecx, [ebp - 0x64]
call fcn.00407080
xor ebx, ebx
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], edi
call fcn.00407360
add esp, 0xc
test eax, eax
jne 0x42aec3
mov edx, dword [ebp - 0x60]
push edx
call fcn.004aea00
add esp, 4
test al, al
je 0x42aec3
mov eax, dword [0x52fe2c]
cmp dword [eax + 0x2090], ebx
je 0x42aeaa
mov eax, dword [eax + 0x2090]
push eax
call fcn.0044c4f0
mov ecx, dword [0x52fe2c]
add esp, 4
mov dword [ecx + 0x2090], ebx
mov edx, dword [ebp - 0x60]
push edx
call fcn.004b21b0
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.004070a0
jmp 0x42b45b
lea ecx, [ebp - 0x64]
call fcn.004070a0
jmp 0x42aed0
mov esi, dword [ebp - 8]
mov ecx, dword [0x52fe2c]
xor ebx, ebx
cmp dword [ecx + 0x40a4], ebx
je 0x42aef0
mov eax, dword [ecx + 0x40a4]
cmp dword [eax + 0x18], 0xffffffff
je 0x42aaba
call fcn.004131c0
test al, al
je 0x42aaba
cmp byte [ebp - 0x12], 0
je 0x42af12
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [0x52fe34]
call fcn.0046ef40
cmp byte [ebp - 0x13], 0
jne 0x42af4a
mov eax, dword [ebp + 0x14]
cmp eax, 3
jne 0x42af32
mov edx, dword [0x52fe30]
mov dword [edx + 0x113f4], 0x520
jmp 0x42af59
cmp eax, 2
je 0x42af3c
cmp eax, 7
jne 0x42af59
mov eax, dword [0x52fe2c]
mov byte [eax + 0x4130], 1
jmp 0x42af59
mov ecx, dword [0x52fe30]
mov edx, dword [ebp - 0x70]
mov dword [ecx + 0x113f4], edx
cmp byte [ebp - 0x15], 0
je 0x42af6d
mov eax, dword [0x52fe30]
mov cl, byte [ebp - 0x17]
mov byte [eax + 0x1141a], cl
cmp byte [ebp - 0x21], 0
je 0x42af82
mov edx, dword [0x52fe30]
mov al, byte [ebp - 0x20]
mov byte [edx + 0x11641], al
mov ecx, dword [0x52fe34]
call fcn.004604a0
test al, al
jne 0x42afae
mov ecx, dword [0x52fe34]
push str.conman.exe
push ebx
push ebx
call fcn.0046a740
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42afb3
call fcn.00426ac0
cmp edi, ebx
je 0x42b164
cmp byte [ebp - 0x34], 0
mov dword [ebp + 0x14], ebx
mov dword [ebp + 8], ebx
je 0x42afea
push ebx
push edi
call fcn.0044c570
add esp, 8
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x42b151
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42aff0
sub eax, edx
sar eax, 1
lea ebx, [eax + 8]
cmp esi, 0xffffffff
jne 0x42b0ab
mov eax, dword [0x52fe30]
cmp byte [eax + 0x1168], 0
jne 0x42b0ab
cmp dword [eax + 0x116c], 0
je 0x42b0ab
mov ecx, dword [eax + 0x116c]
cmp word [ecx], 0
je 0x42b0ab
mov edx, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp + 0x14], edx
call fcn.00407080
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0x14]
push ecx
call fcn.00407360
add esp, 0xc
test eax, eax
jne 0x42b082
mov edx, dword [ebp - 0x60]
push edx
call fcn.00406ee0
add esp, 4
test al, al
je 0x42b079
mov eax, dword [0x52fe30]
mov eax, dword [eax + 0x116c]
mov dword [ebp + 0x14], eax
jmp 0x42b085
mov dword [ebp + 0x14], 0
jmp 0x42b0a3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42b0a3
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b090
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax + 3]
lea ecx, [ebp - 0x64]
call fcn.004070a0
lea ecx, [ebx + ebx]
push ecx
call fcn.0044c4d0
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x42aaba
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42b0f4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4e494c
push edx
call esi
push edi
call fcn.00406cc0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call esi
jmp 0x42b133
push edi
cmp esi, 0xffffffff
jne 0x42b120
mov ecx, 0x3f
mov word [eax], cx
call fcn.00406cc0
mov edx, dword [ebp + 8]
add esp, 4
push eax
add edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
add ecx, 2
jmp 0x42b136
call fcn.00406cc0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x42b151
cmp ax, 0x2d
je 0x42b151
push ecx
mov ecx, dword [0x52fe30]
call fcn.004534b0
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [0x52fe34]
lea edx, [ebp + 8]
push edx
call fcn.0045c410
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b17c
push 1
push 1
push str.Registering_local_fonts
call fcn.00409280
mov ecx, dword [0x52fe34]
call fcn.004771e0
cmp byte [ebp - 0x19], 0
je 0x42b192
mov ecx, dword [ebp - 0x2c]
jmp 0x42b195
or ecx, 0xffffffff
cmp byte [ebp - 0x11], 0
je 0x42b1a0
mov eax, dword [ebp - 0x78]
jmp 0x42b1a3
or eax, 0xffffffff
push ecx
mov ecx, dword [0x52fe34]
push eax
movzx eax, byte [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x4c]
push eax
call fcn.0046bf00
mov ecx, dword [0x52fe34]
call fcn.0045c4b0
test al, al
je 0x42b3a0
mov ecx, dword [0x52fe2c]
push 0
call fcn.00416770
test al, al
jne 0x42b3a0
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b1fc
push 1
push 1
push str.Checking_for_existing_instance
call fcn.00409280
push 0
push str.VirtualConsoleClass
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x42b301
mov ecx, dword [0x52fe34]
cmp dword [ecx + 0x12084], eax
jne 0x42b301
mov ecx, dword [0x52fe2c]
push 1
push 1
push str.TH32CS_SNAPPROCESS
mov byte [ebp + 0xb], al
call fcn.00409280
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x42b301
cmp edi, 0xffffffff
je 0x42b301
push 0x228
lea edx, [ebp - 0x340]
push 0
push edx
mov dword [ebp - 0x344], 0x22c
call fcn.004c9b50
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x344]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42b2e9
mov ecx, dword [ebp + 0x14]
cmp dword [ebp - 0x33c], ecx
je 0x42b2d2
lea edx, [ebp - 0x320]
push edx
call fcn.004c62c0
mov esi, eax
add esp, 4
test esi, esi
je 0x42b2d2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.ConEmu.exe
push esi
call ebx
test eax, eax
je 0x42b2e5
push str.ConEmu64.exe
push esi
call ebx
test eax, eax
je 0x42b2e5
lea eax, [ebp - 0x344]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42b294
jmp 0x42b2e9
mov byte [ebp + 0xb], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0xb], 0
je 0x42b301
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x52fe2c]
push 1
push 1
push str.isFirstInstance
call fcn.00409280
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x52fe2c]
push 0
mov ebx, eax
call fcn.00416770
test al, al
jne 0x42b388
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b354
push 1
push 1
push str.Waiting_for_RunSingleInstance
call fcn.00409280
mov ecx, dword [0x52fe2c]
push 0
push 0
call fcn.00415d40
test eax, eax
jne 0x42b419
push 0xfa
call esi
call edi
sub eax, ebx
cmp eax, 0x2710
ja 0x42b388
mov ecx, dword [0x52fe2c]
push 0
call fcn.00416770
test al, al
je 0x42b336
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b3be
push 1
push 1
push str.Existing_instance_was_terminated__continue_as_first_instance
call fcn.00409280
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b3be
push 1
push 1
push str.gpConEmu__Init
call fcn.00409280
mov ecx, dword [0x52fe2c]
call fcn.004195e0
test eax, eax
je 0x42aaba
call fcn.00427340
test eax, eax
je 0x42aaba
mov ecx, dword [0x52fe2c]
test ecx, ecx
je 0x42b3f6
push 1
push 1
push str.gpConEmu__CreateMainWindow
call fcn.00409280
mov ecx, dword [0x52fe2c]
call fcn.00424a50
test eax, eax
jne 0x42b438
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0044c4f0
add esp, 4
pop edi
pop esi
mov eax, 0x64
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x52fe2c]
push 1
push 1
push str.Passed_to_first_instance__exiting
call fcn.00409280
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x52fe2c]
push 0
call fcn.00422cb0
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.00427550
xor ebx, ebx
mov ecx, dword [0x52fe34]
call fcn.00460570
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0044c4f0
add esp, 4
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [0x52fe2c]
cmp ecx, ebx
je 0x42b491
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov dword [0x52fe2c], ebx
mov ecx, dword [0x52fe34]
cmp ecx, ebx
je 0x42b4b1
mov edi, ecx
call fcn.0046bd30
push edi
call fcn.0044c4f0
add esp, 4
mov dword [0x52fe34], ebx
mov ecx, dword [0x532dcc]
cmp ecx, ebx
je 0x42b4d1
mov edi, ecx
call fcn.004b10c0
push edi
call fcn.0044c4f0
add esp, 4
mov dword [0x532dcc], ebx
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10