Function at 0x10003790
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100cfec2
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 0x100037fc
push str.OnHandleWM_KILLFOCUS_m_hCurrentWnd_is_NULL
push 1
push 0x286
push 0x100d6420
push 0x100d6480
call fcn.100c3e10
add esp, 0x14
jmp 0x10003c80
mov edi, dword [ecx + 0xc]
mov esi, edi
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x1000381d
mov edi, edi
cmp eax, esi
je 0x1000381d
push edi
mov esi, eax
call ebx
test eax, eax
jne 0x10003810
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
je 0x10003c80
call fcn.10003ee0
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.10003cb0
mov dword [esp + 0x340], 0
mov eax, dword [0x100efea4]
test al, 1
jne 0x100038c5
or eax, 1
mov dword [0x100efea4], eax
mov ecx, 0x100efea8
mov byte [esp + 0x340], 1
call fcn.10009eb0
push 0x100d2b70
call fcn.100ce835
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.10003600
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 0x10003963
cmp dword [esp + 0xd8], 8
jb 0x10003936
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.10004a00
cmp dword [esp + 0x28], 8
jb 0x10003973
push dword [esp + 0x14]
call edi
add esp, 4
push dword [0x100f000c]
xor dl, dl
lea ecx, [esp + 0x18]
push dword [0x100f0008]
call fcn.10003600
mov esi, eax
add esp, 8
lea eax, [esp + 0x94]
cmp eax, esi
je 0x100039dd
cmp dword [esp + 0xa8], 8
jb 0x100039b0
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.10004a00
cmp dword [esp + 0x28], 8
jb 0x100039ed
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.10003600
mov esi, eax
add esp, 8
lea eax, [esp + 0xac]
cmp eax, esi
je 0x10003a64
cmp dword [esp + 0xc0], 8
jb 0x10003a37
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.10004a00
cmp dword [esp + 0x28], 8
jb 0x10003a74
push dword [esp + 0x14]
call edi
add esp, 4
cmp word [esp + 0x12c], 0
jne 0x10003a83
xor ecx, ecx
jmp 0x10003a9f
lea ecx, [esp + 0x12c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003a90
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.10003710
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000efa0
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x110]
cmp eax, esi
je 0x10003b60
cmp dword [esp + 0x124], 8
jb 0x10003b33
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.10004a00
cmp dword [esp + 0x28], 8
jb 0x10003b70
push dword [esp + 0x14]
call edi
add esp, 4
mov eax, dword [0x100f0654]
test al, 1
jne 0x10003ba8
or eax, 1
mov dword [0x100f0654], eax
mov ecx, 0x100f0658
mov byte [esp + 0x340], 2
call fcn.10010400
push 0x100d2c80
call fcn.100ce835
add esp, 4
mov byte [esp + 0x340], 0
lea eax, [esp + 0x44]
mov ecx, 0x100f0658
push eax
call fcn.10010640
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.10008f30
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 0x100d65e0
push str.CGlobalManager::OnHandleWM_KILLFOCUS
call fcn.100c3e10
add esp, 0x2c
cmp dword [esp + 0x40], 8
jb 0x10003c60
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.10003d60
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.100ce73b
mov esp, ebp
pop ebp
ret