Function at 0x454da0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xffff
dec eax
je 0x454dcb
dec eax
je 0x454db2
xor eax, eax
ret
mov eax, dword [0x4eec88]
push 1
push eax
mov dword [0x4eec90], 1
call dword [sym.imp.USER32.dll_EndDialog]
ret
mov dword [0x4eec90], 0
jmp 0x454de0
mov eax, dword [0x4eecb8]
sub esp, 0x118
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x454e0c
mov eax, dword [0x4eec88]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp dword [0x4eeca4], 0xa
jl 0x454e52
mov eax, dword [0x4eece4]
test eax, eax
je 0x454e25
push 0x267
jmp 0x454e2a
push 0x266
call fcn.004411b0
add esp, 4
push eax
push 0xea
call fcn.004411f0
mov ecx, dword [0x4eed04]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 8
push eax
push ecx
call ebp
jmp 0x454e58
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x4eece0]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xd
push 0x4eece8
push edx
call esi
mov ecx, dword [0x4eed10]
lea eax, [esp + 0x6c]
push 0xd
push eax
push ecx
call esi
lea edi, [esp + 0x6c]
mov eax, 0x4eece8
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x454eaf
test cl, cl
je 0x454eab
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x454eaf
add eax, 2
add edi, 2
test cl, cl
jne 0x454e87
xor eax, eax
jmp 0x454eb4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x454ede
push 0x99
call fcn.004411b0
add esp, 4
push eax
mov eax, dword [0x4eed04]
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret
mov ecx, dword [0x4eec98]
push 0x11
push 0x4eeccc
push ecx
call esi
mov eax, dword [0x4eeca0]
lea edx, [esp + 0xf4]
push 0x33
push edx
push eax
call esi
mov edx, dword [0x4eecc0]
lea ecx, [esp + 0xd4]
push 0x1f
push ecx
push edx
call esi
mov ecx, dword [0x4eecb4]
lea eax, [esp + 0xb4]
push 0x1f
push eax
push ecx
call esi
mov eax, dword [0x4eed14]
lea edx, [esp + 0x94]
push 0x1f
push edx
push eax
call esi
mov edx, dword [0x4eed08]
lea ecx, [esp + 0x7c]
push 0x15
push ecx
push edx
call esi
mov ecx, dword [0x4eec9c]
lea eax, [esp + 0x28]
push 0xb
push eax
push ecx
call esi
mov eax, dword [0x4eecb0]
lea edx, [esp + 0x34]
push 0xd
push edx
push eax
call esi
mov edx, dword [0x4eec80]
lea ecx, [esp + 0x10]
push 0x15
push ecx
push edx
call esi
mov ecx, dword [0x4eed1c]
lea eax, [esp + 0x5c]
push 0x10
push eax
push ecx
call esi
mov al, byte [0x4eeccc]
test al, al
je 0x455344
mov al, byte [esp + 0xf4]
test al, al
je 0x455344
mov al, byte [esp + 0x94]
test al, al
je 0x455344
mov al, byte [esp + 0x7c]
test al, al
je 0x455344
mov al, byte [esp + 0x28]
test al, al
je 0x455344
mov al, byte [esp + 0x34]
test al, al
je 0x455344
mov al, byte [esp + 0x10]
test al, al
je 0x455344
mov al, byte [esp + 0x5c]
test al, al
je 0x455344
mov edx, dword [0x4eed0c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edx
call ebp
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, eax
inc edi
lea eax, [esp + 0x50]
push edi
push 0x4c417c
push eax
call ebx
mov ecx, dword [0x4eecfc]
add esp, 0xc
push 0
push 0
push 0x147
push ecx
call ebp
mov esi, eax
mov eax, dword [0x4eecc4]
add esi, eax
lea edx, [esp + 0x44]
push esi
push 0x4c417c
push edx
call ebx
mov eax, dword [0x4eecc4]
add esp, 0xc
cmp esi, eax
jne 0x455082
cmp edi, 1
jge 0x455082
push 0xe9
call fcn.004411b0
add esp, 4
push eax
mov eax, dword [0x4eed04]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret
mov ecx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
mov esi, dword [sym.imp.MSVCRT.dll__isctype]
cmp dword [ecx], 1
jle 0x4550a2
movsx edx, byte [esp + 0x10]
push 4
push edx
call esi
add esp, 8
jmp 0x4550b5
mov ecx, dword [sym.imp.MSVCRT.dll__pctype]
movsx eax, byte [esp + 0x10]
mov edx, dword [ecx]
mov al, byte [edx + eax*2]
and eax, 4
test eax, eax
je 0x455319
mov eax, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [eax], 1
jle 0x4550d6
movsx ecx, byte [esp + 0x11]
push 4
push ecx
call esi
add esp, 8
jmp 0x4550e8
mov eax, dword [sym.imp.MSVCRT.dll__pctype]
movsx edx, byte [esp + 0x11]
mov ecx, dword [eax]
mov al, byte [ecx + edx*2]
and eax, 4
test eax, eax
je 0x455319
mov edx, dword [sym.imp.MSVCRT.dll___mb_cur_max]
cmp dword [edx], 1
jle 0x45510a
movsx eax, byte [esp + 0x12]
push 4
push eax
call esi
add esp, 8
jmp 0x45511d
mov edx, dword [sym.imp.MSVCRT.dll__pctype]
movsx ecx, byte [esp + 0x12]
mov eax, dword [edx]
mov al, byte [eax + ecx*2]
and eax, 4
test eax, eax
je 0x455319
push 0x268
call fcn.004411b0
mov ecx, dword [0x4eed04]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
add esp, 4
push eax
push ecx
call esi
push 0x4eeccc
push 0x1b
call fcn.0040d240
push 0x4eece8
push 0x1c
call fcn.0040d240
lea edx, [esp + 0x104]
push edx
push 0x1d
call fcn.0040d240
push str.code
push str.vendor
call fcn.0044cf60
push eax
push 0x15f
call fcn.0040d240
lea eax, [esp + 0xfc]
push eax
push 0x155
call fcn.0040d240
lea ecx, [esp + 0x40]
push ecx
push 0x156
call fcn.0040d240
lea edx, [esp + 0xec]
push edx
push 0x15e
call fcn.0040d240
add esp, 0x40
lea eax, [esp + 0x94]
push eax
push 0x159
call fcn.0040d240
lea ecx, [esp + 0x84]
push ecx
push 0x15a
call fcn.0040d240
lea edx, [esp + 0x38]
push edx
push 0x15b
call fcn.0040d240
lea eax, [esp + 0x4c]
push eax
push 0x15c
call fcn.0040d240
lea ecx, [esp + 0x70]
push ecx
push 0x157
call fcn.0040d240
lea edx, [esp + 0x6c]
push edx
push 0x158
call fcn.0040d240
lea eax, [esp + 0x8c]
push eax
push 0x15d
call fcn.0040d240
push 0x11
call fcn.0040d180
add esp, 0x3c
sub eax, 0
je 0x455256
dec eax
je 0x455256
mov ecx, dword [0x4eec70]
push 0
push 0
push 0x147
push ecx
call ebp
test eax, eax
jne 0x455256
push eax
jmp 0x455258
push 1
push 0x161
call fcn.0040d1b0
add esp, 8
push 0x455390
push 0xd
call fcn.0040d490
mov edx, dword [0x4eece4]
push edx
call fcn.00410610
add esp, 0xc
test eax, eax
je 0x4552ab
push eax
push 0xe1
call fcn.004411f0
add esp, 8
push eax
mov eax, dword [0x4eed04]
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret
mov eax, dword [0x4eece4]
test eax, eax
je 0x4552bb
push 0x267
jmp 0x4552c0
push 0x266
call fcn.004411b0
add esp, 4
push 0
push 0
push eax
push 0x268
call fcn.004411f0
mov ecx, dword [0x4eed04]
add esp, 0x10
push eax
push ecx
call esi
mov edx, dword [0x4eecc8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edx
call esi
mov eax, dword [0x4eec8c]
push 0
push eax
call esi
call fcn.00477370
pop edi
pop esi
mov dword [0x4eec74], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret
push 0xe8
call fcn.004411b0
mov ecx, dword [0x4eed04]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret
mov eax, dword [0x4eece4]
test eax, eax
je 0x455354
push 0x267
jmp 0x455359
push 0x266
call fcn.004411b0
add esp, 4
push eax
push 0xe3
call fcn.004411f0
mov edx, dword [0x4eed04]
add esp, 8
push eax
push edx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x118
ret