Function at 0x415be9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x42cd33
call fcn.00421904
sub esp, 0xf14
push ebx
mov ebx, dword [esp + 0xf2c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov edi, 0x104
lea eax, [esp + 0x11c]
push edi
push eax
push 0x405
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x11c]
push str.cns_temp
push eax
push str._s_s_
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004209f2
add esp, 0x14
cmp dword [esp + 0x10], 0
mov esi, 0x439d88
jle 0x415cb4
lea eax, [esp + 0x18]
push eax
call fcn.004074ed
test eax, eax
pop ecx
je 0x415c7e
mov ecx, esi
call fcn.0041e4cb
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00422440
pop ecx
test eax, eax
pop ecx
je 0x415cb4
lea eax, [esp + 0x18]
push eax
call fcn.004093f0
test eax, eax
pop ecx
jne 0x415cb4
lea eax, [esp + 0x18]
push eax
call fcn.00406f22
test eax, eax
pop ecx
jne 0x415cb4
push 0x3a
push dword [0x441ffc]
push ebx
call fcn.0040d999
add esp, 0xc
xor eax, eax
jmp 0x415fd0
lea eax, [esp + 0x11c]
mov ecx, esi
push eax
call fcn.0041e576
mov eax, dword [0x432f9c]
cmp eax, 0xffffffff
je 0x415cd4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
push str._sholder.tmp
lea eax, [esp + 0x228]
push edi
push eax
call fcn.004209f2
add esp, 0x10
xor edi, edi
and byte [esp + 0x323], 0
lea eax, [esp + 0x220]
push edi
push 0x80
push 4
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [0x439d80], edi
mov dword [0x432f9c], eax
jne 0x415d2b
push 1
pop eax
jmp 0x415fd0
push 0x3e9
push ebx
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x400
push eax
call ebx
mov edi, eax
imul edi, edi, 0x1388
push edi
push edi
push edi
push 1
call fcn.00413f77
add esp, 0x10
mov ecx, esi
push edi
call fcn.0041df88
mov edi, dword [esp + 0xf38]
push 0x3e8
push edi
call ebp
xor ebp, ebp
push ebp
push ebp
push 0x147
push eax
call ebx
cmp eax, ebp
jne 0x415da8
push 0x437ea8
mov ecx, esi
call fcn.0041e2c1
mov ecx, dword [0x439d80]
push ebp
push 1
pop ebp
push ebp
call fcn.0040dd64
push ebp
mov ecx, esi
call fcn.0041e2fd
jmp 0x415e89
cmp eax, 1
jne 0x415e17
lea ecx, [esp + 0x10]
call fcn.0041fc04
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x728]
push eax
mov dword [esp + 0xf34], ebp
mov dword [esp + 0x1c], 0x400
call fcn.0041fef5
cmp eax, 5
jne 0x415def
lea eax, [esp + 0x724]
mov ecx, esi
push eax
call fcn.0041e2c1
mov ecx, dword [0x439d80]
push ebp
push ebp
call fcn.0040dd64
push ebp
mov ecx, esi
call fcn.0041e2fd
or dword [esp + 0xf2c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041fc29
jmp 0x415e86
cmp eax, 2
jne 0x415e58
lea eax, [esp + 0x324]
push 0x400
push eax
push edi
call fcn.00415762
add esp, 0xc
lea eax, [esp + 0x324]
mov ecx, esi
push eax
call fcn.0041e2c1
mov ecx, dword [0x439d80]
lea eax, [esp + 0x324]
push eax
push 3
call fcn.0040dd64
jmp 0x415e7d
add eax, 0xfffffffd
mov ecx, dword [0x439d80]
imul eax, eax, 0x804
lea ebx, [eax + 0x43c794]
push ebx
push 3
call fcn.0040dd64
push ebx
mov ecx, esi
call fcn.0041e2c1
push 3
mov ecx, esi
call fcn.0041e2fd
push 1
pop ebp
lea eax, [esp + 0xb24]
push 0x400
push eax
push edi
call fcn.00415762
add esp, 0xc
lea eax, [esp + 0xb24]
mov ecx, esi
push eax
call fcn.0041e347
push 0x439d88
push edi
call fcn.00416553
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
pop ecx
pop ecx
push 0x440
push edi
call ebx
cmp eax, ebp
jne 0x415ed0
push ebp
jmp 0x415ede
push 0x441
push edi
call ebx
cmp eax, ebp
jne 0x415ee5
push 0
mov ecx, esi
call fcn.0041efa1
push 0x491
push edi
call ebx
cmp eax, ebp
jne 0x415ef5
push 0
jmp 0x415f02
push 0x492
push edi
call ebx
cmp eax, ebp
jne 0x415f09
push ebp
mov ecx, esi
call fcn.0041f15d
mov ecx, esi
call fcn.0041f137
mov ecx, dword [0x441fb4]
push eax
call fcn.00406ec6
push 0x447
push edi
call ebx
cmp eax, ebp
mov eax, dword [0x442224]
jne 0x415f3a
test eax, eax
je 0x415f36
push ebp
push 2
call eax
push 0
jmp 0x415f45
test eax, eax
je 0x415f44
push 0
push 2
call eax
push ebp
mov ecx, esi
call fcn.0041efe2
push 0x443
push edi
call ebx
cmp eax, ebp
mov eax, dword [0x442224]
jne 0x415f6a
test eax, eax
je 0x415f66
push ebp
push 4
call eax
push 0
jmp 0x415f75
test eax, eax
je 0x415f74
push 0
push 4
call eax
push ebp
mov ecx, esi
call fcn.0041f02b
push 0x44b
push edi
call ebx
cmp eax, ebp
jne 0x415f93
push ebp
mov ecx, esi
call fcn.0041f0ef
push ebp
jmp 0x415f9e
push 0
mov ecx, esi
call fcn.0041f0ef
push 0
call fcn.00417c1d
pop ecx
push 0x498
push edi
call ebx
cmp eax, ebp
jne 0x415fb4
push 0
jmp 0x415fb5
push ebp
mov ecx, esi
call fcn.0041eadd
push 0
push 0
push 2
push 9
mov ecx, 0x437fe0
call fcn.0041c996
mov eax, ebp
mov ecx, dword [esp + 0xf24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret