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

Disassembly:
mov eax, dword [esi + 0x50]
sub esp, 0x68
test eax, eax
je 0x4676e0
mov eax, dword [esi + 0x38]
push ebx
push edi
push eax
call dword [sym.imp.binkw32.dll__BinkWait_4]
test eax, eax
je 0x46746b
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x80ed74]
test eax, eax
jne 0x467431
xor edi, edi
jmp 0x467438
call fcn.006282d0
mov edi, eax
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x46745d
cmp dword [edi + 0x48], 4
je 0x46745d
cmp dword [edi + 0x48], 3
je 0x46745d
mov dword [edi + 0x48], 0xa
push 1
call ebx
mov dword [edi + 0x48], 0
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.binkw32.dll__BinkWait_4]
test eax, eax
jne 0x467424
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.binkw32.dll__BinkDoFrame_4]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.binkw32.dll__BinkNextFrame_4]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 0
push 0
push 0
push 1
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x940b38]
test eax, eax
je 0x4674bf
mov edi, dword [0x940b30]
mov ecx, dword [0x940b28]
mov ebx, dword [0x940b34]
mov eax, dword [0x940b2c]
sub edi, ecx
sub ebx, eax
jmp 0x4674cb
mov edi, dword [0x940b3c]
mov ebx, dword [0x940b40]
mov eax, dword [esi + 0x50]
mov edx, dword [eax]
push 0x2000
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
call dword [edx + 0x4c]
test eax, eax
jne 0x4676de
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
push reloc.WSOCK32.dll_closesocket
push eax
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.binkw32.dll__BinkCopyToBuffer_28]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x50]
mov ecx, dword [esi + 0x50]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0x104]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 2
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 2
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 1
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 1
push 1
push 1
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 1
push 0x16
push eax
call dword [edx + 0xe4]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 0
push 0x1b
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 0
push 0xf
push eax
call dword [edx + 0xe4]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x1ac]
mov eax, dword [0x80edd8]
mov ecx, dword [eax]
push 0x104
push eax
call dword [ecx + 0x164]
mov eax, dword [0x80edd8]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x170]
xorps xmm0, xmm0
movss xmm1, dword [0x7389bc]
mov eax, dword [0x80edd8]
push 0x18
lea edx, [esp + 0x14]
push edx
cvtsi2ss xmm2, edi
push 2
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x4c], xmm2
cvtsi2ss xmm2, ebx
push 6
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
dec ecx
cmp edx, ecx
jb 0x4676de
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4676d7
push 0
push 1
push eax
call dword [sym.imp.binkw32.dll__BinkGoto_12]
pop edi
pop ebx
xor eax, eax
add esp, 0x68
ret
mov dword [esi + 0x10], 1
pop edi
pop ebx
xor eax, eax
add esp, 0x68
ret