Function at 0x404185
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call dword [0x417228]
mov ebx, dword [0x417214]
mov ebp, eax
and ebp, 0x40000000
je 0x4041ad
mov ecx, dword [esi + 4]
push ecx
call ebx
jmp 0x4041b9
mov edx, dword [esi + 4]
push 4
push edx
call dword [0x4171fc]
mov ecx, dword [esi + 4]
mov edi, eax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [0x417200]
test ebp, ebp
jne 0x404230
test edi, edi
je 0x4041eb
push 0xfffffffffffffff0
push edi
call dword [0x417228]
test eax, 0x10000000
je 0x4041e9
test eax, 0x20000000
je 0x4041eb
xor edi, edi
lea edx, [esp + 0x34]
push 0
push edx
push 0
push 0x30
call dword [0x417204]
test edi, edi
jne 0x404222
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x40425d
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [0x417200]
jmp 0x40425d
mov edx, dword [esi + 4]
push edx
call ebx
mov ebp, dword [0x41722c]
mov ebx, eax
lea eax, [esp + 0x34]
push eax
push ebx
call ebp
lea ecx, [esp + 0x24]
push ecx
push edi
call ebp
lea edx, [esp + 0x24]
push 2
push edx
push ebx
push edi
call dword [0x4171e8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
add eax, ecx
sub ebp, edx
cdq
sub eax, edx
sub ebx, edi
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x28]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x34]
cmp ecx, eax
jl 0x4042ba
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x4042bc
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp edi, eax
jl 0x4042d1
mov eax, dword [esp + 0x40]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x4042d3
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push 0
push eax
call dword [0x4171e4]
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x30]
push 0x5c
push eax
call fcn.0040ce14
add esp, 8
test eax, eax
jne 0x404301
or eax, 0xffffffff
jmp 0x404305
sub eax, dword [edi]
sar eax, 1
mov ecx, dword [edi]
inc eax
mov edx, dword [ecx - 8]
mov ecx, edi
sub edx, eax
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00405dd0
mov ecx, dword [esp + 0x10]
push 0x41a358
push ecx
call fcn.0040d004
add esp, 8
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push edx
call fcn.00405f10
mov eax, dword [0x41a050]
mov ecx, 0x41a340
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x404352
xor eax, eax
jmp 0x40435d
push 0x41a340
call dword [0x4170cc]
push 0x41a340
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.00403aa0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.00405ce0
lea ecx, [esp + 0x14]
call fcn.00403950
mov eax, dword [esp + 0x18]
mov edx, dword [0x41a054]
mov edi, dword [0x417130]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4043bd
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4043bd
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0040ccc2
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x41a054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4043e8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4043e8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0040ccc2
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov ebp, dword [0x4171e0]
push eax
push ecx
call ebp
mov edi, dword [0x417064]
push 0x80
push 0
call edi
push eax
call dword [0x4171dc]
mov edx, dword [esi + 4]
mov ebx, dword [0x4171d8]
push eax
push 0
push 0x80
push edx
call ebx
mov eax, dword [esi + 0x30]
push 0
push eax
push 0
call edi
push eax
call dword [0x4171a4]
mov edi, dword [0x417208]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push 0xc9
push eax
call edi
mov ecx, dword [esp + 0x18]
push 0
push ecx
push 0x170
push eax
call ebx
push str.Verdana
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2bc
push 0
lea ebx, [esi + 0x1c]
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00405b40
mov edx, dword [esi + 4]
push 0xca
push edx
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.00405bd0
mov ecx, dword [esp + 0x1c]
push 0x41a2e0
push ecx
call ebp
mov edx, dword [esi + 4]
push 0xcf
push edx
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push 1
push eax
call edi
push 1
mov dword [esi + 0x24], eax
push 0x3e8
mov ecx, dword [esi + 4]
push ecx
call dword [0x4171d0]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
push 0x3e9
push eax
mov bl, byte [edx + 0x410]
call edi
neg bl
sbb ebx, ebx
and ebx, 5
push ebx
push eax
call dword [0x4171cc]
mov ecx, dword [esi + 4]
push 0
push 0xc8
push 0
push ecx
call dword [0x4171c8]
lea ecx, [esp + 0x20]
call fcn.00403950
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0x10