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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6073ff
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
lea esi, [edi + 0x20]
push 0x78
mov eax, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], ebx
call fcn.005aa990
mov dword [esp + 0x20], eax
push 0x79
mov eax, esi
call fcn.005aa990
cmp dword [esp + 0x20], 0
mov dword [esp + 0x40], eax
je 0x477c7c
test eax, eax
je 0x477c7c
push 0xaa
mov eax, esi
mov byte [edi + 0x2e0], 0
call fcn.005aa990
test eax, eax
je 0x47777a
push 0
mov edi, eax
call fcn.005cd330
push str.OpenEffect
lea ecx, [esp + 0x54]
call dword [0x610498]
mov dword [esp + 0x98], 0
call fcn.004045c0
lea esi, [esp + 0x50]
mov edi, eax
call fcn.00407ea0
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x2e0], al
mov ecx, esi
mov dword [esp + 0x98], 0xffffffff
call dword [0x6105a0]
xor esi, esi
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov eax, ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0x18], esi
call fcn.00447d80
test eax, eax
jbe 0x477ade
jmp 0x477804
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x477817
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x47781d
call dword [0x6105e8]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x1c]
add esi, esi
add esi, esi
mov edx, dword [eax + esi]
add eax, esi
mov eax, dword [edx]
push eax
add edi, 0x1f8
mov eax, edi
mov dword [esp + 0x28], esi
call fcn.0040c900
test eax, eax
je 0x477895
movzx ecx, word [eax + 0x22]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jne 0x477895
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x477874
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x47787a
call dword [0x6105e8]
mov eax, dword [ebx + 4]
add eax, esi
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
mov eax, edi
call fcn.0040c770
mov esi, eax
test esi, esi
jne 0x4778d6
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4778aa
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x4778b0
call dword [0x6105e8]
mov eax, dword [ebx + 4]
mov edx, dword [eax + esi]
mov edi, dword [edi]
push 0
add eax, esi
mov eax, dword [edx]
push 0
push 0
push eax
mov eax, dword [edi + 0x50]
push eax
call fcn.004b3ff0
mov esi, eax
test esi, esi
je 0x477c6b
mov ecx, dword [esi + 0x138]
mov dl, byte [esi + 0x11d]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov byte [esp + 0x17], dl
je 0x4778ff
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x477905
call dword [0x6105e8]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx]
call fcn.00477ca0
mov eax, dword [esp + 0x38]
test eax, eax
mov dl, byte [esp + 0x17]
mov dword [esi + 0x138], eax
mov byte [esi + 0x11d], dl
je 0x477936
mov byte [esp + 0x16], 1
jmp 0x477a6a
mov eax, dword [esi]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x1f8
call fcn.0040c900
mov edi, eax
test edi, edi
je 0x477a6a
push 0x548
call fcn.005e694e
mov ebx, eax
add esp, 4
mov dword [esp + 0x38], ebx
test ebx, ebx
mov byte [esp + 0x98], 2
je 0x477990
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x6111d4
call dword [0x610498]
push edi
mov ecx, ebx
call fcn.00465e00
mov ebx, eax
jmp 0x477992
xor ebx, ebx
test ebx, ebx
mov byte [esp + 0x98], 1
je 0x477a66
mov ecx, dword [esi]
push ecx
lea edi, [esp + 0x54]
mov dword [esi + 0x138], ebx
call fcn.00405ca0
add esp, 4
mov edx, edi
push edx
mov byte [esp + 0x9c], 3
call fcn.004d7a10
add esp, 4
test al, al
je 0x477a15
mov eax, dword [ebx + 0x420]
and eax, 0xfffffffa
mov ecx, edi
or eax, 2
push ecx
lea ecx, [ebx + 0x424]
mov dword [ebx + 0x420], eax
call dword [0x61059c]
mov eax, dword [ebx + 0x3ac]
test eax, eax
mov byte [ebx + 0x3a8], 1
je 0x477a07
mov byte [eax + 0xb8], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x114]
mov ecx, ebx
call eax
jmp 0x477a1f
push esi
lea esi, [esp + 0x2c]
call fcn.00447e10
mov eax, dword [esp + 0x1c]
push 0xfb
push 0x79
call fcn.00443460
test al, al
je 0x477a42
mov ecx, dword [esp + 0x20]
push 1
push ebx
push ecx
call fcn.0046d6c0
jmp 0x477a4f
mov edx, dword [esp + 0x20]
push 0
push ebx
push edx
call fcn.0046cdc0
lea ecx, [esp + 0x50]
mov byte [esp + 0x15], 1
mov byte [esp + 0x98], 1
call dword [0x6105a0]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
add esi, 1
mov eax, ebx
mov dword [esp + 0x18], esi
call fcn.00447d80
cmp esi, eax
jb 0x477800
cmp byte [esp + 0x15], 0
je 0x477ab1
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x3ac]
test eax, eax
mov byte [ecx + 0x3a8], 1
je 0x477aa7
mov byte [eax + 0xb8], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x114]
call edx
cmp byte [esp + 0x16], 0
je 0x477ade
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x3ac]
test eax, eax
mov byte [ecx + 0x3a8], 1
je 0x477ad4
mov byte [eax + 0xb8], 1
mov eax, dword [ecx]
mov edx, dword [eax + 0x114]
call edx
push 0
call dword [0x6105ec]
add esp, 4
push edx
push eax
lea esi, [esp + 0x74]
call fcn.004ce1a0
add esp, 8
push str.ImportTime
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 4
call dword [0x610498]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x9c], 5
call fcn.004045c0
mov edi, esi
mov esi, eax
call fcn.00408090
lea ecx, [esp + 0x50]
mov byte [esp + 0x98], 4
call dword [0x6105a0]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 6
mov edx, dword [ebx + 0x3e0]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00494800
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
mov esi, eax
jbe 0x477b8f
call dword [0x6105e8]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x40], ecx
jbe 0x477ba1
call dword [0x6105e8]
mov ecx, dword [esp + 0x40]
push esi
push edi
push ecx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x50]
push edx
push eax
call fcn.004294f0
cmp byte [ebp + 0xc], 0
je 0x477c48
cmp byte [esp + 0x15], 0
jne 0x477bd0
cmp byte [esp + 0x16], 0
je 0x477c48
cmp byte [ebx + 0x3a9], 0
jne 0x477c48
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x50c]
push 1
sub eax, 1
call fcn.0046dc70
lea edi, [ebx + 0x20]
push 0x69
mov eax, edi
call fcn.005aa990
mov esi, eax
test esi, esi
je 0x477c48
mov edx, dword [esi]
mov eax, dword [edx + 0x1e8]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x477c1f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x284]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x1e8]
push 0
mov ecx, esi
call eax
mov eax, dword [eax + 0x5d4]
push eax
mov eax, edi
call fcn.005aa990
test eax, eax
je 0x477c48
xor esi, esi
mov ecx, eax
call fcn.005c5b80
mov edi, dword [ebx + 0x1f8]
call fcn.004b5900
push ebx
call fcn.00445480
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 1
call dword [0x6105a0]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x477c7c
push eax
call fcn.005e6954
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret 8