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

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x120]
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x38]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebx + ebp]
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x84], esi
mov dword [esp + 0x10], esi
lea ecx, [eax + eax + 2]
add eax, 2
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5d3d30]
push ecx
push 0x1000400
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x14]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x98]
push esi
rep stosd dword es:[edi], eax
mov eax, dword [0x5d3d30]
lea ecx, [esp + 0x9c]
push 1
mov dword [esp + 0xa0], 0x7c
mov edx, dword [eax]
push ecx
push esi
push eax
call dword [edx + 0x64]
test eax, eax
jne 0x435a9f
mov edi, dword [esp + 0xa8]
lea edx, [ebx + 1]
sar edi, 1
imul edx, edi
mov eax, dword [esp + 0xbc]
cmp ebp, esi
mov dword [esp + 0x2c], edi
lea ecx, [eax + edx*2 + 2]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
jle 0x43597c
mov esi, dword [esp + 0x120]
mov dword [esp + 0x24], ebp
test ebx, ebx
jle 0x43595b
mov ebp, 2
mov dword [esp + 0x28], ebx
sub ebp, edi
shl ebp, 1
inc esi
mov edx, dword [0x5d28e0]
xor eax, eax
mov al, byte [esi + 1]
xor ebx, ebx
mov edi, dword [edx + 0xc0]
xor edx, edx
lea eax, [eax + eax*2]
mov dx, word [edi + eax*2 + 4]
mov eax, edx
xor edx, edx
mov dl, byte [esi - 1]
lea edx, [edx + edx*2]
mov bx, word [edi + edx*2]
xor edx, edx
mov dl, byte [esi]
or eax, ebx
xor ebx, ebx
lea edx, [edx + edx*2]
mov bx, word [edi + edx*2 + 2]
or eax, ebx
jne 0x435919
mov eax, 1
mov edi, dword [esp + 0x2c]
mov ebx, ecx
mov word [ecx - 2], ax
mov word [ecx], ax
lea edx, [edi + edi]
mov word [ecx + 2], ax
sub ebx, edx
add ecx, ebp
add esi, 4
mov word [ebx], ax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x4358d5
mov ebp, dword [esp + 0x128]
mov ebx, dword [esp + 0x124]
mov esi, dword [esp + 0x120]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [ecx + edi*2 + 4]
lea esi, [esi + ebx*4]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x120], esi
mov dword [esp + 0x24], eax
jne 0x4358bf
mov si, word [0x5d65e0]
neg si
sbb esi, esi
and esi, 0xfffe
inc esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5d65e4]
add ecx, 0x3e8
cmp ecx, eax
ja 0x4359c2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [0x5d65e0]
mov dword [0x5d65e4], eax
dec dl
and edx, 1
mov word [0x5d65e0], dx
lea eax, [edi - 2]
push 0
imul eax, ebx
cdq
sub eax, edx
mov ecx, eax
lea eax, [edi + 2]
imul eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar ecx, 1
sar eax, 1
sub eax, ecx
lea ecx, [edi + edi]
lea eax, [edx + eax*2]
mov word [eax - 2], si
mov word [eax], si
mov word [eax + 2], si
sub eax, ecx
mov word [eax], si
mov eax, dword [0x5d3d30]
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
test eax, eax
jne 0x435a9f
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
mov ecx, 0x75
add eax, 0x11
sub ecx, ebx
add edx, ecx
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x435a38
sub ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x18]
sub esi, ecx
add esi, eax
cmp esi, 0x280
jle 0x435a54
sub ecx, eax
add ecx, 0x280
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jge 0x435a64
sub ecx, edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
sub esi, ecx
add esi, edx
cmp esi, 0x1e0
jle 0x435a80
sub ecx, edx
add ecx, 0x1e0
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x5d28e0]
lea edi, [esp + 0x10]
push 0x11
push edi
mov edi, dword [0x5d3d30]
mov ecx, dword [ecx + 0xc]
push edi
push edx
mov esi, dword [ecx]
push eax
push ecx
call dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret