Function at 0x10003770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100cfed2
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x100e7034]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x100e7034]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
cmp dword [0x100efffc], 0
jne 0x100037dc
push str.OnHandleWM_KILLFOCUS_m_hCurrentWnd_is_NULL
push 1
push 0x286
push 0x100d6408
push 0x100d6480
call fcn.100c3e10
add esp, 0x14
jmp 0x10003c60
mov edi, dword [ecx + 0xc]
mov esi, edi
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x100037fd
mov edi, edi
cmp eax, esi
je 0x100037fd
push edi
mov esi, eax
call ebx
test eax, eax
jne 0x100037f0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x10003c60
call fcn.10003ec0
mov dword [0x100f0000], eax
xor eax, eax
push 0x1fc
push eax
mov word [esp + 0x134], ax
lea eax, [esp + 0x136]
push eax
mov dword [0x100f0004], edx
mov dword [0x100efffc], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x12c]
push 0xff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x44]
call fcn.10003c90
mov dword [esp + 0x340], 0
mov eax, dword [0x100efea4]
test al, 1
jne 0x100038a5
or eax, 1
mov dword [0x100efea4], eax
mov ecx, 0x100efea8
mov byte [esp + 0x340], 1
call fcn.10009e90
push 0x100d2b70
call fcn.100ce845
add esp, 4
mov byte [esp + 0x340], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xffffffffffffffff
push 0
push 0x100effa8
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], eax
call fcn.10001870
push 0xffffffffffffffff
push 0
push 0x100efed0
lea ecx, [esp + 0x70]
call fcn.10001870
push dword [0x100f0004]
xor dl, dl
lea ecx, [esp + 0x18]
push dword [0x100f0000]
call fcn.100035e0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov esi, eax
lea eax, [esp + 0xcc]
add esp, 8
cmp eax, esi
je 0x10003943
cmp dword [esp + 0xd8], 8
jb 0x10003916
push dword [esp + 0xc4]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
push esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
call fcn.100049e0
cmp dword [esp + 0x28], 8
jb 0x10003953
push dword [esp + 0x14]
call edi
add esp, 4
push dword [0x100f000c]
xor dl, dl
lea ecx, [esp + 0x18]
push dword [0x100f0008]
call fcn.100035e0
mov esi, eax
add esp, 8
lea eax, [esp + 0x94]
cmp eax, esi
je 0x100039bd
cmp dword [esp + 0xa8], 8
jb 0x10003990
push dword [esp + 0x94]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
push esi
lea ecx, [esp + 0x98]
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
call fcn.100049e0
cmp dword [esp + 0x28], 8
jb 0x100039cd
push dword [esp + 0x14]
call edi
add esp, 4
mov ecx, dword [0x100f0000]
mov dl, 1
sub ecx, dword [0x100f0008]
mov eax, dword [0x100f0004]
sbb eax, dword [0x100f000c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.100035e0
mov esi, eax
add esp, 8
lea eax, [esp + 0xac]
cmp eax, esi
je 0x10003a44
cmp dword [esp + 0xc0], 8
jb 0x10003a17
push dword [esp + 0xac]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
push esi
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
call fcn.100049e0
cmp dword [esp + 0x28], 8
jb 0x10003a54
push dword [esp + 0x14]
call edi
add esp, 4
cmp word [esp + 0x12c], 0
jne 0x10003a63
xor ecx, ecx
jmp 0x10003a7f
lea ecx, [esp + 0x12c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x84]
call fcn.10001650
push 0xffffffffffffffff
push 0
push 0x100effc0
lea ecx, [esp + 0xe8]
call fcn.10001870
push 0xffffffffffffffff
push 0
push 0x100effd8
lea ecx, [esp + 0x100]
call fcn.10001870
mov ecx, dword [0x100f0000]
sub ecx, dword [0x100f0008]
mov eax, dword [0x100f0004]
sbb eax, dword [0x100f000c]
push eax
push ecx
call fcn.100036f0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000ef80
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x110]
cmp eax, esi
je 0x10003b40
cmp dword [esp + 0x124], 8
jb 0x10003b13
push dword [esp + 0x110]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x124], 7
push esi
lea ecx, [esp + 0x114]
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
call fcn.100049e0
cmp dword [esp + 0x28], 8
jb 0x10003b50
push dword [esp + 0x14]
call edi
add esp, 4
mov eax, dword [0x100f0654]
test al, 1
jne 0x10003b88
or eax, 1
mov dword [0x100f0654], eax
mov ecx, 0x100f0658
mov byte [esp + 0x340], 2
call fcn.100103e0
push 0x100d2c80
call fcn.100ce845
add esp, 4
mov byte [esp + 0x340], 0
lea eax, [esp + 0x44]
mov ecx, 0x100f0658
push eax
call fcn.10010620
cmp dword [esp + 0xc0], 8
lea esi, [esp + 0xac]
lea edx, [esp + 0xc4]
cmovae esi, dword [esp + 0xac]
lea ecx, [esp + 0x94]
cmp dword [esp + 0xd8], 8
lea eax, [esp + 0x64]
push esi
cmovae edx, dword [esp + 0xc8]
cmp dword [esp + 0xac], 8
push edx
cmovae ecx, dword [esp + 0x9c]
cmp dword [esp + 0x80], 8
push ecx
cmovae eax, dword [esp + 0x70]
push eax
lea eax, [esp + 0x3c]
push str.OnHandleWM_KILLFOCUS_end:m_strAppName:_s_m_strStartTime:_s_m_strLastTime:_s_m_strDurationTime:_s
push eax
call fcn.10008f10
mov byte [esp + 0x358], 3
lea eax, [esp + 0x44]
cmp dword [esp + 0x58], 8
cmovae eax, dword [esp + 0x44]
push eax
push 1
push 0x2af
push 0x100d65d0
push str.CGlobalManager::OnHandleWM_KILLFOCUS
call fcn.100c3e10
add esp, 0x2c
cmp dword [esp + 0x40], 8
jb 0x10003c40
push dword [esp + 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.10003d40
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.100ce74b
mov esp, ebp
pop ebp
ret