Function at 0x43e3c0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push edi
xor eax, eax
mov edx, vtable.CBuffer.0
xor ebx, ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0x30], edx
movsx edx, word [esi + 0xa]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
movsx eax, word [esi + 8]
mov edi, 0x20
mov dword [esp + 0x28], eax
mov ax, word [esp + 0xf4]
mov dword [esp + 0x2c], edx
mov dx, word [esp + 0xf8]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x20], ebx
mov word [esi + 8], ax
mov word [esi + 0xa], dx
cmp ecx, ebx
jne 0x43e4ed
xor eax, eax
jmp 0x43e4f3
mov eax, dword [ecx + 0x4d0]
mov ecx, 1
mov edx, 4
mov word [esp + 0xc0], cx
mov cl, byte [esi + 0x16]
mov word [esp + 0xe0], dx
mov edx, dword [esi + 0x48]
mov dword [esp + 0xa0], eax
mov eax, 0x4b5adc
mov ebp, 0x28
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], 0x320
mov dword [esp + 0xbc], 0x258
mov word [esp + 0xc2], di
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], 0xffe2b400
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], 0xc80
mov dword [esp + 0xe4], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], edx
cmp cl, 2
je 0x43e59d
xor eax, eax
jmp 0x43e5ac
cmp word [esi + 0x40], bx
ja 0x43e5a7
xor eax, eax
jmp 0x43e5ac
mov eax, dword [edx]
add eax, 0xc
mov edx, dword [edx]
movzx edi, word [edx + 2]
cmp dword [edx + 4], ebx
jne 0x43e5bb
xor edx, edx
jmp 0x43e5c6
mov edx, dword [esi + 0x3c]
movzx edi, di
movzx edx, word [edx + edi*2 + 4]
movzx edx, dx
cmp cl, 2
je 0x43e5d4
mov dword [esp + 0x10], ebx
jmp 0x43e5ec
movzx ecx, word [esi + 0x40]
cmp ecx, edx
jg 0x43e5e2
mov dword [esp + 0x10], ebx
jmp 0x43e5ec
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + edx*4]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, 1
mov word [esp + 0x60], di
mov edi, 0x20
mov word [esp + 0x62], di
lea edi, [ecx*4]
mov dword [esp + 0x54], ebp
mov ebp, edi
imul ebp, edx
mov eax, edx
mov edx, 4
mov word [esp + 0x80], dx
mov edx, dword [esp + 0x10]
add edi, 3
mov dword [esp + 0x40], edx
mov dl, byte [esi + 0x17]
neg eax
and edi, 0xfffffffc
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
cmp dl, bl
je 0x43e70e
cmp dl, 1
jne 0x43e698
cdq
push ebx
xor eax, edx
sub eax, edx
movsx edx, word [esp + 0xfc]
push ebx
push eax
push ecx
movsx ecx, word [esp + 0x104]
push edx
lea eax, [esp + 0x44]
lea edx, [esp + 0xa4]
call fcn.00411670
jmp 0x43e741
cmp dl, 2
jne 0x43e6cd
push ebx
push ebx
push ebx
cdq
push ebx
xor eax, edx
push ebx
sub eax, edx
push eax
movsx eax, word [esp + 0x110]
push ecx
movsx ecx, word [esp + 0x110]
push eax
push ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xb4]
call fcn.0043c640
jmp 0x43e741
cmp dl, 3
jne 0x43e70e
push 0xff
push 0xff
push 0xff
cdq
push ebx
xor eax, edx
push ebx
sub eax, edx
movsx edx, word [esp + 0x10c]
push eax
movsx eax, word [esp + 0x10c]
push ecx
push edx
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0xb4]
call fcn.0043c640
jmp 0x43e741
mov edx, dword [esp + 0xfc]
push edx
cdq
push ebx
xor eax, edx
push ebx
sub eax, edx
push eax
movsx eax, word [esp + 0x108]
push ecx
movsx ecx, word [esp + 0x108]
push eax
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xac]
call fcn.004145c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ebp, 1
add word [eax + 2], bp
mov ecx, dword [esi + 0x3c]
mov eax, dword [edx]
movzx edx, word [ecx + 2]
movzx edi, word [eax + 2]
xor ecx, ecx
sub edx, ebp
cmp edi, edx
setg cl
mov dword [esp + 0x14], ebp
dec ecx
and ecx, edi
mov word [eax + 2], cx
cmp bp, word [esi + 0x42]
jae 0x43eb7a
jmp 0x43e780
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
movzx ecx, dx
cmp ecx, ebx
jbe 0x43e79d
mov edi, edi
sub ecx, 1
movzx edi, word [eax + 2]
lea eax, [eax + edi*2 + 4]
jne 0x43e790
cmp byte [esi + 0x16], 2
movzx ax, byte [eax + 1]
movzx ecx, ax
mov dword [esp + 0x24], ecx
je 0x43e7b3
xor ebp, ebp
jmp 0x43e7cb
movzx edi, word [esi + 0x40]
movzx eax, dx
cmp edi, eax
jg 0x43e7c2
xor ebp, ebp
jmp 0x43e7cb
mov edi, dword [esi + 0x48]
mov ebp, dword [edi + eax*4]
add ebp, 0xc
mov eax, 2
cmp ax, cx
jne 0x43e890
mov ecx, dword [esp + 0x18]
movzx eax, dx
mov ecx, dword [ecx + eax*4]
mov eax, 1
cmp dword [ecx + 4], eax
jne 0x43e890
mov edi, dword [0x4b5ad0]
mov dword [esp + 0x10], edi
cmp dword [0x4b5a90], eax
jne 0x43e80b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x43e811
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
mov edi, eax
add ecx, 0x14
xor eax, eax
mov edx, dword [ecx + eax*8]
cmp edx, edi
jae 0x43e82e
cmp dword [ecx + eax*8 + 4], edi
ja 0x43e854
cmp edx, 0xffffffff
jne 0x43e839
cmp dword [ecx + eax*8 + 4], edx
je 0x43e84e
inc eax
cmp eax, 0x10
jl 0x43e821
cmp dword [esp + 0x20], 1
jne 0x43e864
mov edx, dword [esp + 0x14]
xor eax, eax
jmp 0x43e8c9
cmp dword [ecx + eax*8 - 4], edi
jae 0x43e83f
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], 1
xor eax, eax
jmp 0x43e8c9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movzx ecx, dx
mov eax, dword [eax + ecx*4]
movzx eax, word [eax + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x3c]
cmp ecx, ebx
jbe 0x43e8bf
sub ecx, 1
movzx edi, word [eax + 2]
lea eax, [eax + edi*2 + 4]
jne 0x43e881
jmp 0x43e8bf
mov eax, dword [esp + 0x18]
movzx ecx, dx
mov eax, dword [eax + ecx*4]
movzx edi, word [eax + 2]
mov dword [esp + 0x10], edi
cmp dword [eax + 4], ebx
jne 0x43e8ab
xor eax, eax
jmp 0x43e8c9
mov eax, dword [esi + 0x3c]
cmp ecx, ebx
jbe 0x43e8bf
sub ecx, 1
movzx edi, word [eax + 2]
lea eax, [eax + edi*2 + 4]
jne 0x43e8b2
movzx ecx, word [esp + 0x10]
movzx eax, word [eax + ecx*2 + 4]
movzx ecx, dx
dec ecx
cmp byte [esi + 0x16], 2
mov dword [esp + 0x10], eax
movzx eax, ax
je 0x43e8e0
mov dword [esp + 0x1c], ebx
jmp 0x43e90f
movzx edx, word [esi + 0x40]
cmp edx, eax
jg 0x43e8ee
mov dword [esp + 0x1c], ebx
jmp 0x43e90f
cmp ecx, 0xffffffff
je 0x43e905
cmp eax, ebx
jne 0x43e905
mov eax, dword [esi + 0x4c]
add edx, ecx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x1c], ecx
jmp 0x43e90f
mov edx, dword [esi + 0x4c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x1c], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, 1
mov word [esp + 0x60], dx
mov edx, 0x20
mov word [esp + 0x62], dx
mov eax, ecx
lea edx, [edi*4]
imul ecx, edx
add edx, 3
mov dword [esp + 0x68], ecx
and edx, 0xfffffffc
mov ecx, 4
mov word [esp + 0x80], cx
mov cl, byte [esi + 0x17]
neg eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], 0x28
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x40], edx
cmp cl, bl
je 0x43ea21
cmp cl, 1
jne 0x43e9bb
movsx ecx, word [esi + 0xa]
add ecx, dword [ebp + 4]
cdq
push ebx
xor eax, edx
push ebx
sub eax, edx
push eax
push edi
push ecx
movsx ecx, word [esi + 8]
add ecx, dword [ebp]
lea eax, [esp + 0x44]
lea edx, [esp + 0xa4]
call fcn.00411670
jmp 0x43ea52
cmp cl, 2
jne 0x43e9ee
push ebx
push ebx
push ebx
cdq
xor eax, edx
push ebx
sub eax, edx
movsx edx, word [esi + 0xa]
add edx, dword [ebp + 4]
push ebx
push eax
movsx eax, word [esi + 8]
add eax, dword [ebp]
push edi
push edx
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0xb4]
call fcn.0043c640
jmp 0x43ea52
cmp cl, 3
jne 0x43ea21
movsx ecx, word [esi + 0xa]
add ecx, dword [ebp + 4]
push ebx
push ebx
push ebx
cdq
push ebx
xor eax, edx
push ebx
sub eax, edx
movsx edx, word [esi + 8]
add edx, dword [ebp]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x54]
lea ecx, [esp + 0xb4]
call fcn.0043c640
jmp 0x43ea52
mov ecx, dword [esp + 0xfc]
push ecx
cdq
xor eax, edx
push ebx
sub eax, edx
movsx edx, word [esi + 0xa]
add edx, dword [ebp + 4]
push ebx
push eax
movsx eax, word [esi + 8]
add eax, dword [ebp]
push edi
push edx
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xac]
call fcn.004145c0
movzx eax, word [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov edx, 1
sub eax, edx
je 0x43ea72
movzx edi, word [esp + 0x14]
mov eax, dword [ebp + edi*4]
jmp 0x43eb08
xor ecx, ecx
cmp cx, word [esp + 0x10]
jne 0x43eae0
movzx edi, word [esp + 0x14]
mov eax, dword [ebp + edi*4]
cmp cx, word [eax + 8]
jne 0x43eae0
cmp dword [0x4b5a90], edx
jne 0x43ea9a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x43eaa0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, 0x20005
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xe
imul eax, eax, 0x7fff
sub ecx, eax
push ecx
call fcn.0045ffc7
add esp, 4
call fcn.0045ffd9
cdq
mov ecx, 0x7f
idiv ecx
mov eax, dword [ebp + edi*4]
inc edx
mov word [eax + 8], dx
lea edx, [ecx - 0x7e]
jmp 0x43eb0c
movzx edi, word [esp + 0x14]
mov ecx, dword [ebp + edi*4]
xor eax, eax
cmp ax, word [ecx + 8]
je 0x43eafc
mov eax, ecx
mov ecx, 0xffff
add word [eax + 8], cx
mov eax, dword [ebp + edi*4]
xor ecx, ecx
cmp cx, word [eax + 8]
jne 0x43eb0c
add word [eax + 2], dx
mov eax, dword [esi + 0x3c]
cmp edi, ebx
jbe 0x43eb1f
sub edi, edx
movzx ecx, word [eax + 2]
lea eax, [eax + ecx*2 + 4]
jne 0x43eb13
movzx ecx, word [esp + 0x14]
movzx eax, word [eax + 2]
mov ecx, dword [ebp + ecx*4]
movzx edi, word [ecx + 2]
sub eax, edx
mov dword [esp + 0x24], ebx
xor ebx, ebx
cmp edi, eax
setg bl
dec ebx
and ebx, edi
mov eax, ebx
mov ebx, dword [esp + 0x24]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
cmp ax, word [esi + 0x42]
jb 0x43e780
mov cx, word [esp + 0x28]
mov dx, word [esp + 0x2c]
mov word [esi + 8], cx
mov word [esi + 0xa], dx
pop edi
pop ebp
pop ebx
add esp, 0xe4
ret
mov ax, word [esp + 0x28]
mov cx, word [esp + 0x2c]
pop edi
pop ebp
mov word [esi + 8], ax
mov word [esi + 0xa], cx
pop ebx
add esp, 0xe4
ret