Function at 0x4a8350
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
push esi
push edi
mov edi, dword [esp + 0x40]
mov eax, edx
mov edx, dword [edi + 8]
test edx, edx
mov dword [esp + 8], eax
jne 0x4a83aa
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0x63
push esi
push edx
mov edx, dword [eax]
push edi
call fcn.004ed570
cmp eax, 1
jne 0x4a9525
mov ecx, dword [edi + 8]
cmp ecx, eax
je 0x4a9525
cmp ecx, 2
je 0x4a9525
push 6
mov edx, esi
mov ecx, edi
call fcn.004764c0
pop edi
pop esi
add esp, 0x34
ret 0x14
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4a9520
cmp edx, 2
jne 0x4a83c5
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a9520
mov esi, dword [eax + 0x1c]
mov ecx, 1
cmp esi, ecx
jne 0x4a83de
cmp edx, 2
jne 0x4a83e8
mov esi, dword [eax + 0x40]
cmp dword [esi + 0x1c], ecx
je 0x4a83e8
pop edi
mov eax, ecx
pop esi
add esp, 0x34
ret 0x14
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4a94ed
cmp edx, 2
jne 0x4a8406
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4a94ed
mov edi, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x50]
mov byte [ebx], 0
cmp dword [edi + 8], 2
mov ecx, dword [edi + 0x40]
push ebp
jne 0x4a8424
mov edx, dword [ecx + 0x40]
mov eax, dword [edx]
push eax
jmp 0x4a8446
mov ecx, dword [ecx]
call fcn.004ed210
test eax, eax
je 0x4a8477
mov edx, dword [edi + 0x40]
mov ecx, dword [edx]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4a8436
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
push ecx
call fcn.00563a6c
mov ebp, eax
add esp, 4
cmp ebp, 0x270e
jle 0x4a847e
mov ebp, 0x270e
mov ecx, ebx
call fcn.005367f0
mov edi, eax
test edi, edi
je 0x4a8574
xor esi, esi
xor ebp, ebp
jmp 0x4a8641
mov ebp, 0x270f
jmp 0x4a845d
test ebp, ebp
jne 0x4a845d
mov esi, dword [0x5a1af8]
test esi, esi
mov dword [esp + 0x54], ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4a855b
lea ebx, [ebx]
mov edx, dword [esp + 0x58]
cmp dword [esi + 0xbb4], edx
je 0x4a84c9
mov eax, dword [esi + 0x700]
cmp eax, 5
jl 0x4a854d
cmp eax, 7
jle 0x4a84c9
cmp eax, 9
jne 0x4a854d
mov ecx, dword [edi + 8]
mov eax, 2
cmp ecx, eax
jne 0x4a8540
cmp dword [esi + 0x700], eax
jne 0x4a8516
mov eax, dword [esi + 0x704]
cmp eax, 3
je 0x4a84ed
cmp eax, 4
jne 0x4a8516
lea edi, [esi + 8]
push 0x20
push edi
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4a8503
mov eax, edi
jmp 0x4a8504
inc eax
push eax
push 0x578c04
push ebx
call ebp
mov edi, dword [esp + 0x54]
add esp, 0xc
jmp 0x4a852a
lea eax, [esi + 8]
mov edx, ebx
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a8520
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
push 1
push 0
mov edx, ebx
call fcn.00535d60
test eax, eax
je 0x4a854d
jmp 0x4a8549
cmp dword [esi + 0x700], 9
jne 0x4a854d
inc dword [esp + 0x54]
mov esi, dword [esi + 0xd84]
test esi, esi
jne 0x4a84a0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call ebp
add esp, 0xc
jmp case.default.0x4a8e15
mov esi, dword [0x5a1af8]
test esi, esi
je case.default.0x4a8e15
mov eax, dword [esi + 0xbb4]
cmp eax, dword [esp + 0x58]
je 0x4a85ab
mov eax, dword [esi + 0x700]
cmp eax, 5
jl 0x4a8700
cmp eax, 7
jle 0x4a85ab
cmp eax, 9
jne 0x4a8700
mov eax, dword [esi + 0x700]
mov edi, 2
cmp eax, edi
jne 0x4a85f8
mov eax, dword [esi + 0x704]
cmp eax, 3
je 0x4a85ca
cmp eax, 4
jne 0x4a85f8
lea edi, [esi + 8]
push 0x20
push edi
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4a85e0
mov eax, edi
jmp 0x4a85e1
inc eax
push eax
push 0x578c04
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 2
jmp 0x4a860a
lea eax, [esi + 8]
mov edx, ebx
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a8600
cmp ebp, 0x270f
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
jne 0x4a86d4
cmp ecx, edi
jne 0x4a86bb
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
push 1
push 0
mov edx, ebx
call fcn.00535d60
test eax, eax
je 0x4a8700
xor ebp, ebp
mov edi, dword [esi]
test edi, edi
je case.default.0x4a8e15
test ebp, ebp
jne case.default.0x4a8e15
test esi, esi
lea edx, [esp + 0x1c]
je 0x4a90df
mov ecx, dword [esi]
call fcn.00538440
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4a9066
mov eax, edx
mov ecx, dword [eax]
push 0x2e
push ecx
call fcn.00563c90
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4a9066
push 0x5752dc
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8713
mov edx, dword [esp + 0x1c]
push edx
mov eax, dword [esp + 0x50]
push 0x5748f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
mov edx, dword [eax + 0x40]
mov eax, dword [edx]
push ebx
push eax
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4a863d
jmp 0x4a8700
cmp ecx, edi
jne 0x4a86ee
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
push 1
push 0
mov edx, ebx
call fcn.00535d60
test eax, eax
je 0x4a86f8
jmp 0x4a86f7
cmp dword [esi + 0x700], 9
jne 0x4a86f8
dec ebp
test ebp, ebp
jle 0x4a863f
mov esi, dword [esi + 0xd84]
test esi, esi
jne 0x4a8582
jmp case.default.0x4a8e15
push 0x5752d8
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8742
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5752d4
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8771
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5752d0
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a87a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push edx
push 0x5748f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x578f9c
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a87ff
mov ecx, dword [esi]
call fcn.00536a40
test eax, eax
lea ecx, [esp + 0x1c]
je 0x4a87d4
mov edx, dword [0x5a1b04]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x4a869e
mov eax, dword [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x1c], eax
call fcn.004dbcc0
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
jmp 0x4a869e
push 0x578f94
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8864
mov ecx, dword [esi]
call fcn.00536a40
test eax, eax
lea ecx, [esp + 0x1c]
je 0x4a8837
mov edx, dword [0x5a1b04]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x20]
jmp 0x4a86a2
mov eax, dword [esp + 0x20]
push 0
push ecx
lea edx, [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], eax
call fcn.004dbcc0
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov edx, eax
jmp 0x4a86a2
push 0x579208
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8895
mov ecx, dword [esi + 0x844]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x579200
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a88c6
mov eax, dword [esi + 0x848]
mov ecx, dword [esp + 0x4c]
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5791f8
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8911
mov esi, dword [esi + 0x940]
test esi, esi
je case.default.0x4a8e15
lea edx, [esp + 0x2c]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5791f0
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a895c
mov esi, dword [esi + 0x940]
test esi, esi
je case.default.0x4a8e15
lea edx, [esp + 0x2c]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push str..sbtext
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8989
mov ecx, esi
call fcn.0051ab00
mov ecx, dword [esp + 0x4c]
push eax
mov edx, 4
call fcn.0041e120
jmp case.default.0x4a8e15
push str..sbcolor
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8a0c
mov esi, dword [esi + 0x708]
cmp esi, 1
jne 0x4a89c0
mov edx, dword [str.message]
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
mov ecx, dword [0x575bdc]
mov dword [eax + 4], ecx
jmp case.default.0x4a8e15
cmp esi, 3
jne 0x4a89e0
mov eax, dword [str.event]
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov cx, word [0x5791d4]
mov word [edx + 4], cx
jmp case.default.0x4a8e15
cmp esi, 2
jne case.default.0x4a8e15
mov eax, dword [str.highlight]
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov ecx, dword [0x577818]
mov dword [edx + 4], ecx
mov ax, word [0x57781c]
mov word [edx + 8], ax
jmp case.default.0x4a8e15
push str..state
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8b25
mov eax, dword [0x589bd0]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsIconic]
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
je 0x4a8a73
mov eax, dword [esi + 0xa18]
test eax, eax
jne 0x4a8aa0
push edi
call ebx
test eax, eax
jne 0x4a8a4f
push edi
call ebp
test eax, eax
jne 0x4a8aa0
mov edx, dword [str.hidden]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov ax, word [0x5784a0]
mov word [ecx + 4], ax
mov dl, byte [0x5784a2]
mov byte [ecx + 6], dl
jmp case.default.0x4a8e15
mov eax, dword [esi]
push eax
call ebp
test eax, eax
jne 0x4a8aa0
mov edx, dword [str.hidden]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov ax, word [0x5784a0]
mov word [ecx + 4], ax
mov dl, byte [0x5784a2]
mov byte [ecx + 6], dl
jmp case.default.0x4a8e15
push edi
call ebx
test eax, eax
jne 0x4a8b01
push edi
call ebp
test eax, eax
je 0x4a8b01
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4a8ade
mov ecx, dword [str.maximized]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov edx, dword [0x578488]
mov dword [eax + 4], edx
mov cx, word [0x57848c]
mov word [eax + 8], cx
jmp case.default.0x4a8e15
mov eax, dword [str.normal]
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov cx, word [0x578480]
mov word [edx + 4], cx
mov al, byte [0x578482]
mov byte [edx + 6], al
jmp case.default.0x4a8e15
mov edx, dword [str.minimized]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov eax, dword [0x578494]
mov dword [ecx + 4], eax
mov dx, word [0x578498]
mov word [ecx + 8], dx
jmp case.default.0x4a8e15
push str..icon
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8b95
mov eax, dword [0x589bd0]
test eax, eax
je 0x4a8b66
mov eax, dword [esi + 0xa18]
test eax, eax
mov eax, dword [esp + 0x4c]
je 0x4a8b8a
mov cx, word [0x5750c8]
mov word [eax], cx
mov dl, byte [0x5750ca]
mov byte [eax + 2], dl
jmp case.default.0x4a8e15
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a8b86
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a8b86
mov eax, dword [esp + 0x4c]
jmp 0x4a8b4e
mov eax, dword [esp + 0x4c]
mov dword [eax], 0x66666f
jmp case.default.0x4a8e15
push str..mdi
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8bd1
mov ecx, edi
call fcn.00536a40
test eax, eax
mov ecx, dword [esp + 0x4c]
je 0x4a8d3e
mov edx, dword [str._true]
mov dword [ecx], edx
mov ax, word [0x5748d4]
mov word [ecx + 4], ax
jmp case.default.0x4a8e15
push str..font
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8bff
mov edx, dword [esp + 0x4c]
lea eax, [esi + 0x970]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a8bf0
jmp case.default.0x4a8e15
push str..fontbold
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8c5a
cmp dword [esi + 0x9d8], 0x190
mov eax, dword [esp + 0x4c]
jle 0x4a8c39
mov ecx, dword [str._true]
mov dword [eax], ecx
mov dx, word [0x5748d4]
mov word [eax + 4], dx
jmp case.default.0x4a8e15
mov ecx, dword [str._false]
mov dword [eax], ecx
mov dx, word [0x5748c4]
mov word [eax + 4], dx
mov cl, byte [0x5748c6]
mov byte [eax + 6], cl
jmp case.default.0x4a8e15
push str..fontsize
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8c77
mov edx, dword [esi + 0x9d4]
jmp 0x4a86a2
push 6
push str..title
push ebp
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x4a8cd3
push 0x100
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x20
push ebx
mov byte [ebx + 0x100], 0
call fcn.00563730
add esp, 8
test eax, eax
je case.default.0x4a8e15
mov cl, byte [eax + 1]
inc eax
test cl, cl
je case.default.0x4a8e15
mov edx, dword [esp + 0x4c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a8cc4
jmp case.default.0x4a8e15
push str..logfile
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8d0f
mov eax, dword [esi + 0x6a8]
test eax, eax
je case.default.0x4a8e15
mov edx, dword [esp + 0x4c]
lea eax, [esi + 0x4a0]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a8d00
jmp case.default.0x4a8e15
push str..stamp
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8d67
mov esi, dword [esi + 0x728]
cmp esi, 1
je 0x4a8d5e
cmp esi, 2
jne 0x4a8d3a
mov eax, dword [0x59bb8c]
test eax, eax
jne 0x4a8d5e
mov ecx, dword [esp + 0x4c]
mov edx, dword [str._false]
mov dword [ecx], edx
mov ax, word [0x5748c4]
mov word [ecx + 4], ax
mov dl, byte [0x5748c6]
mov byte [ecx + 6], dl
jmp case.default.0x4a8e15
mov eax, dword [esp + 0x4c]
jmp 0x4a8c21
push str..ontop
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8d8b
mov eax, dword [esi]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 8
jmp 0x4a8bb0
push str..type
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8fa1
mov ecx, dword [str.unknown]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov edx, dword [0x574834]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x700]
cmp ecx, 9
ja case.default.0x4a8e15
jmp dword [ecx*4 + 0x4a9530]
mov ecx, dword [str.status]
mov dword [eax], ecx
mov dx, word [0x57551c]
mov word [eax + 4], dx
mov cl, byte [0x57551e]
mov byte [eax + 6], cl
jmp case.default.0x4a8e15
mov edx, dword [str.channel]
mov dword [eax], edx
mov ecx, dword [0x574d34]
mov dword [eax + 4], ecx
jmp case.default.0x4a8e15
mov esi, dword [esi + 0x704]
lea ecx, [esi - 1]
cmp ecx, 3
ja case.default.0x4a8e15
jmp dword [ecx*4 + 0x4a9558]
mov edx, dword [str.query]
mov dword [eax], edx
mov cx, word [0x575bfc]
mov word [eax + 4], cx
jmp case.default.0x4a8e15
mov edx, dword [str.message]
mov dword [eax], edx
mov ecx, dword [0x575bdc]
mov dword [eax + 4], ecx
jmp case.default.0x4a8e15
mov edx, dword [str.chat]
mov dword [eax], edx
mov cl, byte [0x576950]
mov byte [eax + 4], cl
jmp case.default.0x4a8e15
mov edx, dword [str.fserve]
mov dword [eax], edx
mov cx, word [0x5764d4]
mov word [eax + 4], cx
mov dl, byte [0x5764d6]
mov byte [eax + 6], dl
jmp case.default.0x4a8e15
mov esi, dword [esi + 0x704]
dec esi
je 0x4a8e9c
dec esi
jne case.default.0x4a8e15
mov dword [eax], 0x746567
jmp case.default.0x4a8e15
mov ecx, dword [str.send]
mov dword [eax], ecx
mov dl, byte [0x5768d4]
mov byte [eax + 4], dl
jmp case.default.0x4a8e15
mov ecx, dword [str.chanlist]
mov dword [eax], ecx
mov edx, dword [0x579190]
mov dword [eax + 4], edx
mov cl, byte [0x579194]
mov byte [eax + 8], cl
jmp case.default.0x4a8e15
mov edx, dword [str.finger]
mov dword [eax], edx
mov cx, word [0x576510]
mov word [eax + 4], cx
mov dl, byte [0x576512]
mov byte [eax + 6], dl
jmp case.default.0x4a8e15
mov ecx, dword [str.urls]
mov dword [eax], ecx
mov dl, byte [0x579188]
mov byte [eax + 4], dl
jmp case.default.0x4a8e15
mov ecx, dword [str.notify]
mov dword [eax], ecx
mov dx, word [0x575be8]
mov word [eax + 4], dx
mov cl, byte [0x575bea]
mov byte [eax + 6], cl
jmp case.default.0x4a8e15
mov edx, dword [str.links]
mov dword [eax], edx
mov cx, word [0x576cb8]
mov word [eax + 4], cx
jmp case.default.0x4a8e15
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x4a8f61
mov edx, dword [str.picture]
mov dword [eax], edx
mov ecx, dword [0x574ad4]
mov dword [eax + 4], ecx
jmp case.default.0x4a8e15
cmp dword [esi + 0x704], 1
jne 0x4a8f80
mov edx, dword [str.listbox]
mov dword [eax], edx
mov ecx, dword [0x57917c]
mov dword [eax + 4], ecx
jmp case.default.0x4a8e15
mov edx, dword [str.custom]
mov dword [eax], edx
mov cx, word [0x579174]
mov word [eax + 4], cx
mov dl, byte [0x579176]
mov byte [eax + 6], dl
jmp case.default.0x4a8e15
push str..anysc
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8fca
mov eax, dword [esi + 0xbbc]
test eax, eax
mov eax, dword [esp + 0x4c]
je 0x4a8c39
jmp 0x4a8c21
push str..hwnd
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a8fe3
mov edx, dword [esi]
jmp 0x4a86a2
push str..wid
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a9011
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push str..cid
push ebp
call fcn.00572b46
add esp, 8
test eax, eax
jne case.default.0x4a8e15
mov ecx, dword [esi + 0xbb4]
call fcn.004dbea0
test eax, eax
je 0x4a9058
mov eax, dword [esi + 0xbb4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
mov eax, dword [esp + 0x4c]
mov word [eax], 0x30
jmp case.default.0x4a8e15
cmp dword [esi + 0x700], 2
jne 0x4a90c6
mov eax, dword [esi + 0x704]
cmp eax, 3
je 0x4a907f
cmp eax, 4
jne 0x4a90c6
add esi, 8
push 0x20
push esi
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4a90ac
mov ecx, dword [esp + 0x4c]
mov eax, esi
push eax
push 0x578c04
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
mov ecx, dword [esp + 0x4c]
inc eax
push eax
push 0x578c04
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
mov edx, dword [esp + 0x4c]
lea eax, [esi + 8]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4a90d0
jmp case.default.0x4a8e15
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je case.default.0x4a8e15
mov ecx, eax
mov edx, dword [ecx]
push 0x2e
push edx
call fcn.00563c90
mov esi, eax
add esp, 8
test esi, esi
je case.default.0x4a8e15
push 0x5752dc
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a913e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5752d8
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a9159
mov edx, dword [esp + 0x20]
jmp 0x4a86a2
push 0x5752d4
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a918e
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
sub ecx, edi
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x5752d0
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a91c3
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
sub eax, ebx
push eax
push 0x5748f8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x578f9c
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a923d
cmp edi, dword [0x5a1b04]
jne 0x4a9208
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.004c9500
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
push ecx
push 0x5748f8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.default.0x4a8e15
push 0x578f94
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a928f
cmp edi, dword [0x5a1b04]
jne 0x4a926e
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.004c9500
mov edx, dword [esp + 0x20]
jmp 0x4a86a2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x20]
jmp 0x4a86a2
push 0x579208
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a92d6
cmp edi, dword [0x5a1b04]
lea ecx, [esp + 0x1c]
jne 0x4a92c1
xor edx, edx
call fcn.004c9500
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
jmp 0x4a86a2
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
jmp 0x4a86a2
push 0x579200
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a931d
cmp edi, dword [0x5a1b04]
lea ecx, [esp + 0x1c]
jne 0x4a9308
xor edx, edx
call fcn.004c9500
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
jmp 0x4a86a2
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
jmp 0x4a86a2
push str..state
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a93eb
mov eax, dword [0x5a13f0]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
je 0x4a9362
push edi
call esi
test eax, eax
jne 0x4a9362
mov edx, dword [str.tray]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov al, byte [0x5760d0]
mov byte [ecx + 4], al
jmp case.default.0x4a8e15
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a93c8
push edi
call esi
test eax, eax
je 0x4a93c8
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4a93a3
mov edx, dword [str.maximized]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edx
mov eax, dword [0x578488]
mov dword [ecx + 4], eax
mov dx, word [0x57848c]
mov word [ecx + 8], dx
jmp case.default.0x4a8e15
mov ecx, dword [str.normal]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov dx, word [0x578480]
mov word [eax + 4], dx
mov cl, byte [0x578482]
mov byte [eax + 6], cl
jmp case.default.0x4a8e15
mov eax, dword [str.minimized]
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov ecx, dword [0x578494]
mov dword [edx + 4], ecx
mov ax, word [0x578498]
mov word [edx + 8], ax
jmp case.default.0x4a8e15
push str..icon
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a943d
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a942e
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a942e
mov dx, word [0x5750c8]
mov ecx, dword [esp + 0x4c]
mov word [ecx], dx
mov al, byte [0x5750ca]
mov byte [ecx + 2], al
jmp case.default.0x4a8e15
mov ecx, dword [esp + 0x4c]
mov dword [ecx], 0x66666f
jmp case.default.0x4a8e15
push str..type
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a949b
cmp edi, dword [0x5a1b00]
jne 0x4a9470
mov eax, dword [0x575370]
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov cl, byte [0x575374]
mov byte [edx + 4], cl
jmp case.default.0x4a8e15
cmp edi, dword [0x5a1b04]
jne 0x4a9484
mov edx, dword [esp + 0x4c]
mov dword [edx], 0x69646d
jmp case.default.0x4a8e15
mov ecx, dword [str.desktop]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov edx, dword [0x579168]
mov dword [eax + 4], edx
jmp case.default.0x4a8e15
push str..hwnd
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a94b3
push edi
jmp 0x4a86a3
push str..wid
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4a94d0
mov ecx, dword [esp + 0x4c]
mov word [ecx], 0x30
jmp case.default.0x4a8e15
push str..cid
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne case.default.0x4a8e15
mov edx, dword [esp + 0x4c]
mov word [edx], 0x30
pop ebp
pop ebx
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 8]
test eax, eax
jle 0x4a9519
mov edi, dword [esp + 8]
lea esp, [esp]
mov edx, dword [esi + 0x40]
mov ecx, dword [edi]
call fcn.004c2730
mov dword [edi], eax
mov ecx, dword [esi + 8]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 8], ecx
jg 0x4a9500
mov dword [esi + 8], 0
mov eax, 2
pop edi
pop esi
add esp, 0x34
ret 0x14