Function at 0x4293f3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x5d4578]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x30], 0
je 0x429663
push dword [ebx + 0x4c]
push eax
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
test eax, eax
jne 0x429663
push eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.USER32.dll_DdeGetData]
test eax, eax
je 0x429663
movsx eax, byte [ebp - 0x108]
add eax, 0xffffffe0
push edi
cmp eax, 0x26
ja case.default.0x428bfd
jmp dword [eax*4 + 0x429678]
lea eax, [ebp - 0x107]
mov ecx, ebx
push eax
call fcn.00428680
mov eax, dword [ebx + 4]
cmp dword [eax + 0x115c], 0
je case.0x429403.46
push 1
mov ecx, ebx
call fcn.004299c0
jmp case.0x429403.46
lea ecx, [ebp - 0x107]
add ebx, 0x6c
mov eax, ecx
sub ebx, eax
lea ecx, [ecx]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x428c40
jmp case.0x429403.46
mov al, byte [ebp - 0x107]
and al, 1
cbw
mov word [ebx + 0x16c], ax
jmp case.0x429403.46
mov al, byte [ebp - 0x107]
and al, 1
cbw
mov word [ebx + 0x16e], ax
jmp case.0x429403.46
mov al, byte [ebp - 0x107]
and al, 3
cbw
mov word [ebx + 0x170], ax
test ax, ax
jne case.0x429403.46
mov eax, 1
mov word [ebx + 0x170], ax
jmp case.0x429403.46
lea esi, [ebx + 0x68]
push esi
lea eax, [ebp - 0x107]
push 0x5a9990
push eax
call fcn.0054cc90
add esp, 0xc
cmp eax, 1
je 0x428ccc
mov dword [esi], 0
xor eax, eax
mov dword [ebx + 0x64], 1
cmp dword [esi], eax
setg al
mov dword [ebx + 0x60], eax
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
push 1
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b470
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x428d60
mov eax, dword [ebx + 8]
push 2
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x138], 1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b470
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
lea edx, [ebx + 0x6c]
add ecx, 0x680
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x428db0
jmp case.0x429403.46
movsx eax, byte [ebx + 0x6c]
sub eax, 0x30
je 0x428df5
dec eax
je 0x428def
dec eax
jne case.0x429403.46
push eax
mov eax, dword [ebx + 4]
push 0x46
push 0x401
push dword [eax + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x429403.46
push 0
push 0x47
jmp 0x428df9
push 0
push 0x46
mov eax, dword [ebx + 4]
push 0x401
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x429403.46
mov dword [ebx + 0x38], 1
jmp case.0x429403.46
mov eax, dword [ebx + 4]
cmp dword [eax + 0x1160], 0
jne 0x428c15
mov ax, word [0x5aa670]
lea edx, [ebx + 0x6c]
mov word [ebp - 0x208], ax
mov esi, edx
mov al, byte [0x5aa672]
mov byte [ebp - 0x206], al
mov al, byte [edx]
inc edx
test al, al
jne 0x428e48
lea edi, [ebp - 0x208]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x428e58
mov eax, dword [ebx + 4]
mov ecx, edx
shr ecx, 2
add eax, 0x24
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x208]
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00415c90
mov eax, dword [ebx + 4]
mov ecx, 1
push 0
push 0
push 0x406
mov word [eax + 0x1210], cx
mov eax, dword [ebx + 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x429403.46
push 0
push 0x3e8
jmp 0x428df9
mov eax, dword [ebx + 4]
xor ecx, ecx
cmp word [ebx + 0x16c], cx
setne cl
mov dword [eax + 0x14], ecx
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
add ecx, 0x878
add ebx, 0x6c
jmp 0x428ee0
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx], al
lea ebx, [ebx + 1]
test al, al
jne 0x428ee0
jmp case.0x429403.46
cmp dword [ebx + 0x5c], 0
je case.0x429403.46
mov eax, dword [ebx + 4]
cmp word [eax + 0x8f6], 2
je 0x428f28
cmp byte [eax + 0x51f], 0
jne 0x428f28
push 0
mov ecx, ebx
call fcn.004299c0
mov dword [ebx + 0x5c], 0
jmp case.0x429403.46
mov ecx, 1
push 0
mov word [eax + 0x1210], cx
mov eax, dword [ebx + 4]
push 0
push 0x406
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebx + 0x5c], 0
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
mov ecx, 4
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov eax, 1
cmp byte [ebp - 0x108], 0x30
mov dword [ebx + 0x3c], 1
cmove eax, ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.0042ae60
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x428fe6
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x138], 1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
xor eax, eax
cmp byte [ebp - 0x108], 0x31
mov ecx, dword [ebx + 8]
setne al
mov dword [ebx + 0x3c], 1
add eax, 2
push eax
call fcn.0042ae60
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
lea edx, [ebx + 0x6c]
add ecx, 0x222
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x429044
push 0
push 0x3e9
jmp 0x428df9
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x44], 0
je case.0x429403.46
push 1
call fcn.0042a6e0
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x44], 0
lea eax, [ecx + 0x44]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x44]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x44]
mov dword [eax + 0x170], 1
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x44]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4290c1
mov ecx, dword [ebx + 4]
movzx eax, word [ebx + 0x16c]
mov word [ecx + 0x66a], ax
mov ecx, dword [ebx + 4]
movzx eax, word [ebx + 0x16e]
mov word [ecx + 0x66c], ax
mov ecx, dword [ebx + 8]
call fcn.00429f80
jmp case.0x429403.46
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
test esi, esi
je case.0x429403.46
push str.Start
push 0x89b
mov ecx, esi
mov dword [esi + 0xa0], 1
call fcn.00436182
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
mov ax, word [eax + 8]
or word [ecx + 0x8c0], ax
jmp case.0x429403.46
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
test esi, esi
je case.0x429403.46
push str.Pause
push 0x89b
mov ecx, esi
mov dword [esi + 0xa0], 0
call fcn.00436182
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
mov ax, word [eax + 8]
not ax
and word [ecx + 0x8c0], ax
jmp case.0x429403.46
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x44]
test edx, edx
je case.0x429403.46
lea esi, [ebx + 0x6c]
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4291a1
sub ecx, edi
push ecx
push esi
push dword [edx + 0x150]
call dword [sym.imp.KERNEL32.dll__lwrite]
lea ecx, [esi + 1]
jmp 0x4291c0
mov al, byte [esi]
inc esi
test al, al
jne 0x4291c0
mov eax, dword [ebx + 8]
sub esi, ecx
mov eax, dword [eax + 0x44]
add dword [eax + 0x158], esi
mov ecx, dword [ebx + 8]
call fcn.0042aba0
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
push 1
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b5f0
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x429260
mov eax, dword [ebx + 8]
push 2
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x138], 1
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b5f0
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
lea edx, [ebx + 0x6c]
add ecx, 0x123
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4292b0
push 0
push 0x3ea
jmp 0x428df9
push 0
push 0x1f
jmp 0x428df9
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x48], 0
lea eax, [ecx + 0x48]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x48]
add ecx, 0x32
lea ecx, [ecx]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x429310
mov ecx, dword [ebx + 4]
mov ax, word [ebx + 0x16c]
mov word [ecx + 0x66a], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042a580
jmp case.0x429403.46
lea eax, [ebx + 0x70]
push eax
call fcn.00428b00
movzx eax, ax
push eax
lea eax, [ebx + 0x6c]
push eax
call fcn.00428b00
movzx eax, ax
push eax
mov eax, dword [ebx + 4]
push 0x40c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
mov ax, word [ebx + 0x16c]
mov word [ecx + 0x80c], ax
mov eax, dword [ebx + 4]
cmp dword [eax + 0x115c], 0
je case.0x429403.46
cmp dword [eax + 0x11b8], 0
je case.0x429403.46
cmp word [eax + 0x900], 0
jbe case.0x429403.46
mov ecx, dword [ebx + 0x14]
call fcn.0042c5c0
jmp case.0x429403.46
mov ecx, dword [ebx + 4]
lea edx, [ebx + 0x6c]
add ecx, 0x878
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4293d8
mov ecx, dword [ebx + 4]
call fcn.0042c6e0
jmp case.0x429403.46
movsx eax, byte [ebx + 0x6c]
add eax, 0xffffffd3
cmp eax, 8
ja case.0x429403.46
jmp dword [eax*4 + 0x429714]
mov eax, dword [ebx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x429403.46
mov eax, dword [ebx + 4]
push 6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x429403.46
mov eax, dword [ebx + 4]
push 9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x429403.46
mov eax, dword [ebx + 4]
push 0
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x429403.46
mov eax, dword [ebx + 4]
push 6
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x429403.46
push 0
push 0x48
jmp 0x428df9
push 0
push 0x49
jmp 0x428df9
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4294b5
mov ecx, dword [ebx + 4]
movzx eax, word [ebx + 0x170]
push 1
mov word [ecx + 0x66e], ax
mov ecx, dword [ebx + 4]
movzx eax, word [ebx + 0x16c]
mov word [ecx + 0x670], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b060
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x429545
mov ecx, dword [ebx + 4]
mov ax, word [ebx + 0x170]
push 2
mov word [ecx + 0x66e], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b060
jmp case.0x429403.46
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
push 1
jmp 0x429617
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x4c], 0
lea eax, [ecx + 0x4c]
jne case.default.0x428bfd
push eax
call fcn.00429e50
test eax, eax
je case.default.0x428bfd
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x6c]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x134], 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x4c]
add ecx, 0x32
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4295e6
mov eax, dword [ebx + 8]
push 2
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x138], 1
mov ecx, dword [ebx + 4]
mov ax, word [ebx + 0x16c]
mov word [ecx + 0x670], ax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x4c]
mov dword [eax + 0x170], 1
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x3c], 1
call fcn.0042b2b0
pop edi
pop esi
mov eax, 0x8000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8