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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x28], 0
mov al, byte [0x42b493]
mov byte [ebp - 0x2c], al
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042188c
add esp, 0xc
push 0x42b338
lea edx, [ebp - 0x14]
push edx
call fcn.004213ff
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0xffff0000
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x34]
shr edx, 0x10
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
and eax, 0xffff
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
push 0xa
lea edx, [ebp - 0xa]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00423a71
add esp, 0xc
push 0x40
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
mov al, byte [ebp - 0x2c]
push eax
call fcn.00423856
add esp, 0xc
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42361f
mov dword [ebp - 0x24], 0x1d4f9
jmp 0x42384f
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0xa
jge 0x42383f
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov al, byte [ebp - 0x2c]
push eax
call fcn.0042393b
add esp, 0x10
mov byte [ebp - 0x18], al
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
test ecx, ecx
je 0x42366e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0x1d4f2
jmp 0x423831
mov edx, dword [ebp + 8]
cmp dword [edx + 0xa], 0
je 0x4236a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe]
mov dx, word [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x30]
push eax
call fcn.00423a27
add esp, 0x14
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 0x30]
push edx
call fcn.004239e6
add esp, 0x10
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x18]
and eax, 0xff
test eax, eax
jne 0x423808
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xa], 0
je 0x4237dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
cmp eax, 0xff
jne 0x42371a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x3c]
cmp ecx, 0xbb8
jbe 0x423718
jmp 0x42371a
jmp 0x4236f0
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
test eax, eax
jne 0x423778
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe]
mov eax, dword [ebp - 0x40]
mov cx, word [eax + 8]
mov word [edx], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe]
xor ecx, ecx
mov cx, word [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x12]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x423773
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.004239b3
add esp, 8
jmp 0x42383f
jmp 0x42366e
mov edx, dword [ebp - 0x40]
xor eax, eax
mov al, byte [edx + 0x31]
cmp eax, 0xff
jne 0x4237b2
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.004239b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.00423905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f3
jmp 0x4237db
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 0x30]
push eax
call fcn.004239b3
add esp, 8
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00423905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f4
jmp 0x423806
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 0x30]
push edx
call fcn.004239b3
add esp, 8
mov eax, dword [ebp - 0x40]
push eax
call fcn.00423905
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x423831
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x30]
push ecx
call fcn.004239b3
add esp, 8
mov edx, dword [ebp - 0x40]
push edx
call fcn.00423905
add esp, 4
mov dword [ebp - 0x24], 0x1d4f5
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x423626
lea ecx, [ebp - 0x14]
push ecx
mov dl, byte [ebp - 0x2c]
push edx
call fcn.004238b6
add esp, 8
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret