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

Disassembly:
push 0xffffffffffffffff
push 0x666e46
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x7289f4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7289f4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push 0x5c
lea eax, [esp + 0x34]
push 0
push eax
mov edi, ecx
call fcn.004dfac0
mov ecx, dword [edi + 0x20]
add esp, 0xc
push ecx
mov byte [esp + 0x4b], 1
call dword [0x68a7d8]
push eax
call fcn.004a5609
test eax, eax
je 0x406734
mov eax, dword [eax + 4]
push 0
lea edx, [edi + 0x17c]
push edx
push 0x40fa80
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [0x68a1cc]
mov edx, dword [0x733628]
mov eax, dword [edi + 0x19c]
mov ebx, dword [0x68a7fc]
push edx
push 0xffffffffffffffff
push 0x14c
push eax
call ebx
cmp eax, 0xffffffff
je 0x406781
mov ecx, dword [edi + 0x19c]
push 0
push eax
push 0x14e
push ecx
call ebx
call fcn.004a28b3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40679b
push 0x80004005
call fcn.00401ce0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x98], 0
call fcn.004a28b3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4067d0
push 0x80004005
call fcn.00401ce0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 1
call fcn.004a28b3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406802
push 0x80004005
call fcn.00401ce0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x98], 2
call fcn.004a28b3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406834
push 0x80004005
call fcn.00401ce0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x98], 3
call fcn.005051f0
mov edx, dword [eax]
mov edx, dword [edx + 8]
push 0x11ad
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call edx
call fcn.005051f0
mov edx, dword [eax]
mov edx, dword [edx + 8]
push 0x11ae
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call edx
call fcn.005051f0
mov edx, dword [eax]
mov edx, dword [edx + 8]
push 0x11af
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.004e0359
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call fcn.004e0359
mov ebp, eax
lea eax, [esi + 7]
add esp, 8
cmp eax, ebp
jge 0x4068e7
lea esi, [eax + 1]
push esi
lea edx, [esp + 0x20]
push 0x68b720
push edx
call fcn.004037c0
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x1f0]
add esp, 0xc
push eax
push 0
push 0x143
push ecx
call ebx
mov eax, esi
cmp eax, ebp
jl 0x4068b6
mov eax, dword [edi + 0x174]
mov edx, dword [edi + 0x1f0]
push eax
push 0xffffffffffffffff
push 0x14d
push edx
call ebx
mov ecx, dword [edi + 0x350]
mov eax, dword [edi + 0x280]
mov edx, dword [eax + 0x19c]
lea esi, [edi + 0x280]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1b4]
push 0xff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1a4]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1bc]
push 0x10
push 6
mov ecx, esi
call edx
mov eax, 3
mov dword [esi + 0xc4], 0x71726c
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
call fcn.004a28b3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40697f
push 0x80004005
call fcn.00401ce0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x98], 4
call dword [0x68a048]
mov esi, eax
cmp dword [esi], 0
je 0x4069db
mov eax, dword [esi + 4]
test eax, eax
je 0x4069db
push eax
lea ecx, [esp + 0x24]
push 0x68b934
push ecx
call fcn.004037c0
mov ebp, dword [esp + 0x2c]
mov edx, dword [edi + 0x244]
add esp, 0xc
push ebp
push 0
push 0x143
push edx
call ebx
add esi, 0x18
cmp dword [esi], 0
jne 0x4069a4
mov eax, dword [edi + 0x354]
cmp dword [eax - 0xc], 0
lea esi, [edi + 0x354]
jne 0x406a85
push 0x68b914
lea ecx, [esp + 0x30]
push 0x7335b0
push ecx
call fcn.00405c40
add esp, 0xc
mov edx, dword [eax]
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x3e8
or eax, ecx
mov byte [esp + 0x98], 5
mov dword [esp + 0x28], edx
jge 0x406a3b
push 0x3e8
mov ecx, esi
call fcn.004022b0
mov eax, dword [esp + 0x28]
mov esi, dword [esi]
push eax
push 0x3e8
push esi
push 0x68b730
push 0x68b904
push 0x68b8f0
call dword [0x68a374]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x98], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x36c]
mov ecx, dword [edi + 0x244]
push 0
push eax
push 0x14e
push ecx
call ebx
push 0
mov ecx, edi
call fcn.004aa24e
lea eax, [ebp - 0x10]
mov byte [esp + 0x98], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406ac9
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 + 0x98], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406af1
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 + 0x98], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x98], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004df5e6
add esp, 0x88
ret