Function at 0x498099
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61d200
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x4c]
cmp dword [esi + 0x1a4], ebx
jne 0x4980bb
call fcn.0050de10
cmp eax, 0x502
jge 0x498339
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb0]
xor eax, edi
test ah, 3
je 0x498339
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push ebp
push eax
mov ecx, esi
call dword [edx + 0x2c4]
mov edx, dword [esi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x50], ebx
call dword [edx + 0x210]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x218]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebp, dword [esi + 0x114]
mov dword [esp + 0x1c], edx
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x20], eax
call dword [edx + 0x1e0]
push ebp
call dword [sym.imp.USER32.dll_DestroyWindow]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, esi
mov dword [esi + 0xcc], edi
call fcn.00497bd0
test byte [esi + 0xc8], 0x40
je 0x4981aa
lea edi, [esi + 0x70]
lea ecx, [esp + 0x14]
push edi
call fcn.00408f80
mov dword [esp + 0x14], vtable.wxFont.0
push 0x701214
mov ecx, edi
mov byte [esp + 0x4c], 1
call fcn.005c5080
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x158]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], bl
call fcn.0047c770
mov al, byte [esi + 0xc8]
mov ebp, vtable.wxColour.0
test al, 0x20
je 0x49825c
lea edi, [esi + 0x8c]
lea ecx, [esp + 0x2c]
push edi
call fcn.00408f80
mov edx, dword [edi + 8]
mov al, byte [edi + 0xc]
mov cl, byte [edi + 0xd]
mov dword [esp + 0x34], edx
mov dl, byte [edi + 0xe]
mov byte [esp + 0x38], al
mov al, byte [edi + 0xf]
mov byte [esp + 0x39], cl
mov cl, byte [edi + 0x10]
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], cl
mov dword [esp + 0x2c], ebp
push 0x701224
mov ecx, edi
mov byte [esp + 0x4c], 2
call fcn.005c5080
mov edx, dword [0x70122c]
mov dword [edi + 8], edx
mov al, byte [0x701230]
mov byte [edi + 0xc], al
mov cl, byte [0x701231]
mov byte [edi + 0xd], cl
mov dl, byte [0x701232]
mov byte [edi + 0xe], dl
mov al, byte [0x701233]
mov byte [edi + 0xf], al
mov cl, byte [0x701234]
mov byte [edi + 0x10], cl
mov edx, dword [esi]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call dword [edx + 0x148]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.0047d2b0
test byte [esi + 0xc8], 0x10
je 0x498305
lea edi, [esi + 0x78]
lea ecx, [esp + 0x2c]
push edi
call fcn.00463450
mov ecx, dword [edi + 8]
mov dl, byte [edi + 0xc]
mov al, byte [edi + 0xd]
mov dword [esp + 0x34], ecx
mov cl, byte [edi + 0xe]
mov byte [esp + 0x38], dl
mov dl, byte [edi + 0xf]
mov byte [esp + 0x39], al
mov al, byte [edi + 0x10]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3c], al
mov dword [esp + 0x2c], ebp
push 0x701224
mov ecx, edi
mov byte [esp + 0x4c], 3
call fcn.005c5080
mov ecx, dword [0x70122c]
mov dword [edi + 8], ecx
mov dl, byte [0x701230]
mov byte [edi + 0xc], dl
mov al, byte [0x701231]
mov byte [edi + 0xd], al
mov cl, byte [0x701232]
mov byte [edi + 0xe], cl
mov dl, byte [0x701233]
mov byte [edi + 0xf], dl
mov al, byte [0x701234]
mov byte [edi + 0x10], al
mov edx, dword [esi]
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call dword [edx + 0x144]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], bl
call fcn.0047d2b0
mov ecx, dword [esp + 0x50]
pop ebp
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x49838e
dec eax
cmp eax, ebx
mov dword [ecx], eax
jne 0x49838e
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
cmp dword [esi + 0x1a4], ebx
je 0x498386
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb0]
xor eax, edi
test ah, 0x20
je 0x498386
mov eax, edi
mov edx, dword [esi + 0x114]
shr eax, 0xd
and al, 1
mov cl, al
neg cl
sbb ecx, ecx
and ecx, 0x201
add ecx, 0xfffffeff
neg al
sbb eax, eax
push ecx
add eax, 3
push eax
push 0x44d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov ecx, esi
call fcn.004573d0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4