Function at 0x45a950
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f04bf
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov byte [esp + 0x1f], dl
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x58]
mov esi, dword [esp + 0x134]
xorps xmm0, xmm0
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x148]
push esi
mov dword [esp + 0x10], eax
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x7c], 0
movdqu xmmword [esp + 0x6c], xmm0
call fcn.00423f90
lea eax, [esi + 0xc]
mov dword [esp + 0x120], 0
push eax
lea ecx, [esp + 0x68]
call fcn.00411db0
lea eax, [esi + 0x18]
mov byte [esp + 0x120], 1
push eax
lea ecx, [esp + 0x74]
call fcn.00412780
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0x124], 2
push eax
push ecx
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.0043ca70
mov dword [esp + 0xf0], eax
test eax, eax
jns 0x45aa4d
mov esi, 0x80004001
jmp 0x45ba50
cmp dword [esp + 0x100], 1
je 0x45aa61
mov esi, 0x80070057
jmp 0x45ba50
cmp byte [esp + 0x1f], 0
mov edi, dword [esp + 0x130]
mov dword [esp + 0x10], 1
je 0x45aad0
cmp dword [esp + 0x10c], 0x30101
jne 0x45aad0
cmp dword [esp + 0x110], 0
jne 0x45aad0
cmp edi, 1
jne 0x45aaac
lea ecx, [esp + 0x58]
call fcn.004587e0
test eax, eax
jns 0x45aaac
push edi
push 0xd
lea ecx, [esp + 0x60]
call fcn.00440bc0
lea ecx, [esp + 0x58]
call fcn.00458820
cmp edi, 1
jbe 0x45aad3
cmp eax, 1
jbe 0x45aad0
shr edi, 1
mov dword [esp + 0x130], edi
mov dword [esp + 0x10], 2
cmp edi, 1
push edi
lea ecx, [esp + 0x38]
seta byte [esp + 0x23]
call fcn.0045a5a0
xor edi, edi
mov byte [esp + 0x120], 3
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x100], edi
cmp dword [esp + 0x130], edi
jbe 0x45aeae
lea edx, [eax + 0x14]
mov dword [esp + 0xe0], edx
jmp 0x45ab20
xor eax, eax
mov dword [esp + 0x84], 0
test edi, edi
mov dword [esp + 0x88], 0
cmove eax, dword [esp + 0xc]
mov dword [edx + 0xac], eax
mov eax, dword [esp + 0xf8]
mov dword [edx + 0xb0], eax
lea eax, [esp + 0x84]
mov byte [esp + 0x120], 4
lea edi, [edx + 4]
mov ecx, esi
mov edx, dword [esp + 0xf0]
push eax
push edi
push 1
call fcn.0043cea0
mov ecx, dword [esp + 0x84]
mov esi, eax
test esi, esi
jne 0x45ae33
mov esi, ecx
test ecx, ecx
je 0x45ab9a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0xe0]
mov edx, dword [eax]
test edx, edx
je 0x45abbb
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0xe0]
mov dword [eax], esi
test esi, esi
jne 0x45abc9
cmp dword [edi], esi
je 0x45ae2e
mov byte [esp + 0x120], 6
mov edx, dword [esp + 0x88]
test edx, edx
je 0x45abe9
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x120], 3
test ecx, ecx
je 0x45abfb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x14c]
xorps xmm0, xmm0
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x80], 0
cmp dword [ecx + 4], 0x1e
seta al
mov byte [edx + 0x6c], al
mov eax, dword [ecx + 0xc]
add eax, dword [ecx + 8]
cmp eax, 0x1e
seta al
cmp dword [esp + 0x10], 0
mov byte [edx + 0x6d], al
movdqu xmmword [edx + 0x4c], xmm0
movdqu xmmword [edx + 0x2c], xmm0
movdqu xmmword [edx + 0x3c], xmm0
movdqu xmmword [edx + 0x5c], xmm0
jbe 0x45ad9f
lea eax, [edx + 0x90]
mov dword [esp + 0x108], eax
lea esp, [esp]
xor edi, edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
xor edx, edx
mov byte [esp + 0x120], 7
cmp dword [0x5230d4], edx
jbe 0x45acc1
mov ecx, dword [esp + 0x10c]
lea esp, [esp]
mov eax, dword [edx*4 + 0x5230e0]
cmp dword [eax + 8], ecx
jne 0x45acb8
mov ecx, dword [esp + 0x110]
cmp dword [eax + 0xc], ecx
jne 0x45acb1
cmp dword [eax], 0
jne 0x45add1
mov ecx, dword [esp + 0x10c]
inc edx
cmp edx, dword [0x5230d4]
jb 0x45ac90
mov esi, dword [esp + 0x14]
test esi, esi
je 0x45ad08
xor ecx, ecx
cmp dword [esi + 0xc], ecx
jbe 0x45ad08
mov edx, dword [esi + 8]
mov eax, dword [edx]
mov esi, dword [esp + 0x10c]
cmp dword [eax], esi
mov esi, dword [esp + 0x14]
jne 0x45acff
mov esi, dword [esp + 0x110]
cmp dword [eax + 4], esi
mov esi, dword [esp + 0x14]
jne 0x45acff
mov al, byte [eax + 0x19]
test al, al
jne 0x45add7
inc ecx
add edx, 4
cmp ecx, dword [esi + 0xc]
jb 0x45acd3
mov esi, edi
mov eax, dword [esp + 0x108]
mov ecx, dword [eax]
test ecx, ecx
je 0x45ad2b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0xe0]
mov dword [eax], esi
cmp dword [ecx + 0x98], 0
jne 0x45ad45
test esi, esi
je 0x45ae6e
mov byte [esp + 0x120], 9
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x45ad65
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, dword [esp + 0x94]
mov byte [esp + 0x120], 3
test edi, edi
je 0x45ad77
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [esp + 0x80]
add dword [esp + 0x108], 4
inc ecx
mov dword [esp + 0x80], ecx
cmp ecx, dword [esp + 0x10]
jb 0x45ac60
mov edx, dword [esp + 0xe0]
mov edi, dword [esp + 0x100]
add edx, 0x120
inc edi
mov dword [esp + 0xe0], edx
mov dword [esp + 0x100], edi
cmp edi, dword [esp + 0x130]
jae 0x45aeae
mov esi, dword [esp + 0x14]
jmp 0x45ab20
mov esi, dword [esp + 0x14]
jmp 0x45addf
mov edx, dword [0x5230d4]
add edx, ecx
test edx, edx
js 0x45ad08
lea eax, [esp + 0x94]
mov ecx, esi
push eax
mov eax, dword [esp + 0xe4]
add eax, 0x98
push eax
push 0
call fcn.0043cea0
mov edi, dword [esp + 0x94]
mov esi, eax
test esi, esi
jne 0x45ae73
mov esi, edi
test edi, edi
je 0x45ad0a
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov edi, dword [esp + 0x94]
jmp 0x45ad0a
mov esi, 0x80004001
mov byte [esp + 0x120], 5
mov edx, dword [esp + 0x88]
test edx, edx
je 0x45ae53
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x120], 3
test ecx, ecx
je 0x45ba21
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x45ba21
mov esi, 0x80004001
mov byte [esp + 0x120], 8
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x45ae93
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edi, dword [esp + 0x94]
mov byte [esp + 0x120], 3
test edi, edi
je 0x45ba21
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x45ba21
mov eax, dword [esp + 0xe8]
xor edi, edi
test eax, eax
je 0x45aed6
push 0x524900
push dword [esp + 0x13c]
mov edx, eax
or ecx, 0xffffffff
call dword [0x5248e0]
mov edi, eax
not edi
mov eax, dword [esp + 0x130]
test eax, eax
je 0x45af4b
mov esi, dword [esp + 0x18]
add esi, 0x110
mov dword [esp + 0x100], eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esi - 0x18]
call fcn.0042a970
lea eax, [esp + 0x64]
push eax
lea ecx, [esi - 0xc]
call fcn.00411e80
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call fcn.004128e0
mov eax, dword [esp + 0x140]
mov dword [esi - 0x1c], eax
mov eax, dword [esp + 0x138]
mov dword [esi + 0xc], eax
mov dword [esi - 0x44], eax
mov eax, dword [esp + 0xe8]
mov dword [esi - 0x38], eax
mov dword [esi - 0x48], edi
add esi, 0x120
dec dword [esp + 0x100]
jne 0x45aef2
lea ecx, [esp + 0x38]
call fcn.004108b0
mov dword [esp + 0x50], 0
mov byte [esp + 0x54], 1
mov byte [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x120], 0xb
mov esi, 1
cmp byte [esp + 0x1f], 0
je 0x45afe1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x45afc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
cmovne esi, eax
test esi, esi
je 0x45afc7
jle 0x45b9d0
movzx esi, si
or esi, 0x80070000
jmp 0x45b9d0
mov edi, dword [esp + 0x130]
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 1
jmp 0x45afe8
mov edi, dword [esp + 0x130]
xor edx, edx
mov dword [esp + 0x108], edx
test edi, edi
je 0x45b183
lea esp, [esp]
mov eax, dword [esp + 0x14c]
lea esi, [edx + edx*8]
push 0
push dword [esp + 0x13c]
shl esi, 5
add esi, dword [esp + 0x20]
push 0
push dword [eax + 4]
mov dword [esp + 0x110], esi
call fcn.004e6eb0
test edx, edx
ja 0x45b03d
jb 0x45b036
cmp eax, 0x10
jae 0x45b03d
mov eax, 0x10
xor edx, edx
push edx
push eax
push dword [esp + 0x134]
push dword [esp + 0x134]
call fcn.004eaa00
mov ecx, eax
or ecx, edx
jne 0x45b05f
mov eax, 1
xor edx, edx
mov dword [esi + 0x30], eax
lea edi, [esi + 0x24]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x108]
movzx eax, dl
mov dword [esp + 0xe8], 0
mov ecx, dword [eax*4 + 0x524900]
mov eax, edx
shr eax, 8
and eax, 0xff
mov dword [esi + 0x38], ecx
mov eax, dword [eax*4 + 0x524900]
shl eax, 3
xor eax, ecx
mov dword [esi + 0x38], eax
push 0x50
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
je 0x45b2a8
push 0x50
push 0
push esi
call fcn.004e3fe0
mov dword [esi + 4], 0
add esp, 0xc
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi], vtable.CBenchProgressInfo.0
mov dword [esi + 0x4c], 0
mov dword [edi - 8], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi]
test ecx, ecx
je 0x45b0f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [esp + 0x38]
mov dword [edi], esi
mov dword [esi + 0x48], eax
add edi, 4
mov eax, dword [esp + 0xe8]
inc eax
mov dword [esp + 0xe8], eax
cmp eax, 2
jl 0x45b0a0
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x100]
mov edi, dword [esp + 0x130]
test edx, edx
jne 0x45b141
mov eax, dword [ecx + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [eax + 0x4c], esi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edx
cmp byte [esp + 0x1f], 0
je 0x45b173
imul eax, edx, 0x150
and eax, 0x7ff
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x24]
mov dword [ecx + 0x10], eax
call fcn.00459520
mov esi, eax
test esi, esi
jne 0x45b9d0
mov edx, dword [esp + 0x108]
inc edx
mov dword [esp + 0x108], edx
cmp edx, edi
jb 0x45b000
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x45b19f
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
test esi, esi
jne 0x45b9d0
cmp byte [esp + 0x1f], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x45b2fa
cmp dword [esp + 0x130], 0
mov dword [esp + 0xf8], 0
jbe 0x45b216
mov edi, dword [esp + 0x18]
add edi, 0xb0
nop
push 0xffffffffffffffff
push dword [edi - 0xa8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
test esi, esi
jne 0x45b2e6
mov esi, dword [edi]
test esi, esi
jne 0x45b9d0
mov eax, dword [esp + 0xf8]
add edi, 0x120
inc eax
mov dword [esp + 0xf8], eax
cmp eax, dword [esp + 0x130]
jb 0x45b1d0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x1c]
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0x989680
mov dword [esi + 0x24], 0
call edi
mov dword [esi + 8], eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x110]
mov dword [esi + 0xc], 0
push eax
lea eax, [esp + 0xfc]
mov dword [esi + 0x18], 0
push eax
lea eax, [esp + 0xf0]
mov dword [esi + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x45b2bc
mov edx, dword [esp + 0x110]
xor edi, edi
or edi, dword [esp + 0x10c]
xor eax, eax
or eax, dword [esp + 0xec]
add edi, eax
adc edx, dword [esp + 0xf0]
jmp 0x45b2c7
push 0x51c2c8
lea eax, [esp + 0x23]
mov byte [esp + 0x23], 0
push eax
call fcn.004ea58e
call edi
mov ecx, 0x2710
mul ecx
mov edi, eax
push 0
lea ecx, [esp + 0x24]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edx
call fcn.0045a890
mov esi, eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x45b315
test esi, esi
je 0x45b31c
jle 0x45b9d0
movzx esi, si
or esi, 0x80070000
jmp 0x45b9d0
mov ecx, dword [esp + 0x18]
call fcn.00459b40
mov esi, eax
test esi, esi
jne 0x45b9d0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45b31c
mov esi, eax
jmp 0x45b9d0
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movlpd qword [esp + 0xd4], xmm0
mov edi, dword [eax + 0x1c]
movdqu xmm0, xmmword [edi + 8]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmm0, xmmword [edi + 0x18]
movdqu xmmword [esp + 0xb4], xmm0
movdqu xmm0, xmmword [edi + 0x28]
movdqu xmmword [esp + 0xc4], xmm0
movq xmm0, qword [edi + 0x38]
movq qword [esp + 0xd4], xmm0
call esi
xor ecx, ecx
sub eax, dword [edi + 8]
sbb ecx, dword [edi + 0xc]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0xac], ecx
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x45b3da
mov edx, dword [esp + 0x110]
xor esi, esi
or esi, dword [esp + 0x10c]
xor eax, eax
or eax, dword [esp + 0xec]
add esi, eax
adc edx, dword [esp + 0xf0]
jmp 0x45b3e5
call esi
mov ecx, 0x2710
mul ecx
mov esi, eax
sub esi, dword [edi + 0x40]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x130]
sbb edx, dword [edi + 0x44]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0xb4], esi
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
mov eax, dword [edx + 0x30]
mov dword [esp + 0xd4], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0xd8], eax
test ecx, ecx
je 0x45b49a
mov esi, dword [esp + 0xc8]
lea eax, [edx + 0xd0]
mov edx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0xd0]
lea ebx, [ebx]
add edi, dword [eax - 4]
lea eax, [eax + 0x120]
mov dword [esp + 0xc4], edi
adc esi, 0
mov dword [esp + 0xc8], esi
add edx, dword [eax - 0x120]
mov dword [esp + 0xcc], edx
adc ecx, 0
dec dword [esp + 0xf8]
mov dword [esp + 0xd0], ecx
jne 0x45b460
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xa4]
push 1
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
test esi, esi
jne 0x45b9d0
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esp + 0x130]
imul edi, edx
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x108], edi
test edx, edx
je 0x45b761
mov edx, dword [esp + 0x18]
lea esi, [ecx + ecx*8]
shl esi, 5
add esi, edx
mov dword [esp + 0xf8], esi
test ecx, ecx
jne 0x45b642
mov ecx, dword [esp + 0x14c]
mov eax, dword [esi + 0xcc]
mul dword [ecx + 0xc]
mov edi, edx
mov ecx, eax
mov edx, dword [esp + 0x14c]
mov eax, dword [esi + 0xd0]
mul dword [edx + 8]
add ecx, eax
adc edi, edx
test edi, edi
ja 0x45b539
jb 0x45b532
cmp ecx, 0x10
jae 0x45b539
mov ecx, 0x10
xor edi, edi
push edi
push ecx
push dword [esp + 0x134]
push dword [esp + 0x134]
call fcn.004eaa00
mov ecx, eax
or ecx, edx
jne 0x45b55b
mov eax, 1
xor edx, edx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x34], edx
mov edi, dword [esi + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x108]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x10], 0x3e8
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0x989680
mov dword [edi + 0x24], 0
call esi
mov dword [edi + 8], eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x110]
mov dword [edi + 0xc], 0
push eax
lea eax, [esp + 0x84]
mov dword [edi + 0x18], 0
push eax
lea eax, [esp + 0xe8]
mov dword [edi + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x45b621
mov edx, dword [esp + 0x110]
xor esi, esi
or esi, dword [esp + 0x10c]
xor eax, eax
or eax, dword [esp + 0xfc]
add esi, eax
mov dword [edi + 0x40], esi
adc edx, dword [esp + 0x100]
mov esi, dword [esp + 0xf8]
mov dword [edi + 0x44], edx
mov edi, dword [esp + 0x108]
jmp 0x45b64e
call esi
mov ecx, 0x2710
mul ecx
mov esi, eax
mov dword [edi + 0x44], edx
mov dword [edi + 0x40], esi
mov esi, dword [esp + 0xf8]
mov edi, dword [esp + 0x108]
jmp 0x45b64e
mov eax, dword [edx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x5c]
dec ecx
js 0x45b66b
mov edx, dword [esp + 0x58]
lea esp, [esp]
mov eax, dword [edx + ecx*4]
cmp dword [eax], 0xd
je 0x45b6ad
dec ecx
jns 0x45b660
or eax, 0xffffffff
test eax, eax
mov ecx, 1
cmovle eax, ecx
mov dword [esi + 0xc], eax
cmp edi, ecx
jbe 0x45b805
mov edx, dword [esp + 0x10]
xor edi, edi
test edx, edx
je 0x45b73e
mov eax, dword [esp + 0x14]
mov ecx, eax
imul ecx, edx
mov dword [esp + 0xf0], ecx
test eax, eax
jne 0x45b6bd
test edi, edi
jne 0x45b6bd
mov dl, 1
jmp 0x45b6bf
test ecx, ecx
js 0x45b66b
cmp word [eax + 8], 0x13
jne 0x45b66b
mov eax, dword [eax + 0x10]
jmp 0x45b66e
xor dl, dl
mov eax, dword [esp + 0xf0]
mov ecx, edi
add eax, edi
shl ecx, 4
imul eax, eax, 0x150
add ecx, 0x84
add ecx, esi
and eax, 0x7ff
mov dword [ecx + 4], edi
mov dword [ecx + 0xc], eax
lea eax, [esp + 0xe8]
push eax
push 0
push ecx
push 0x4594d0
push 0
push 0
mov dword [ecx], esi
mov byte [ecx + 8], dl
call fcn.004e02a8
add esp, 0x18
mov dword [esi + edi*4], eax
test eax, eax
jne 0x45b72d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
jne 0x45b9d0
mov esi, dword [esp + 0xf8]
mov edx, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x14]
cmp edi, edx
jb 0x45b6a1
mov edi, dword [esp + 0x108]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x130]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, edx
jb 0x45b4e4
mov eax, dword [esp + 0x50]
xor esi, esi
cmp edi, 1
jbe 0x45b7fa
test edx, edx
je 0x45b7fa
mov eax, dword [esp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x108], eax
mov dword [esp + 0xe8], ecx
lea esp, [esp]
test edx, edx
je 0x45b7d8
mov edi, 0xb0
mov dword [esp + 0xf8], edx
push 0xffffffffffffffff
push dword [eax + edi - 0xb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x108]
lea edi, [edi + 4]
mov eax, dword [ecx + edi - 4]
test eax, eax
cmovne esi, eax
dec dword [esp + 0xf8]
mov eax, ecx
jne 0x45b7a0
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x10]
add eax, 0x120
dec ecx
mov dword [esp + 0x108], eax
mov dword [esp + 0xe8], ecx
jne 0x45b790
test esi, esi
jne 0x45b9d0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45b81d
mov esi, eax
jmp 0x45b9d0
push 0
mov ecx, esi
call fcn.00459fa0
mov esi, eax
test esi, esi
jne 0x45b9d0
jmp 0x45b745
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [eax + 0x1c]
movdqu xmm0, xmmword [edi + 8]
movdqu xmmword [esp + 0xa4], xmm0
movdqu xmm0, xmmword [edi + 0x18]
movdqu xmmword [esp + 0xb4], xmm0
movdqu xmm0, xmmword [edi + 0x28]
movdqu xmmword [esp + 0xc4], xmm0
movq xmm0, qword [edi + 0x38]
movq qword [esp + 0xd4], xmm0
call esi
xor ecx, ecx
sub eax, dword [edi + 8]
sbb ecx, dword [edi + 0xc]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0xac], ecx
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x45b8cf
mov edx, dword [esp + 0x110]
xor esi, esi
or esi, dword [esp + 0x10c]
xor eax, eax
or eax, dword [esp + 0xfc]
add esi, eax
adc edx, dword [esp + 0x100]
jmp 0x45b8da
call esi
mov ecx, 0x2710
mul ecx
mov esi, eax
sub esi, dword [edi + 0x40]
xorps xmm0, xmm0
sbb edx, dword [edi + 0x44]
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0xb8], edx
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0
push dword [esp + 0x1c]
call fcn.004e6eb0
cmp dword [esp + 0x130], 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edx
jbe 0x45b99a
mov ecx, dword [esp + 0xd0]
lea eax, [esi + 0xd0]
mov edx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
jmp 0x45b960
add edi, dword [eax - 4]
lea eax, [eax + 0x120]
mov dword [esp + 0xc4], edi
adc esi, 0
mov dword [esp + 0xc8], esi
add edx, dword [eax - 0x120]
mov dword [esp + 0xcc], edx
adc ecx, 0
dec dword [esp + 0x130]
mov dword [esp + 0xd0], ecx
jne 0x45b960
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0xa4]
push 0
push ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov esi, eax
test esi, esi
jne 0x45b9d0
mov eax, dword [edi]
lea ecx, [esp + 0xa4]
push 1
push ecx
mov ecx, edi
mov eax, dword [eax + 8]
call eax
mov esi, eax
test esi, esi
jne 0x45b9d0
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x124], 0xc
call fcn.0045a890
mov byte [esp + 0x120], 0xa
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45ba0e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x45ba06
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45ba0e
mov dword [esp + 0x28], 0
lea eax, [esp + 0x38]
mov byte [esp + 0x120], 3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x120], 2
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45ba50
push 0x45a680
push dword [eax - 4]
lea edi, [eax - 4]
push 0x120
push eax
call fcn.004e04d5
push edi
call fcn.004df97b
add esp, 4
mov dword [esp + 0x120], 0xffffffff
push dword [esp + 0x70]
call fcn.004df97b
add esp, 4
push dword [esp + 0x64]
call fcn.004df97b
mov edi, dword [esp + 0x60]
add esp, 4
test edi, edi
je 0x45badb
jmp 0x45ba80
mov eax, dword [esp + 0x58]
dec edi
mov ecx, dword [eax + edi*4]
mov dword [esp + 0xf0], ecx
test ecx, ecx
je 0x45bad7
movzx eax, word [ecx + 8]
add ecx, 8
test ax, ax
je 0x45bac8
cmp eax, 0x40
ja case.0x45baab.1
movzx eax, byte [eax + 0x45bb1c]
jmp dword [eax*4 + 0x45bb14]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
jmp 0x45bac8
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [esp + 0xf0]
call fcn.004df97b
add esp, 4
test edi, edi
jne 0x45ba80
push dword [esp + 0x58]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004df96c
add esp, 0x118
ret 0x28