Function at 0x434d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], ecx
cmp eax, edi
mov word [esp + 0x28], di
mov word [esp + 0x26], di
mov word [esp + 0x24], di
mov word [esp + 0x34], di
mov word [esp + 0x32], di
mov word [esp + 0x30], di
mov word [esp + 0x18], di
mov word [esp + 0x16], di
mov word [esp + 0x14], di
mov word [esp + 0x20], di
mov word [esp + 0x1e], di
mov word [esp + 0x1c], di
je 0x434d7e
cmp edx, edi
mov byte [esp + 0x54], 1
jne 0x434d83
mov byte [esp + 0x54], 0
cmp eax, edi
jne 0x434d91
cmp edx, edi
jne 0x434d91
mov dword [esp + 0x58], edi
jmp 0x434dbb
lea ecx, [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x58], ecx
mov ecx, eax
jne 0x434da1
mov ecx, edx
mov si, word [ecx]
mov word [esp + 0x14], si
mov si, word [ecx + 2]
mov cx, word [ecx + 4]
mov word [esp + 0x16], si
mov word [esp + 0x18], cx
mov cl, byte [esp + 0x54]
test cl, cl
je 0x434e8c
mov bx, word [esp + 0x5c]
cmp bx, di
jne 0x434e07
mov cx, word [eax]
mov word [esp + 0x24], cx
mov cx, word [eax + 2]
mov ax, word [eax + 4]
mov word [esp + 0x26], cx
mov cx, word [edx]
mov word [esp + 0x28], ax
mov ax, word [edx + 2]
mov word [esp + 0x30], cx
mov cx, word [edx + 4]
mov word [esp + 0x32], ax
mov word [esp + 0x34], cx
jmp 0x434e0f
lea edx, [esp + 0x1c]
mov dword [esp + 0x58], edx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x26]
and esi, 0xffff
mov ecx, dword [esp + 0x28]
and eax, 0xffff
mov dword [esp + 0x38], esi
sub eax, esi
mov esi, dword [esp + 0x32]
and edx, 0xffff
and esi, 0xffff
mov dword [esp + 0x3c], edx
sub esi, edx
mov edx, dword [esp + 0x34]
and ecx, 0xffff
and edx, 0xffff
sub edx, ecx
cmp bx, 0xffff
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
jne 0x434e79
cmp eax, edi
jge 0x434e8c
add eax, 0x10000
jmp 0x434e88
cmp bx, 1
jne 0x434e8c
cmp eax, edi
jle 0x434e8c
sub eax, 0x10000
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edi
call sub.KERNEL32.dll_GetTickCount
movsx ecx, word [esp + 0x48]
movsx esi, word [esp + 0x50]
mov ebx, eax
mov ebp, ecx
movsx eax, word [esp + 0x4c]
sub ebp, eax
mov edx, esi
sub eax, ecx
imul ebp, ebx
imul edx, ecx
mov dword [esp + 0x4c], eax
lea eax, [esi + esi*4]
add ebp, edx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x48], eax
lea eax, [esi + ebx]
cmp eax, edi
jle 0x434f69
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
mov eax, dword [esp + 0x5c]
cmp edi, eax
jle 0x434ed2
lea eax, [esi + ebx]
cmp edi, eax
jle 0x434eea
mov edi, eax
mov al, byte [esp + 0x54]
mov dword [esp + 0x5c], edi
test al, al
je 0x434f33
mov ecx, edi
sub ecx, ebx
mov eax, ecx
imul eax, dword [esp + 0x24]
cdq
idiv esi
add eax, dword [esp + 0x38]
mov word [esp + 0x14], ax
mov eax, ecx
imul eax, dword [esp + 0x28]
cdq
idiv esi
add eax, dword [esp + 0x3c]
mov word [esp + 0x16], ax
mov eax, ecx
imul eax, dword [esp + 0x2c]
cdq
idiv esi
add eax, dword [esp + 0x40]
mov word [esp + 0x18], ax
mov eax, edi
mov ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x4c]
mov dl, byte [ecx + 0xc]
add eax, ebp
test dl, dl
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x4c]
push edx
push eax
je 0x434f59
call fcn.00434fc0
jmp 0x434f5e
call fcn.00434fc0
lea eax, [esi + ebx]
cmp edi, eax
jl 0x434ed2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x18