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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x40
cmp eax, 0x402
push ebx
push esi
push edi
mov esi, ecx
ja 0x4d805e
je 0x4d803e
cmp eax, 0x115
ja 0x4d7f4d
cmp eax, 0x114
jae 0x4d7ecf
sub eax, 0x110
je 0x4d7ead
dec eax
jne 0x4d806b
mov eax, dword [esp + 0x58]
cmp ax, 0xa0d
jne 0x4d806b
shr eax, 0x10
cmp eax, 0x400
jne 0x4d806b
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push 0x20
push eax
push ecx
call dword [0x56dd44]
lea edx, [esp + 0x2c]
push edx
call dword [0x56cdc4]
test eax, eax
jle 0x4d8178
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov edi, eax
add esp, 4
test edi, edi
jg 0x4d7e1f
mov edi, 1
mov ecx, dword [esi]
mov eax, dword [ecx + 0x1f4]
cmp edi, eax
jle 0x4d7e2d
mov edi, eax
cmp edi, dword [ecx + 0x1c8]
je 0x4d7e60
call fcn.004d6e60
mov ecx, dword [esi]
mov dword [ecx + 0x1c8], edi
mov ecx, dword [esi]
call fcn.004d6da0
mov edx, dword [esi]
mov eax, dword [edx + 0x244]
test eax, eax
je 0x4d7e60
push 0
push 0
push eax
call dword [0x56de7c]
push edi
lea eax, [esp + 0x10]
push 0x551684
push eax
call dword [0x56df30]
add esp, 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [0x56cd68]
test eax, eax
je 0x4d8178
mov eax, dword [esp + 0x50]
push 0
push edi
push 0xa0d
push eax
call dword [0x56dce4]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
mov edi, dword [esp + 0x50]
mov ecx, esi
push edi
call fcn.004d8b00
mov ecx, dword [esi]
mov eax, 1
mov dword [ecx + 0x240], edi
pop edi
pop esi
pop ebx
add esp, 0x40
ret 0x10
mov edi, dword [esp + 0x5c]
push 0xfffffffffffffff4
push edi
call dword [0x56def4]
push 0
push 0
push 0x468
push edi
mov ebx, eax
call dword [0x56df08]
mov edi, eax
and edi, 0xffff
cmp ebx, 0xa0f
jne 0x4d806b
mov ecx, dword [esi]
cmp dword [ecx + 0x1c8], edi
je 0x4d8178
call fcn.004d6e60
mov edx, dword [esi]
mov dword [edx + 0x1c8], edi
mov ecx, dword [esi]
call fcn.004d6da0
mov eax, dword [esi]
mov eax, dword [eax + 0x244]
test eax, eax
je 0x4d8178
push 0
push 0
push eax
call dword [0x56de7c]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
cmp eax, 0x401
jne 0x4d806b
mov ecx, dword [esi]
mov edi, dword [esp + 0x50]
push ebp
mov ebp, dword [0x56dce4]
mov dword [ecx + 0x25c], 1
mov edx, dword [esi]
push 0
mov eax, dword [edx + 0x1f4]
push eax
push 0xa11
push edi
call ebp
push 0xa0f
push edi
call dword [0x56dda0]
mov ecx, dword [esi]
mov ebx, eax
mov edx, dword [ecx + 0x1f4]
and edx, 0xffff
or edx, 0x10000
push edx
push 0
push 0x465
push ebx
call dword [0x56df08]
push 1
push 0
push ebx
mov ebx, dword [0x56de7c]
call ebx
push 0
push 0
push 0xa0d
push edi
call dword [0x56de04]
test eax, eax
jg 0x4d7fd9
mov eax, 1
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1f4]
cmp eax, edx
jle 0x4d7fe7
mov eax, edx
mov dword [ecx + 0x1c8], eax
mov eax, dword [esi]
push 0
mov ecx, dword [eax + 0x1c8]
push ecx
push 0xa0d
push edi
call ebp
mov edx, dword [esi + 8]
push 0
push 0
push edx
call ebx
push 0
push 0xa21
push edi
call dword [0x56dda0]
push eax
call dword [0x56dd28]
mov ecx, dword [esi]
push 1
call fcn.004d7070
mov ecx, dword [esi]
call fcn.004d6da0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
mov eax, dword [esi + 8]
test eax, eax
je 0x4d8178
mov ecx, dword [esi]
call fcn.004d6b70
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
sub eax, 0x403
je 0x4d80ce
dec eax
je 0x4d80ab
dec eax
je 0x4d8076
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 0x10
mov eax, dword [esi]
mov ecx, dword [eax + 0x244]
push ecx
call dword [0x56df24]
mov edx, dword [esi]
mov eax, dword [esp + 0x50]
push eax
mov ecx, esi
mov dword [edx + 0x244], 0
call fcn.004d8b00
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
mov ecx, dword [esi + 8]
push 0
push 0
push ecx
call dword [0x56de7c]
mov ecx, dword [esi]
call fcn.004d6da0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10
mov eax, dword [esi + 8]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [0x56de60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], edx
add eax, edx
mov edx, dword [esi]
add edi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edi
mov edi, dword [0x56cdac]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x1d4]
mov edx, dword [esp + 0x34]
push eax
push edx
push ecx
call edi
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x1d4]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call edi
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov edx, dword [ecx + 0x1d8]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call edi
mov edx, dword [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x1d8]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call edi
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push 0
push eax
push ecx
call dword [0x56de7c]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 0x10