Function at 0x412a40
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a9f21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0xa4]
xor ebp, ebp
test al, al
mov dword [esp + 0x1a8], ebp
je 0x412a8e
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.0058df3f
jmp 0x413554
push edi
mov byte [esi + 0xa4], 1
mov eax, dword [esi + 0xf80]
push ebp
push ebp
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x63b4a0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x64a740]
mov byte [esp + 0x1ac], 9
push ecx
lea ecx, [esp + 0x98]
call fcn.00557aba
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ac], 0xa
call fcn.0055b385
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ac], 0xb
call fcn.0055b385
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ac], 0xc
call fcn.0055b385
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 0xd
call fcn.0055b385
mov al, byte [esp + 0x1b8]
mov byte [esp + 0x1ac], 0xe
test al, al
mov dword [esp + 0x44], ebp
je 0x413028
lea edx, [esp + 0x1b4]
lea ecx, [esp + 0x2c]
push edx
call fcn.0058e078
push 0x618528
push 0x618524
lea ecx, [esp + 0x34]
call fcn.00587da8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push eax
push str.select__from_Call_where_CallName_s_order_by_CallDT_ASC
push ecx
call fcn.00588507
add esp, 0xc
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x18]
push ebp
push edx
push ebp
lea ecx, [esp + 0xa0]
call fcn.00557dcf
cmp dword [esp + 0x15c], ebp
jne 0x413431
lea edi, [esi + 0xf64]
mov ebp, 0x40000
lea eax, [esp + 0x14]
lea ecx, [esp + 0x94]
push eax
push str.CallNumber
call fcn.0055891c
lea ecx, [esp + 0x84]
push 0
push ecx
push str.CallDT
lea ecx, [esp + 0xa0]
call fcn.005587de
lea edx, [esp + 0x4c]
push 0
push edx
push str.CallType
lea ecx, [esp + 0xa0]
call fcn.005587de
lea eax, [esp + 0x28]
lea ecx, [esp + 0x94]
push eax
push str.CallDevice
call fcn.0055891c
lea ecx, [esp + 0x1c]
push ecx
push str.RecFileName
lea ecx, [esp + 0x9c]
call fcn.0055891c
lea edx, [esp + 0x74]
push 0
push edx
push str.CallSec
lea ecx, [esp + 0xa0]
call fcn.005587de
lea eax, [esp + 0xc]
lea ecx, [esp + 0x94]
push eax
push str.CallInfo
call fcn.0055891c
lea ecx, [esp + 0x60]
push 0
push ecx
push str.Channel
lea ecx, [esp + 0xa0]
call fcn.005587de
lea edx, [esp + 0x10]
lea ecx, [esp + 0x94]
push edx
push str.CallInfoType
call fcn.0055891c
mov eax, dword [esp + 0x8c]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 0xa]
mov dx, word [eax + 8]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 6]
mov dx, word [eax + 4]
push ecx
push edx
movsx edx, word [eax]
xor ecx, ecx
mov cx, word [eax + 2]
lea eax, [esp + 0x34]
push ecx
push edx
push str._d__02d__02d__02d:_02d:_02d
push eax
call fcn.00588507
add esp, 0x20
mov ecx, edi
push 0
push 0
push 0
push 0
push 0x645010
push 0
push 1
call fcn.00589d9e
mov esi, eax
mov eax, dword [0x645390]
cmp eax, 2
jne 0x412d1c
test dword [0x64a188], ebp
je 0x412d1c
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push 0
push ecx
push 1
push 1
push esi
mov ecx, edi
call fcn.00589e20
jmp 0x412db2
lea edx, [esp + 0x28]
lea eax, [esp + 0x5c]
push edx
push 0x6199d0
push eax
call fcn.0058e248
push 0x6199cc
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x1b8], 0xf
call fcn.0058e1d4
lea edx, [esp + 0x14]
mov byte [esp + 0x1ac], 0x10
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0058e16e
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push 1
push 1
push esi
mov ecx, edi
mov byte [esp + 0x1cc], 0x11
call fcn.00589e20
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ac], 0x10
call fcn.0058df3f
lea ecx, [esp + 0x48]
mov byte [esp + 0x1ac], 0xf
call fcn.0058df3f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 0xe
call fcn.0058df3f
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push ecx
push 1
push 2
push esi
mov ecx, edi
call fcn.00589e20
mov edx, dword [esp + 0x10]
push 0x645010
push edx
call fcn.00568a52
add esp, 8
test eax, eax
jne 0x412df4
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc]
push eax
call fcn.0058e078
jmp 0x412e7d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3c]
push ecx
push 0x6199c8
push edx
call fcn.0058e248
push 0x6199c4
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x1b4], 0x12
push eax
call fcn.0058e1d4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x1b8], 0x13
call fcn.0058e16e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b0], 0x14
call fcn.0058e078
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 0x13
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 0x12
call fcn.0058df3f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ac], 0xe
call fcn.0058df3f
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push eax
push 1
push 3
push esi
mov ecx, edi
call fcn.00589e20
cmp byte [esp + 0x54], 3
jne 0x412ed9
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.0049bd60
add esp, 8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push 1
push 4
push esi
mov ecx, edi
mov byte [esp + 0x1cc], 0x15
call fcn.00589e20
mov byte [esp + 0x1ac], 0xe
lea ecx, [esp + 0x40]
jmp 0x412f16
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.0049bd60
add esp, 8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push 1
push 4
push esi
mov ecx, edi
mov byte [esp + 0x1cc], 0x16
call fcn.00589e20
mov byte [esp + 0x1ac], 0xe
lea ecx, [esp + 0x38]
call fcn.0058df3f
mov al, byte [esp + 0x54]
cmp al, 1
jne 0x412f32
push 0
push 0
push 0
push 0
push 0x6199bc
jmp 0x412f4a
push 0
push 0
cmp al, 2
push 0
push 0
jne 0x412f45
push 0x6199b4
jmp 0x412f4a
push 0x6199ac
push 1
push 5
push esi
mov ecx, edi
call fcn.00589e20
mov ecx, dword [esp + 0x1c]
push 0x645010
push ecx
call fcn.00568a52
add esp, 8
test eax, eax
push 0
push 0
push 0
push 0
je 0x412f7b
push 0x6199a8
jmp 0x412f80
push 0x645010
push 1
push 6
push esi
mov ecx, edi
call fcn.00589e20
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x20]
inc edx
push edx
push 0x61842c
push eax
call fcn.00588507
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push 0
push 0
push 0
push 0
push ecx
push 1
push 7
push esi
mov ecx, edi
call fcn.00589e20
mov eax, dword [esp + 0x68]
test eax, eax
jl 0x412fdf
cmp eax, 1
jge 0x412fdf
lea edx, [eax + eax*4]
mov ecx, edi
lea eax, [edx*4 + 0x64fc58]
push eax
push 8
push esi
call fcn.00589e99
mov ecx, dword [esp + 0x44]
mov eax, ecx
inc ecx
push eax
push 0
push 0
push 0
push 0
push 4
mov dword [esp + 0x5c], ecx
push 0
push esi
mov ecx, edi
call fcn.00589e20
mov edx, dword [esp + 0x94]
push 1
push 1
lea ecx, [esp + 0x9c]
call dword [edx + 0x14]
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x412bc1
jmp 0x413431
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x14]
push eax
call fcn.0058e078
mov eax, dword [esp + 0x14]
mov edx, dword [0x64a6ec]
push eax
mov ecx, dword [eax - 8]
cmp ecx, edx
jge 0x413057
lea ecx, [esp + 0x1c]
push str.select__from_Call_where_CallNumber_s_order_by_CallDT_ASC
push ecx
jmp 0x413061
lea edx, [esp + 0x1c]
push str.select__from_Call_where_CallNumber_like__s___order_by_CallDT_ASC
push edx
call fcn.00588507
add esp, 0xc
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
push ebp
push eax
push ebp
lea ecx, [esp + 0xa0]
call fcn.00557dcf
cmp dword [esp + 0x15c], ebp
jne 0x413431
lea edi, [esi + 0xf64]
lea ecx, [esp + 0x14]
push ecx
push str.CallNumber
lea ecx, [esp + 0x9c]
call fcn.0055891c
lea edx, [esp + 0x84]
push 0
push edx
push str.CallDT
lea ecx, [esp + 0xa0]
call fcn.005587de
lea eax, [esp + 0x4c]
push 0
push eax
push str.CallType
lea ecx, [esp + 0xa0]
call fcn.005587de
lea ecx, [esp + 0x1c]
push ecx
push str.RecFileName
lea ecx, [esp + 0x9c]
call fcn.0055891c
lea edx, [esp + 0x74]
push 0
push edx
push str.CallSec
lea ecx, [esp + 0xa0]
call fcn.005587de
lea eax, [esp + 0xc]
lea ecx, [esp + 0x94]
push eax
push str.CallInfo
call fcn.0055891c
lea ecx, [esp + 0x60]
push 0
push ecx
push str.Channel
lea ecx, [esp + 0xa0]
call fcn.005587de
lea edx, [esp + 0x10]
lea ecx, [esp + 0x94]
push edx
push str.CallInfoType
call fcn.0055891c
mov eax, dword [esp + 0x8c]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 0xa]
mov dx, word [eax + 8]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 6]
mov dx, word [eax + 4]
push ecx
push edx
movsx edx, word [eax]
xor ecx, ecx
mov cx, word [eax + 2]
lea eax, [esp + 0x34]
push ecx
push edx
push str._d__02d__02d__02d:_02d:_02d
push eax
call fcn.00588507
add esp, 0x20
mov ecx, edi
push 0
push 0
push 0
push 0
push 0x645010
push 0
push 1
call fcn.00589d9e
push 0
push 0
push 0
mov esi, eax
push 0
mov ecx, dword [esp + 0x24]
push ecx
push 1
push 1
push esi
mov ecx, edi
call fcn.00589e20
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push edx
push 1
push 2
push esi
mov ecx, edi
call fcn.00589e20
cmp byte [esp + 0x54], 3
jne 0x413224
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0049bd60
add esp, 8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push 1
push 4
push esi
mov ecx, edi
mov byte [esp + 0x1cc], 0x17
call fcn.00589e20
mov byte [esp + 0x1ac], 0xe
lea ecx, [esp + 0x38]
jmp 0x413261
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.0049bd60
add esp, 8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push 1
push 4
push esi
mov ecx, edi
mov byte [esp + 0x1cc], 0x18
call fcn.00589e20
mov byte [esp + 0x1ac], 0xe
lea ecx, [esp + 0x40]
call fcn.0058df3f
mov al, byte [esp + 0x54]
cmp al, 1
jne 0x41327d
push 0
push 0
push 0
push 0
push 0x6199bc
jmp 0x413295
push 0
push 0
cmp al, 2
push 0
push 0
jne 0x413290
push 0x6199b4
jmp 0x413295
push 0x6199ac
push 1
push 5
push esi
mov ecx, edi
call fcn.00589e20
mov eax, dword [esp + 0x1c]
push 0x645010
push eax
call fcn.00568a52
add esp, 8
test eax, eax
push 0
push 0
push 0
push 0
je 0x4132c6
push 0x6199a8
jmp 0x4132cb
push 0x645010
push 1
push 6
push esi
mov ecx, edi
call fcn.00589e20
mov ecx, dword [esp + 0x10]
push 0x645010
push ecx
call fcn.00568a52
add esp, 8
test eax, eax
jne 0x413300
lea edx, [esp + 0xc]
lea ecx, [esp + 0xc]
push edx
call fcn.0058e078
jmp 0x413389
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push 0x6199c8
push ecx
call fcn.0058e248
push 0x6199c4
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x1b8], 0x19
call fcn.0058e1d4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x1b8], 0x1a
call fcn.0058e16e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b0], 0x1b
call fcn.0058e078
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ac], 0x1a
call fcn.0058df3f
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ac], 0x19
call fcn.0058df3f
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 0xe
call fcn.0058df3f
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push eax
push 1
push 3
push esi
mov ecx, edi
call fcn.00589e20
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x20]
inc ecx
push ecx
push 0x61842c
push edx
call fcn.00588507
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, edi
push 0
push 0
push 0
push 0
push eax
push 1
push 7
push esi
call fcn.00589e20
mov eax, dword [esp + 0x68]
test eax, eax
jl 0x4133f5
cmp eax, 1
jge 0x4133f5
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x64fc58]
mov ecx, edi
push edx
push 8
push esi
call fcn.00589e99
mov eax, ebp
mov ecx, edi
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
inc ebp
call fcn.00589e20
mov eax, dword [esp + 0x94]
push 1
push 1
lea ecx, [esp + 0x9c]
call dword [eax + 0x14]
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x41309a
lea ecx, [esp + 0x94]
call fcn.00557ea3
push 0x649cf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 0xd
call fcn.0055b3f5
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ac], 0xc
call fcn.0055b3f5
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ac], 0xb
call fcn.0055b3f5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ac], 0xa
call fcn.0055b3f5
lea ecx, [esp + 0x94]
mov byte [esp + 0x1ac], 9
call fcn.00557cc6
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 8
call fcn.0058df3f
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ac], 7
call fcn.0058df3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac], 6
call fcn.0058df3f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 5
call fcn.0058df3f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 4
call fcn.0058df3f
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 3
call fcn.0058df3f
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 2
call fcn.0058df3f
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 1
call fcn.0058df3f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 0
call fcn.0058df3f
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.0058df3f
pop edi
mov ecx, dword [esp + 0x1a0]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1a4
ret 8