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

Disassembly:
push 0xffffffffffffffff
push 0x473868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
push esi
mov ecx, dword [edi + 0x48]
call fcn.0040e5b0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add eax, 0x10
mov dword [esp + 0x14], ecx
mov ecx, edi
mov dword [esp + 0x20], edx
call fcn.00410720
mov ecx, edi
call fcn.00410880
lea eax, [esp + 0x27]
lea ecx, [esp + 0x26]
push eax
push esi
push ecx
lea ecx, [esp + 0x5c]
mov byte [edi + 0x44], 0
call fcn.00411d60
lea edx, [esp + 0x25]
lea eax, [esp + 0x24]
push edx
push esi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc8], esi
call fcn.00411f60
mov byte [esp + 0xbc], 1
mov dword [esp + 0x10], esi
xor ebx, ebx
xor ebp, ebp
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov esi, eax
push ebp
push ebx
push esi
mov ecx, edi
call fcn.00450280
test al, al
je 0x40fe5a
mov edx, dword [esp + 0x10]
push ebp
push ebx
push edx
mov ecx, edi
call fcn.00450140
test al, al
je 0x40fe5a
push ebp
push ebx
mov ecx, esi
call fcn.0044db00
mov si, ax
and esi, 0xffff
cmp esi, 0xffff
je 0x40fe5a
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0
call fcn.00411e70
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x40fe85
or edx, 0xffffffff
or eax, 0xffffffff
mov dword [esp + 0x3c], edx
or ecx, 0xffffffff
mov dword [esp + 0x34], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x68]
mov dword [esp + 0x38], ecx
push edx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], esi
call fcn.00411c70
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
add eax, 0x10
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], esi
mov dword [eax], ebx
mov dword [esp + 0x30], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
call fcn.00411e70
mov eax, dword [eax]
mov dword [eax + 0x10], 1
inc ebp
cmp ebp, 0x12
jl 0x40fd6e
inc ebx
cmp ebx, 0x20
jl 0x40fd6c
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jge 0x41013c
jmp 0x40fd6a
or ecx, 0xffffffff
or edx, 0xffffffff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x30]
lea edx, [esp + 0x60]
or eax, 0xffffffff
push ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.00411c70
mov eax, dword [eax]
lea esi, [edi + 0x2c]
add eax, 0x10
mov ecx, esi
mov dword [esp + 0x28], esi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebp
mov dword [edi + 0x40], ecx
mov edx, dword [edi + 0x48]
mov byte [edi + 0x44], 1
mov eax, dword [edx + 0x3ac]
test eax, eax
je 0x40ffe4
lea ecx, [esp + 0x78]
call fcn.0040b670
mov eax, dword [edi + 0x30]
mov esi, dword [esi]
push eax
push esi
lea ecx, [esp + 0x80]
mov byte [esp + 0xc4], 2
call fcn.0040b740
mov eax, dword [edi + 0x34]
lea ecx, [esp + 0x78]
push eax
push 1
call fcn.0040b720
lea esi, [edi + 0x84]
lea ecx, [esp + 0x78]
push esi
call fcn.0040b760
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x40ff52
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x48]
push esi
mov ecx, dword [eax + 0x3ac]
mov edx, dword [ecx]
call dword [edx + 0x38]
push ebp
push ebx
lea ecx, [esp + 0x80]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0xff
call fcn.0040b740
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push eax
push 1
call fcn.0040b720
lea esi, [edi + 0x9c]
lea ecx, [esp + 0x78]
push esi
call fcn.0040b760
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x40ffbd
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x48]
push esi
mov ecx, dword [ecx + 0x3ac]
mov edx, dword [ecx]
call dword [edx + 0x38]
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], 0xff
mov byte [esp + 0xbc], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x48]
push eax
call fcn.0040e5b0
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x9c]
cmp eax, 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], edx
je 0x41002d
push dword [esp + 0x14]
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push eax
call dword [edx]
jmp 0x41003c
cmp ebx, 0xffffffff
je 0x41003c
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push ebp
push ebx
call dword [eax]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x14], edx
mov eax, dword [eax]
mov edx, dword [esi + 0xa4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa8], ecx
mov ecx, dword [esp + 0x20]
cmp edx, 0xffffffff
mov dword [esi + 0xa4], eax
mov dword [esi + 0xac], ecx
je 0x41008f
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
mov esi, dword [esp + 0x18]
push esi
push edx
call dword [eax]
jmp 0x4100a2
cmp eax, 0xffffffff
je 0x4100a2
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
mov esi, dword [esp + 0x14]
push esi
push eax
call dword [edx]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x48]
push eax
call fcn.0040e5b0
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x9c]
cmp eax, 0xffffffff
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ecx
je 0x4100e3
mov ebx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push edx
push eax
call dword [ebx]
jmp 0x4100f2
cmp ebx, 0xffffffff
je 0x4100f2
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push ebp
push ebx
call dword [edx]
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x34]
mov edx, dword [esi + 0xa4]
mov edi, dword [edi + 0x30]
mov eax, dword [eax]
mov ebx, dword [esi + 0xa8]
cmp edx, 0xffffffff
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ecx
je 0x41012d
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push ebx
push edx
call dword [eax]
jmp 0x41013c
cmp eax, 0xffffffff
je 0x41013c
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
push edi
push eax
call dword [edx]
mov eax, dword [esp + 0x44]
mov byte [esp + 0xbc], 0
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00411f90
mov ecx, dword [esp + 0x44]
push ecx
call sub.MFC42u.DLL_operatordelete
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
xor esi, esi
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
xor edi, edi
call ebx
mov eax, dword [0x4941a8]
dec eax
mov dword [0x4941a8], eax
jne 0x410198
mov edi, dword [0x4941ac]
mov dword [0x4941ac], esi
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0x18]
call ebp
cmp edi, esi
je 0x4101b1
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x28]
push eax
mov dword [esp + 0xc0], 0xffffffff
mov ecx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00411da0
mov eax, dword [esp + 0x54]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
xor edi, edi
call ebx
mov eax, dword [0x4d886c]
dec eax
mov dword [0x4d886c], eax
jne 0x410208
mov edi, dword [0x4d8868]
mov dword [0x4d8868], esi
lea ecx, [esp + 0x18]
call ebp
cmp edi, esi
je 0x41021b
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret