Function at 0x40c1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5be409
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
push 0xffffffffffffffff
lea ecx, [edi + 4]
push 0x5d12e0
call fcn.00407590
mov esi, eax
test esi, esi
je 0x40c6eb
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x64]
call fcn.00409f10
mov dword [esp + 0x84], 0
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c23e
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov byte [esp + 0x8c], 1
call edx
mov ecx, eax
mov byte [esp + 0x84], 2
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x28]
call fcn.00405b50
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 4
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov dword [esp + 0x2c], 0
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c2b4
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
push ecx
push 0x5d0f7c
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 5
call fcn.0040a700
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
mov byte [esp + 0x84], 6
test eax, eax
je 0x40c4a1
jmp 0x40c300
cmp eax, 3
jl 0x40c440
test eax, eax
jl 0x40c4fe
movzx edx, word [ecx]
cmp dx, 0x2a
jne 0x40c440
cmp eax, 1
jl 0x40c4fe
movzx eax, word [ecx + 2]
cmp ax, 0x2e
jne 0x40c440
push 2
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.00409760
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 7
call fcn.00404490
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x84], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c37f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
call fcn.00408fa0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x3b0]
call fcn.0041df20
cmp eax, 0x40000000
jne 0x40c42d
mov ebx, dword [edi + 0x3dc]
mov ebp, dword [edi + 0x3c4]
lea edx, [esp + 0x18]
lea esi, [edi + 0x3c4]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00409ba0
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x40c3d2
cmp eax, ebp
je 0x40c3d7
call fcn.00585229
cmp dword [edi + 4], ebx
jne 0x40c429
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
lea ecx, [esp + 0x1c]
jne 0x40c3f6
lea edx, [esp + 0x18]
push edx
call fcn.00404490
jmp 0x40c412
push 0x5d0f7c
call fcn.00409e10
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00409450
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0040a830
mov edi, dword [esp + 0x28]
jmp 0x40c440
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x64]
call fcn.0040a830
lea ecx, [esp + 0x2c]
push ecx
push 0x5d0f7c
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.0040a700
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 8
call fcn.00404490
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x84], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c492
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x40c300
mov ebp, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x60]
push ecx
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push ebp
call fcn.00403250
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [edi + 0x3c0]
add esp, 4
call fcn.0040b3c0
cmp dword [esp + 0x78], 0
mov dword [edi + 0x3bc], 1
jbe 0x40c5f6
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c508
push 0x80004005
call fcn.00401020
push 0x80070057
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push 0x5d12d8
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x40]
mov bl, 9
push edx
mov ecx, edi
mov byte [esp + 0x90], bl
call fcn.0040a570
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x30]
push str.2301084_s
push ecx
mov byte [esp + 0x90], 0xa
call fcn.004096d0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x84], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c57b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00488be0
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
mov edx, dword [edi + 0x248]
push 0x64
push 0x40
push eax
push esi
push edx
mov byte [esp + 0x9c], 0xb
call dword [sym.imp.soui.dll_int___cdecl_SOUI::SMessageBox_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int__int_]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x84], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x84], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c63d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40c63d
push 0xffffffffffffffff
lea esi, [edi + 4]
push 0x5d12e0
mov ecx, esi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
push 0x5d0c4c
call eax
push 0xffffffffffffffff
push 0x5d0de4
mov ecx, esi
call fcn.00407420
mov ecx, dword [edi + 0x3c0]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x14]
call eax
dec eax
push eax
mov ecx, esi
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SMCListView::EnsureVisible_int_]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x84], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c665
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x84], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c68d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c6b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c6d7
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 0xffffffff
call fcn.0040b0f0
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret