Function at 0x4b6150
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor ebp, ebp
cmp ecx, ebp
je 0x4b6f14
cmp dword [eax + 8], ebp
je 0x4b6f14
cmp dword [eax + 0xc], ebp
je 0x4b6f14
push ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [eax + 0xc]
push edi
mov dword [esp + 0x14], ebp
call fcn.00454800
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov ebx, eax
mov eax, dword [esi + 0x12f0]
push eax
push ebp
neg ebx
sbb ebx, ebx
push 1
push ebp
xor edx, edx
neg ebx
call fcn.004e1ab0
mov ecx, esi
call fcn.00487b30
test eax, eax
jne 0x4b6f12
mov edx, dword [esi + 0x12f0]
test byte [edx + 0x1da8], 0x20
je 0x4b629b
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x28
jne 0x4b6243
cmp byte [eax + 1], 0x23
jne 0x4b6243
cmp byte [eax + 2], 0x47
jne 0x4b6243
push 0x29
push eax
call fcn.00563730
add esp, 8
cmp eax, ebp
je 0x4b6243
mov byte [eax], 0
mov ecx, dword [esi]
mov ebp, dword [ecx + 0xc]
mov ecx, ebp
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4b6200
sub ecx, edi
cmp ecx, 0xb
jb 0x4b623c
mov dl, byte [eax + 1]
test dl, dl
lea ecx, [eax + 1]
je 0x4b623c
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
je 0x4b623c
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4b6225
sub eax, edi
inc eax
push eax
push ecx
push ebp
call fcn.005641d0
add esp, 0xc
jmp 0x4b623f
mov byte [eax], 0x29
mov ebp, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [eax]
call fcn.004f8240
test al, al
je 0x4b629b
mov eax, dword [esi + 0x12f0]
mov ecx, dword [eax + 0xf28]
imul ecx, ecx, 0x64
lea edx, [ecx + eax + 0xdfc]
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4b629b
mov edx, dword [esi]
mov eax, dword [edx]
lea edi, [esi + 0x918]
push eax
mov edx, 0x104
mov ecx, edi
call fcn.0041e120
mov ecx, dword [esi]
mov dword [ecx + 8], edi
mov eax, dword [0x58f4e4]
test eax, eax
je 0x4b62b3
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
cmp byte [ecx], 0
je 0x4b62b3
call fcn.00417650
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
cmp byte [ecx], 0
je 0x4b6318
mov eax, dword [0x5981d0]
test eax, eax
je 0x4b62dd
mov edx, str.codes
mov ecx, esi
call fcn.004b9e30
test eax, eax
je 0x4b62dd
mov edx, 0xf
jmp 0x4b6308
mov eax, dword [esi + 0x12f0]
mov ecx, dword [eax + 0xf28]
imul ecx, ecx, 0x64
lea edx, [ecx + eax + 0xdfc]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4b6318
or edx, 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call fcn.00518d60
mov dword [esi + 0x810], eax
mov ecx, esi
call fcn.004bb360
test eax, eax
je 0x4b6f12
mov ecx, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [ecx + 8]
call fcn.004f8240
mov edx, dword [esi + 0x12f0]
test al, al
mov eax, dword [esi]
je 0x4b63f7
mov ecx, dword [eax + 8]
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4b6454
mov ecx, dword [esi]
mov ecx, dword [ecx]
push 0
push 2
mov edx, edi
call fcn.004de770
test eax, eax
je 0x4b638b
mov edx, dword [esi + 0x12f0]
mov ecx, dword [esi]
mov ecx, dword [ecx]
push edx
mov edx, dword [esi + 0x7e0]
push 0
lea eax, [esi + 0xf07]
push eax
call fcn.004955c0
mov edx, dword [esi]
mov edx, dword [edx]
mov ecx, edi
call fcn.00431060
mov eax, dword [0x5981d0]
test eax, eax
je 0x4b63b3
mov edx, str.channel
mov ecx, esi
call fcn.004b9e30
test eax, eax
jne 0x4b6f12
mov eax, dword [0x59f678]
test eax, eax
je 0x4b63f0
lea ebp, [esi + 0xf07]
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e210
mov eax, dword [esi]
push eax
mov edx, ebp
mov ecx, 3
call fcn.004ed300
mov ecx, dword [esi + 0x12f0]
mov edx, dword [esi]
mov edx, dword [edx]
push ecx
push ebp
mov ecx, edi
call fcn.00518580
mov ebp, 2
jmp 0x4b6454
mov ecx, dword [eax]
call fcn.004b97c0
test eax, eax
je 0x4b6421
mov ecx, dword [esi + 0x12f0]
mov eax, dword [esi]
push ecx
mov ecx, dword [eax]
push 0
lea edx, [esi + 0xf07]
push edx
mov edx, dword [esi + 0x7e0]
call fcn.004955c0
mov ecx, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [ecx]
call fcn.004dc5a0
test ebx, ebx
mov edi, eax
je 0x4b644f
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 7
push 0x575b28
push eax
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x4b6454
mov ebp, 1
mov edx, esi
mov ecx, edi
call fcn.004bb450
test ebx, ebx
je 0x4b6533
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push 7
push 0x575b28
push edx
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x4b64cb
test edi, edi
jne 0x4b650c
mov eax, dword [0x5981d0]
test eax, eax
je 0x4b64b7
mov eax, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [eax + 8]
call fcn.004f8240
test al, al
jne 0x4b64b7
mov edx, str.private
mov ecx, esi
call fcn.004b9e30
test eax, eax
jne 0x4b6f12
mov ecx, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [ecx + 8]
call fcn.004f8240
test al, al
jmp 0x4b6506
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 4
push 0x5799a0
push eax
call fcn.00572b89
add esp, 0xc
test eax, eax
mov eax, dword [0x5981d0]
jne 0x4b64f4
test eax, eax
je 0x4b650c
mov edx, 0x574d0c
jmp 0x4b64fd
test eax, eax
je 0x4b650c
mov edx, 0x574d18
mov ecx, esi
call fcn.004b9e30
test eax, eax
jne 0x4b6f12
test ebp, ebp
je 0x4b6522
mov ecx, dword [esi + 0x12f0]
mov eax, dword [esi]
push ecx
mov ecx, dword [eax]
mov edx, ebp
call fcn.0051da50
mov edx, edi
mov ecx, esi
call fcn.00455620
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
test ebp, ebp
je 0x4b6549
mov ecx, dword [esi + 0x12f0]
mov eax, dword [esi]
push ecx
mov ecx, dword [eax]
mov edx, ebp
call fcn.0051da50
mov ecx, dword [esi]
mov edx, dword [esi + 0x12f0]
mov ecx, dword [ecx + 8]
call fcn.004f8240
test al, al
je 0x4b66da
test edi, edi
mov ebx, 1
je 0x4b66c0
cmp dword [edi + 0x700], ebx
jne 0x4b66c0
mov eax, dword [0x589174]
test eax, eax
je 0x4b65a2
mov edx, ebx
mov ecx, edi
call fcn.004114a0
test eax, eax
je 0x4b65a2
mov edx, dword [esi + 0x12f0]
push 0
push edx
mov edx, ebx
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b65d0
mov ecx, dword [esi + 0x12f0]
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b66a7
lea ecx, [esi + 0x7ec]
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c698], ebx
mov dword [0x59c69c], ebx
mov dword [0x59c6a0], ebx
cmp byte [ecx], 0
lea ebp, [esi + 0xb20]
je 0x4b6642
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ebx, dword [0x5940a0]
push edx
mov edx, dword [eax]
push ecx
mov ecx, dword [esi + 0x12f0]
push ecx
push edx
mov edx, 1
mov ecx, edi
call fcn.004de530
push eax
push str._s:_s_s
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4b6670
mov ecx, dword [esi]
mov eax, dword [esi + 0x12f0]
mov edx, dword [ecx]
mov ebx, dword [0x59409c]
push eax
push edx
mov edx, 1
mov ecx, edi
call fcn.004de530
push eax
push 0x576b38
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esi]
push eax
mov edx, ebp
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], 1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [0x59c6ac], edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [0x59c6b0], ecx
mov ecx, dword [edi]
push ebx
mov edx, ebp
call fcn.004fb730
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6f12
push 0
lea edx, [esp + 0x14]
push edx
jmp 0x4b6efb
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push 0x2e
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4b6f12
jmp 0x4b66ed
mov edx, dword [esi]
mov eax, dword [edx + 8]
cmp byte [eax], 0x24
jne 0x4b67cf
mov ebx, 1
mov eax, dword [0x5891ac]
test eax, eax
je 0x4b6714
mov eax, dword [0x58e798]
test eax, eax
je 0x4b6714
mov ecx, dword [esi + 0x12f0]
push 0
push ecx
mov edx, 6
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b673e
mov ecx, dword [esi + 0x12f0]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b67b6
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c69c], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
lea edi, [esi + 0xb20]
push 0x579984
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi]
add esp, 0xc
push edx
mov edx, edi
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [0x59c6ac], ecx
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [0x5940a0]
mov dword [0x59c6b0], eax
mov eax, dword [esi + 0x12f0]
push ecx
mov ecx, dword [eax]
mov edx, edi
call fcn.004fc570
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6f12
push 0
lea ecx, [esp + 0x14]
push ecx
jmp 0x4b6efb
test edi, edi
jne 0x4b67f0
mov eax, dword [0x5981d0]
test eax, eax
je 0x4b67f0
mov edx, str.private
mov ecx, esi
call fcn.004b9e30
test eax, eax
jne 0x4b6f12
mov eax, dword [0x59f678]
test eax, eax
je 0x4b6839
lea ebp, [esi + 0xf07]
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e210
mov edx, dword [esi]
push edx
mov edx, ebp
mov ecx, 3
call fcn.004ed300
mov eax, dword [esi + 0x12f0]
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
push ebp
mov ecx, edi
call fcn.00518580
test eax, eax
je 0x4b6839
test edi, edi
je 0x4b6f12
test byte [0x5988d4], 0x20
jne 0x4b6f12
test edi, edi
je 0x4b6965
mov eax, dword [0x589198]
test eax, eax
je 0x4b687c
mov edx, 2
mov ecx, edi
call fcn.004114a0
test eax, eax
je 0x4b687c
mov edx, dword [esi + 0x12f0]
push 0
push edx
mov edx, 3
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x59ca60]
test eax, eax
mov ebx, 1
je 0x4b68af
mov ecx, dword [esi + 0x12f0]
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b694c
mov ecx, edi
call fcn.00536900
test eax, eax
je 0x4b694c
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c698], ebx
mov dword [0x59c69c], ebx
mov dword [0x59c6a0], ebx
mov ecx, dword [esi + 0x12f0]
mov edx, dword [esi]
mov eax, dword [edx]
push ecx
push eax
mov edx, ebx
xor ecx, ecx
lea ebp, [esi + 0xb20]
call fcn.004de530
push eax
push 0x576b38
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi]
add esp, 0xc
push ecx
mov edx, ebp
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], ebx
mov edx, dword [esi]
mov eax, dword [edx]
mov dword [0x59c6ac], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [0x59409c]
mov dword [0x59c6b0], edx
mov ecx, dword [edi]
push eax
mov edx, ebp
call fcn.004fb730
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6f12
push 0
lea ecx, [esp + 0x14]
push ecx
jmp 0x4b6efb
mov eax, dword [0x59b518]
test eax, eax
je 0x4b6ad1
mov eax, dword [0x589b70]
test eax, eax
je 0x4b69aa
mov edx, dword [esi + 0x12f0]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x7e0]
call fcn.004e0930
test eax, eax
je 0x4b69aa
mov ecx, dword [eax + 0x3a0]
mov ebx, 1
cmp ecx, ebx
je 0x4b6ad6
jmp 0x4b69af
mov ebx, 1
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b69dd
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x12f0]
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b6a85
mov ecx, esi
call fcn.004bb950
test eax, eax
je 0x4b6f12
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c698], ebx
mov dword [0x59c69c], ebx
mov dword [0x59c6a0], ebx
mov edx, dword [esi + 0x12f0]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push ecx
mov edx, ebx
xor ecx, ecx
lea edi, [esi + 0xb20]
call fcn.004de530
push eax
push 0x576f60
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi]
add esp, 0xc
push edx
mov edx, edi
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [0x59c6ac], ecx
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [0x59409c]
mov dword [0x59c6b0], eax
mov eax, dword [esi + 0x12f0]
push ecx
mov ecx, dword [eax + 0x1f1c]
mov edx, edi
call fcn.004fb730
mov eax, dword [0x589198]
test eax, eax
je 0x4b6eeb
mov ecx, dword [esi + 0x12f0]
mov ecx, dword [ecx + 0x1f1c]
call fcn.005366c0
mov edx, 2
mov ecx, eax
call fcn.004114a0
test eax, eax
je 0x4b6eeb
mov edx, dword [esi + 0x12f0]
push 0
push edx
mov edx, 3
mov ecx, esi
call fcn.00413bb0
jmp 0x4b6eeb
mov ebx, 1
mov eax, dword [0x59bb88]
test eax, eax
je 0x4b6c1f
mov ecx, dword [0x5a1b0c]
call fcn.005366c0
mov ebp, eax
test ebp, ebp
je 0x4b6c1f
mov eax, dword [esi + 0x12f0]
cmp dword [ebp + 0xbb4], eax
jne 0x4b6c1f
cmp dword [ebp + 0x700], ebx
jne 0x4b6c1f
mov ecx, dword [0x589198]
test ecx, ecx
je 0x4b6b39
mov ecx, dword [0x58e794]
test ecx, ecx
je 0x4b6b39
push 0
push eax
mov edx, 3
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6b67
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x12f0]
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b6c06
mov ecx, ebp
call fcn.00536900
test eax, eax
je 0x4b6c06
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c698], ebx
mov dword [0x59c69c], ebx
mov dword [0x59c6a0], ebx
mov edx, dword [esi + 0x12f0]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push ecx
mov edx, ebx
xor ecx, ecx
lea edi, [esi + 0xb20]
call fcn.004de530
push eax
push 0x576f60
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi]
add esp, 0xc
push edx
mov edx, edi
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], ebx
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [0x59c6ac], ecx
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [0x5940a0]
mov dword [0x59c6b0], eax
push ecx
mov ecx, dword [ebp]
mov edx, edi
call fcn.004fb730
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6f12
push 0
lea edx, [esp + 0x14]
push edx
jmp 0x4b6efb
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6c4d
mov ecx, dword [esi + 0x12f0]
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2d
push str.OPEN
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b6f12
mov ecx, dword [esi]
mov edx, dword [ecx]
lea ebp, [esi + 0xb20]
push edx
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov edx, dword [esi + 0x12f0]
mov ecx, ebp
call fcn.004dc5a0
mov edi, eax
test edi, edi
jne 0x4b6cab
mov eax, dword [esi + 0x12f0]
push eax
push edi
push ebx
mov edx, 2
mov ecx, ebp
call fcn.0053c810
test eax, eax
je 0x4b6f12
mov edx, dword [esi + 0x12f0]
mov ecx, ebp
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4b6f12
mov edx, esi
mov ecx, edi
call fcn.004bb450
cmp dword [edi + 0x700], 2
jne 0x4b6d23
cmp dword [edi + 0x704], 1
jne 0x4b6d23
lea ebx, [esi + 0xf07]
mov edx, ebx
mov ecx, 0xdca
call fcn.0041c9e0
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b6ce0
sub eax, edx
mov edx, dword [edi]
push 0x104
lea ecx, [eax + esi + 0xf07]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40
push ebx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4b6d23
mov eax, dword [edi + 0x6a8]
test eax, eax
je 0x4b6d23
push 0
mov edx, ebx
mov ecx, edi
call fcn.004c5150
mov eax, dword [0x59b500]
test eax, eax
je 0x4b6d7e
mov eax, dword [0x589904]
test eax, eax
je 0x4b6d45
mov edx, 5
mov ecx, esi
call fcn.00454880
test eax, eax
je 0x4b6d7e
mov ecx, dword [esi]
mov eax, dword [esi + 0x12f0]
mov edx, dword [ecx]
mov ecx, dword [edi]
push eax
call fcn.004b9840
mov edx, dword [esi]
mov eax, dword [edx]
push eax
push str.WHOIS__s_n
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 0x12f0]
add esp, 0xc
push ecx
mov edx, 1
mov ecx, ebp
call fcn.0053ec90
mov eax, dword [0x589b78]
test eax, eax
mov ebx, 1
je 0x4b6dc0
mov eax, dword [0x59bf94]
cmp eax, ebx
jne 0x4b6da2
mov ecx, dword [0x589b7c]
call fcn.0041c8b0
jmp 0x4b6dc0
cmp eax, 2
jne 0x4b6dc0
mov edx, dword [esi + 0x12f0]
push edx
xor edx, edx
xor ecx, ecx
call fcn.00473bf0
mov edx, ebx
mov ecx, eax
call fcn.00517a40
mov eax, dword [0x589b74]
test eax, eax
je 0x4b6dd6
mov edx, dword [esi + 0x12f0]
mov ecx, edi
call fcn.004ba8d0
mov eax, dword [0x589198]
test eax, eax
je 0x4b6e04
mov edx, 2
mov ecx, edi
call fcn.004114a0
test eax, eax
je 0x4b6e04
mov eax, dword [esi + 0x12f0]
push 0
push eax
mov edx, 3
mov ecx, esi
call fcn.00413bb0
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6e2b
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x12f0]
push 0
push 0x2d
push str.OPEN
push esi
xor edx, edx
call fcn.00506dd0
mov eax, dword [0x59ca60]
test eax, eax
mov dword [esp + 0x10], 0
je 0x4b6e61
mov ecx, dword [esi + 0x12f0]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push 0x42
push str.TEXT
push esi
xor edx, edx
call fcn.00506dd0
test eax, eax
je 0x4b6eeb
mov dword [0x589b90], 0
mov dword [0x59c690], 2
mov dword [0x59c694], ebx
mov dword [0x59c698], ebx
mov dword [0x59c69c], ebx
mov dword [0x59c6a0], ebx
mov ecx, dword [esi]
mov eax, dword [esi + 0x12f0]
mov edx, dword [ecx]
push eax
push edx
mov edx, ebx
xor ecx, ecx
call fcn.004de530
push eax
push 0x576b38
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi]
add esp, 0xc
push eax
mov edx, ebp
mov ecx, 3
call fcn.004ed300
mov dword [0x59c6a8], ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [0x59c6ac], edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [0x59409c]
mov dword [0x59c6b0], ecx
mov ecx, dword [edi]
push edx
mov edx, ebp
call fcn.004fb730
mov eax, dword [0x59ca60]
test eax, eax
je 0x4b6f12
lea eax, [esp + 0x10]
push 0
push eax
mov ecx, dword [esi + 0x12f0]
push 0
push 0x42
push str.TEXT
xor edx, edx
push esi
call fcn.00506dd0
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret