Function at 0x411db8
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push 0x85c
mov eax, 0x50d3de
call fcn.004f41e2
mov esi, ecx
cmp byte [esi + 0x45cc], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x848], edx
jne 0x412a86
xor eax, eax
mov edi, eax
mov byte [ebp - 0x830], al
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x828], edi
push 2
pop ebx
cmp eax, 7
jne 0x411e94
xor eax, eax
push ecx
push str.WM_SETFOCUS_From0x_08X_
lea ebx, [eax + 1]
lea eax, [ebp - 0x110]
mov byte [ebp - 0x82c], bl
push eax
call fcn.00401133
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004109c9
add esp, 0x14
mov eax, str.WM_SETFOCUS
push eax
mov ecx, esi
call fcn.0040b948
xor eax, eax
lea ecx, [ebp - 0x868]
mov edi, eax
call fcn.004d840a
xor eax, eax
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x868]
push eax
call fcn.004d3e20
pop ecx
pop ecx
test eax, eax
js 0x4124fc
mov edi, dword [ebp - 0x864]
test edi, edi
je 0x4124fc
mov ecx, edi
call fcn.004de78b
mov ecx, eax
call fcn.00488c5d
jmp 0x4124fe
cmp eax, 6
jne 0x412237
movzx eax, cx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x830], eax
cmp ax, cx
je 0x411eb5
cmp ax, bx
je 0x411eb5
xor ecx, ecx
mov bl, cl
mov byte [ebp - 0x82c], bl
test ax, ax
jne 0x412097
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
mov eax, dword [ebp - 0x848]
test eax, eax
cmovne edi, eax
push edi
mov dword [ebp - 0x828], edi
call fcn.004d7f24
pop ecx
test al, al
je 0x412072
xor eax, eax
lea ebx, [eax + 1]
mov dword [ebp - 0x844], ebx
mov byte [ebp - 0x82c], bl
call fcn.004d4aa9
test al, al
jne 0x412014
xor eax, eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
mov edi, ecx
mov dword [ebp - 0x838], ecx
lea ecx, [ebp - 0x858]
call fcn.004d840a
xor ecx, ecx
lea eax, [ebp - 0x858]
push ecx
push eax
push ecx
mov dword [ebp - 4], ecx
call fcn.004d4632
add esp, 0xc
test al, al
je 0x412005
xor ebx, ebx
mov ecx, dword [ebp - 0x854]
call fcn.004e19c7
test al, al
je 0x411fc2
mov ecx, dword [ebp - 0x854]
call fcn.004dbfc5
mov ecx, eax
lea edi, [ebp - 0x820]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x820]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x83c]
lea eax, [ebp - 0x820]
push dword [ebp - 0x840]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x411fbc
push dword [ebp - 0x854]
mov ecx, esi
call fcn.0040b143
mov edi, dword [ebp - 0x838]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.004d84a5
inc edi
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x838], edi
call fcn.004d840a
push ebx
lea eax, [ebp - 0x858]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.004d4632
add esp, 0xc
test al, al
jne 0x411f5c
mov ebx, dword [ebp - 0x844]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.004d84a5
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x10f91], 0
je 0x4121a7
cmp byte [esi + 0x31e], 0
mov edi, dword [ebp - 0x830]
je 0x4121ad
xor ecx, ecx
inc ecx
cmp di, cx
jne 0x412053
mov eax, dword [ebp - 0x834]
shr eax, 0x10
test ax, ax
jne 0x4121b5
xor eax, eax
cmp dword [esi + 0x254], eax
jg 0x4121ad
push ecx
lea ecx, [esi + 0x180]
call fcn.0042a232
jmp 0x4121ad
test edi, edi
je 0x412097
call fcn.004d7d35
test al, al
je 0x412097
push edi
call fcn.004e639c
pop ecx
test al, al
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
mov byte [ebp - 0x82c], bl
test bl, bl
jne 0x412014
lea ecx, [esi + 0x978]
call fcn.00432d85
test al, al
je 0x4121a7
xor eax, eax
cmp dword [esi + 0x4568], eax
je 0x4121a7
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
inc eax
push eax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x4120e6
push 2
call edi
mov ecx, 0x8000
test cx, ax
je 0x4121a7
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
call dword [sym.imp.USER32.dll_WindowFromPoint]
jmp 0x41219d
push 0x7f
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x412196
mov ecx, str.WorkerW
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41214f
test dx, dx
je 0x41214b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41214f
add eax, 4
add ecx, 4
test dx, dx
jne 0x412129
xor eax, eax
jmp 0x412156
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x4121d1
mov ecx, str.Progman
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41218b
test dx, dx
je 0x412187
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41218b
add eax, 4
add ecx, 4
test dx, dx
jne 0x412165
xor eax, eax
jmp 0x412192
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x4121d1
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x41210a
mov edi, dword [ebp - 0x830]
xor eax, eax
inc eax
cmp di, ax
jne 0x4121fd
push dword [ebp - 0x848]
lea eax, [ebp - 0x110]
push str.WM_ACTIVATE_From0x_08X_
push eax
call fcn.00401133
add esp, 0xc
jmp 0x41221b
lea eax, [ebp - 0x844]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x844]
mov edi, dword [ebp - 0x830]
cmp eax, dword [esi + 0x456c]
jne 0x4121ad
xor eax, eax
mov dword [esi + 0x4570], eax
jmp 0x4121ad
movzx eax, bl
push eax
push dword [ebp - 0x848]
lea eax, [ebp - 0x110]
push str.WM_ACTIVATE.WA_INACTIVE_To0x_08X__OurFocus_i
push eax
call fcn.00401133
add esp, 0x10
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004109c9
pop ecx
pop ecx
mov eax, str.WM_ACTIVATE
jmp 0x411e3c
cmp eax, 0x1c
jne 0x41236f
test ecx, ecx
setne bl
mov byte [ebp - 0x82c], bl
test ecx, ecx
jne 0x41227d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
movzx eax, bl
push eax
push dword [ebp - 0x848]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x828], edi
push str.WM_ACTIVATEAPP.Deactivate_ToTID_i__OurFocus_i
push eax
call fcn.00401133
add esp, 0x10
jmp 0x412292
push edx
lea eax, [ebp - 0x110]
push str.WM_ACTIVATEAPP.Activate_FromTID_i_
push eax
call fcn.00401133
add esp, 0xc
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004109c9
cmp dword [ebp - 0x834], 0
pop ecx
pop ecx
jne 0x4122cc
push edi
call fcn.004d7f24
pop ecx
test al, al
je 0x412365
xor eax, eax
lea ebx, [eax + 1]
mov byte [ebp - 0x82c], bl
jmp 0x412365
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x10f91], 0
je 0x412365
xor eax, eax
cmp dword [esi + 0x254], eax
jle 0x412365
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x412358
lea ecx, [ebp - 0x858]
call fcn.004d840a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
xor eax, eax
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.004d3e20
pop ecx
pop ecx
test eax, eax
js 0x412340
mov ecx, dword [ebp - 0x854]
call fcn.004dbfc5
mov ecx, dword [ebp - 0x830]
test eax, eax
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp - 0x830], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.004d84a5
cmp byte [ebp - 0x830], 0
jne 0x412365
push 3
lea ecx, [esi + 0x180]
call fcn.0042a232
mov eax, str.WM_ACTIVATEAPP
jmp 0x411e3c
cmp eax, 8
jne 0x4123f0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp - 0x834]
mov ebx, eax
test edi, edi
cmovne ebx, edi
cmp byte [esi + 0x78cc], 0
mov dword [ebp - 0x828], ebx
je 0x4123a4
call dword [sym.imp.USER32.dll_DestroyCaret]
xor eax, eax
mov byte [esi + 0x78cc], al
push ebx
call fcn.004d7f24
push 1
xor ecx, ecx
test al, al
pop eax
movzx ebx, cl
cmovne ebx, eax
movzx eax, bl
push eax
push edi
lea eax, [ebp - 0x110]
mov byte [ebp - 0x82c], bl
push str.WM_KILLFOCUS_To0x_08X__OurFocus_i
push eax
call fcn.00401133
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004109c9
add esp, 0x1c
mov eax, str.WM_KILLFOCUS
jmp 0x411e3c
cmp dword [ebp + 0x18], edi
mov ebx, 0x527908
lea edi, [esi + 0x978]
cmovne ebx, dword [ebp + 0x18]
mov ecx, edi
mov dword [ebp - 0x838], ebx
call fcn.00432d85
test al, al
je 0x41241b
push ebx
mov ecx, esi
call fcn.0040b948
mov ecx, edi
call fcn.00432d85
test al, al
jne 0x412a86
xor eax, eax
cmp dword [esi + 0x3e68], eax
jne 0x412a86
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
mov dword [ebp - 0x828], edi
call fcn.004d7f24
mov bl, al
pop ecx
mov byte [ebp - 0x82c], bl
cmp byte [esi + 0x3e5c], bl
je 0x41246a
push dword [ebp - 0x82c]
mov ecx, esi
call fcn.0041772f
test bl, bl
jne 0x412492
cmp dword [ebp + 0x18], str.TIMER_QUAKE_AUTOHIDE_ID
jne 0x412492
xor eax, eax
cmp dword [esi + 0x45d0], eax
je 0x412492
mov dword [esi + 0x45d0], eax
mov eax, dword [ebp - 0x838]
jmp 0x411e3c
mov eax, dword [ebp - 0x838]
cmp bl, byte [esi + 0x45cd]
jne 0x411e3c
mov ecx, dword [0x5a23ec]
push 2
pop eax
push eax
call fcn.004673c5
test eax, eax
je 0x412a86
call dword [sym.imp.USER32.dll_GetFocus]
push eax
movzx eax, byte [esi + 0x45cd]
push edi
push dword [0x5a22a4]
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x210]
push str.Focus_event_skipped__lbSetFocus_u__mb_LastConEmuFocusState_u__ghWndx_08X__hForex_08X__hFocusx_08X
push eax
call fcn.00401133
lea eax, [ebp - 0x210]
push 2
push eax
call fcn.004109c9
add esp, 0x24
jmp 0x412a86
xor eax, eax
mov ecx, dword [ebp - 0x828]
mov dword [ebp - 0x838], eax
test ecx, ecx
je 0x412567
cmp ecx, dword [0x5a22a4]
je 0x412567
cmp ecx, eax
je 0x412567
push ecx
jmp 0x412551
push dword [ebp - 0x828]
mov ecx, esi
call fcn.0040f796
test al, al
jne 0x412561
mov eax, dword [ebp - 0x834]
cmp eax, dword [ebp - 0x838]
je 0x412561
mov ecx, dword [0x5a22a4]
cmp eax, ecx
je 0x41264d
mov dword [ebp - 0x828], eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x834], eax
test eax, eax
jne 0x41251d
mov ecx, dword [ebp - 0x828]
test bl, bl
je 0x412696
test ecx, ecx
jne 0x4125a3
xor eax, eax
inc eax
test edi, edi
je 0x4125a6
mov ecx, dword [esi + 0x3e64]
test ecx, ecx
je 0x4125a6
push eax
call fcn.004bf1c6
test al, al
je 0x4125a3
mov ecx, dword [esi + 0x3e64]
xor eax, eax
inc eax
push eax
call fcn.004be622
mov dword [ebp - 0x828], eax
xor eax, eax
inc eax
push eax
push dword [ebp - 0x82c]
mov ecx, esi
call fcn.0041cb64
xor eax, eax
mov byte [esi + 0x45cd], bl
inc eax
mov ecx, str.mb_LastConEmuFocusState_set_to_FALSE
push eax
test bl, bl
mov eax, str.mb_LastConEmuFocusState_set_to_TRUE
cmove eax, ecx
push eax
call fcn.004109c9
pop ecx
pop ecx
push dword [ebp - 0x82c]
mov ecx, esi
call fcn.0041772f
test bl, bl
jne 0x4127b3
test edi, edi
je 0x412604
mov ecx, edi
call fcn.004de78b
push eax
xor eax, eax
lea ecx, [esi + 0x144]
push eax
call fcn.0042565b
mov ecx, dword [esi + 0x3e64]
call fcn.004c04f0
xor eax, eax
mov ecx, esi
push eax
call fcn.004190bb
xor eax, eax
mov ecx, esi
push eax
call fcn.0041c491
test edi, edi
je 0x4127e9
mov ecx, edi
call fcn.004dbfc5
test eax, eax
je 0x4127c3
xor eax, eax
lea ecx, [esi + 0xd0]
push eax
call fcn.0044748e
jmp 0x4127c3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, eax
mov eax, dword [0x5a22a4]
mov dword [ebp - 0x828], ecx
cmp ecx, eax
jne 0x412688
xor eax, eax
inc eax
push eax
push str.Focus_was_returned_to_ConEmu
call fcn.004109c9
mov eax, dword [0x5a22a4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x828]
cmp ecx, eax
sete bl
mov byte [ebp - 0x82c], bl
jmp 0x412567
test ecx, ecx
jne 0x41273f
xor eax, eax
inc eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4126c8
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4125a3
xor eax, eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
call dword [sym.imp.USER32.dll_WindowFromPoint]
xor ecx, ecx
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x838], ecx
test eax, eax
je 0x4125a3
lea ecx, [ebp - 0x838]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4125a3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x838], eax
je 0x4125a3
mov ecx, dword [ebp - 0x844]
mov dword [ebp - 0x828], ecx
xor eax, eax
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x834]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x834], eax
je 0x412781
test edi, edi
je 0x4125a3
mov ecx, edi
call fcn.004de78b
mov ecx, eax
call fcn.004843c1
cmp dword [ebp - 0x828], eax
jne 0x412791
xor eax, eax
inc eax
mov bl, al
mov byte [ebp - 0x82c], bl
jmp 0x4125a6
xor eax, eax
mov ecx, edi
push eax
call fcn.004de78b
mov ecx, eax
call fcn.00487113
cmp dword [ebp - 0x834], eax
push 1
movzx ebx, bl
pop eax
cmove ebx, eax
jmp 0x412786
cmp byte [esi + 0x77cc], 0
jne 0x4127c3
mov ecx, esi
call fcn.00419433
test edi, edi
je 0x4127e9
mov ecx, edi
call fcn.004de78b
test eax, eax
je 0x4127e9
push dword [ebp + 0x1c]
mov ecx, edi
push dword [ebp - 0x82c]
call fcn.004de78b
mov ecx, eax
call fcn.0048b42e
mov ecx, dword [0x5a23ec]
call fcn.00467469
test al, al
je 0x41297a
test bl, bl
jne 0x41297a
xor eax, eax
mov ecx, esi
push eax
inc eax
push eax
push eax
call fcn.0041ef08
xor ecx, ecx
test al, al
jne 0x41297c
push ecx
lea ecx, [esi + 0x180]
call fcn.00432292
test al, al
jne 0x41297a
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41297a
xor eax, eax
mov word [ebp - 0x410], ax
mov byte [ebp - 0x821], al
mov byte [ebp - 0x834], al
cmp dword [ebp + 0xc], eax
je 0x4128d1
mov eax, dword [ebp - 0x828]
jmp 0x4128cd
push 0xff
lea ecx, [ebp - 0x410]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Shell_TrayWnd
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x412948
push str.TrayNotifyWnd
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [ebp - 0x834]
test eax, eax
push 1
pop eax
push dword [ebp - 0x828]
movzx ecx, cl
cmove ecx, eax
mov dword [ebp - 0x834], ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x828], eax
test eax, eax
jne 0x412865
xor eax, eax
inc eax
mov ecx, dword [0x5a23ec]
push eax
call fcn.004673c5
test eax, eax
je 0x412927
push dword [esi + 0x45d0]
mov eax, dword [ebp - 0x834]
movzx eax, al
push eax
movzx eax, byte [ebp - 0x821]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push str.MinimizeOnFocusLose:_Class_s__IsTaskbar_u__IsTrayNotifyWnd_u__Timer_u
push eax
call fcn.00409b4e
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004109c9
add esp, 0x20
xor ecx, ecx
cmp byte [ebp - 0x821], cl
jne 0x412953
cmp dword [esi + 0x254], ecx
jg 0x41297c
push 7
lea ecx, [esi + 0x180]
call fcn.0042a232
jmp 0x41297a
xor eax, eax
inc eax
mov byte [ebp - 0x821], al
jmp 0x4128d4
cmp dword [esi + 0x45d0], ecx
jne 0x41297c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x45d0], eax
xor eax, eax
push eax
push 0x64
push 9
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_SetTimer]
xor ecx, ecx
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x11007], 0
je 0x4129fe
test edi, edi
je 0x4129ee
test bl, bl
jne 0x4129a7
push ecx
xor eax, eax
inc eax
push eax
push ecx
mov ecx, esi
call fcn.0041ef08
test al, al
jne 0x4129a7
xor eax, eax
jmp 0x4129aa
xor eax, eax
inc eax
mov cl, byte [edi + 0x1578]
mov byte [ebp - 0x821], cl
test al, al
jne 0x4129d6
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x11007], 0
je 0x4129d6
call fcn.004d7fe5
test al, al
jne 0x4129d6
xor eax, eax
inc eax
jmp 0x4129d8
xor eax, eax
cmp byte [ebp - 0x821], al
je 0x4129ee
lea ecx, [edi + 0xc]
mov byte [edi + 0x1578], al
call fcn.004cfd94
mov ecx, dword [esi + 0x3e6c]
xor eax, eax
push eax
inc eax
push eax
call fcn.004be2a6
lea ecx, [esi + 0x3ebc]
call fcn.00419bc7
test bl, bl
je 0x412a55
test edi, edi
je 0x412a55
mov ecx, dword [0x5a23ec]
call fcn.00467546
test al, al
je 0x412a55
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x5a22a4]
jne 0x412a55
xor eax, eax
cmp dword [esi + 0x7884], eax
jne 0x412a55
push eax
push eax
push dword [esi + 0x7880]
xor ecx, ecx
inc ecx
mov dword [esi + 0x7884], ecx
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x113c8], 0
jne 0x412a7b
test edi, edi
je 0x412a7b
push dword [ebp - 0x82c]
mov ecx, edi
call fcn.004de78b
mov ecx, eax
call fcn.0048b3b2
lea ecx, [ebp - 0x868]
call fcn.004d84a5
xor eax, eax
call fcn.004f418c
ret 0x18