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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f15de
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xd5], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x46ca68
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d2b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdc]
call fcn.00415f70
mov byte [ebp - 4], 2
push str.01234567890._
push dword [ebp - 0xdc]
call fcn.005c42bc
add esp, 8
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0042d240
mov dword [ebp - 0xe4], 1
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x44]
call fcn.004075e1
mov byte [ebp - 4], 3
sub esp, 8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0046d970
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.004075ab
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0044caf0
lea ecx, [ebp - 0xdc]
call fcn.00410490
mov eax, dword [ebp - 0xdc]
cmp dword [eax - 0xc], 0
jl 0x46c432
push 0x6438e4
push eax
call fcn.005c01d4
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0xdc]
test ecx, ecx
je 0x46c359
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xfc], ecx
js 0x46c359
movsd xmm0, qword [ebp - 0xf0]
mulsd xmm0, qword [0x644338]
movsd qword [ebp - 0xf0], xmm0
jmp 0x46c43a
cmp dword [eax - 0xc], 0
jl 0x46c432
push 0x6438dc
push eax
call fcn.005c01d4
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0xdc]
test ecx, ecx
je 0x46c3a6
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xfc], ecx
js 0x46c3a6
movsd xmm0, qword [ebp - 0xf0]
mulsd xmm0, qword [0x644348]
movsd qword [ebp - 0xf0], xmm0
jmp 0x46c43a
cmp dword [eax - 0xc], 0
jl 0x46c432
push 0x6438d4
push eax
call fcn.005c01d4
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0xdc]
test ecx, ecx
je 0x46c3f0
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0xfc], ecx
js 0x46c3f0
movsd xmm0, qword [ebp - 0xf0]
mulsd xmm0, qword [0x644358]
movsd qword [ebp - 0xf0], xmm0
jmp 0x46c43a
cmp dword [eax - 0xc], 0
jl 0x46c432
push 0x6438cc
push eax
call fcn.005c01d4
add esp, 8
test eax, eax
je 0x46c432
sub eax, dword [ebp - 0xdc]
sar eax, 1
mov dword [ebp - 0xfc], eax
js 0x46c432
movsd xmm0, qword [ebp - 0xf0]
mulsd xmm0, qword [0x644368]
movsd qword [ebp - 0xf0], xmm0
jmp 0x46c43a
movsd xmm0, qword [ebp - 0xf0]
call fcn.005e6920
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [ebp - 0xd5], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.0046d000
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xf4]
add ecx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46c4a6
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x46c4a2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x46c4a2
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46c4a6
mov ecx, edx
call edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xdc]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x46c4f6
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
push ecx
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x46c4f2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x46c4f2
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
jmp 0x46cfd1
mov ecx, edx
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x46cfd1
call fcn.005c3f14
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
push ecx
mov eax, dword [edi]
call eax
push 0
push 6
lea eax, [ebp - 0x110]
push eax
call fcn.005be8ff
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x30
mov word [ecx + esi + 0x40], ax
push 0
push 3
lea eax, [ebp - 0x120]
push eax
call fcn.005be8e5
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0xcc]
push eax
call fcn.005be8ff
mov esi, eax
mov edx, 0x63e114
mov ecx, edi
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x20
mov word [ecx + esi + 0x40], ax
push 0x40
lea eax, [ebp - 0xe0]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x40
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xfc]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x46c92e
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x46c92e
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x268]
call fcn.00416830
or dword [ebp - 0xe4], 4
mov byte [ebp - 4], 0x11
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x46c9a3
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x46c7d9
add eax, eax
cmp eax, 0x1000
jb 0x46c99a
test cl, 0x1f
jne 0x46c7d9
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46c7d9
sub ecx, eax
cmp ecx, 4
jb 0x46c7d9
cmp ecx, 0x23
ja 0x46c7d9
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
xor eax, eax
mov word [ebp - 0xa4], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa4]
call fcn.004075ab
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call fcn.004075ab
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbc]
call fcn.004075ab
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.004075ab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.004075ab
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00415840
call fcn.0041db40
mov edx, 0x6835d4
mov ecx, eax
call fcn.00413a60
mov edx, str.Error_while_initializing_Size_type_with_value:
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xe8]
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 4
mov eax, 0x46c4f6
ret
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x46cfd1
call fcn.0041db40
mov esi, eax
mov dword [ebp - 0xe8], esi
sub esp, 8
lea ecx, [ebp - 0x330]
call fcn.00415be0
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xa4]
call fcn.00407a4a
mov byte [ebp - 4], 0x13
push str.WARN
lea ecx, [ebp - 0xa4]
call fcn.00414ef0
lea ecx, [ebp - 0x5c]
call fcn.00407a4a
mov byte [ebp - 4], 0x14
xor eax, eax
mov dword [ebp - 0xf4], eax
cmp dword [esi + 0xc], eax
jle 0x46cb46
cmp eax, 0xa
jge 0x46cb46
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x46cb16
lea edi, [ecx + 2]
mov dword [ebp - 0x4c], edi
lea esi, [ebp - 0x5c]
cmp edx, 8
cmovae esi, dword [ebp - 0x5c]
push 4
push 0x63e4c4
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xe8]
jmp 0x46cb34
mov byte [ebp - 0xfc], 0
push 2
push 0x63e4c4
push dword [ebp - 0xfc]
push 2
lea ecx, [ebp - 0x5c]
call fcn.0041ea00
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp eax, dword [esi + 0xc]
jl 0x46cad1
lea ecx, [ebp - 0xbc]
call fcn.00407a4a
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x8c]
call fcn.00407a4a
mov byte [ebp - 4], 0x16
call fcn.005c8926
push 0xb
lea eax, [ebp - 0x2c]
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x1d0]
call fcn.00415be0
mov byte [ebp - 4], 0x17
cmp dword [esi + 0x10], 0
jne 0x46cbb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
push 0
lea ecx, [ebp - 0x1c0]
call fcn.004101b0
jmp 0x46cbe6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
lea ecx, [ebp - 0x1c0]
call fcn.0041e250
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00416830
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x46cc4f
inc eax
mov ecx, dword [ebp - 0x8c]
cmp eax, 0x7fffffff
ja 0x46c7d9
add eax, eax
cmp eax, 0x1000
jb 0x46cc46
test cl, 0x1f
jne 0x46c7d9
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46c7d9
sub ecx, eax
cmp ecx, 4
jb 0x46c7d9
cmp ecx, 0x23
ja 0x46c7d9
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
xor eax, eax
mov word [ebp - 0x8c], ax
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x44]
call fcn.004075ab
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1d0]
call fcn.00415840
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0xe8], eax
push 0x2040
lea eax, [ebp - 0xf0]
push eax
call fcn.005be8d1
mov ecx, dword [ebp - 0x320]
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x320]
add ecx, edx
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
cmovae edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x320]
call fcn.004137f0
mov esi, eax
push 0x10
lea eax, [ebp - 0x100]
push eax
call fcn.005be8d1
add esp, 0x1c
mov edi, eax
mov edx, 0x63e114
mov ecx, esi
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x46cd38
xor ecx, ecx
jmp 0x46cd3f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
push ecx
mov eax, dword [edi]
call eax
push 0
push 6
lea eax, [ebp - 0xcc]
push eax
call fcn.005be8ff
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x30
mov word [ecx + esi + 0x40], ax
push 0
push 3
lea eax, [ebp - 0x120]
push eax
call fcn.005be8e5
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call fcn.004137f0
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x110]
push eax
call fcn.005be8ff
mov esi, eax
mov edx, 0x63e114
mov ecx, edi
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov eax, 0x20
mov word [ecx + esi + 0x40], ax
push 0x40
lea eax, [ebp - 0xf8]
push eax
call fcn.005be8d1
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push dword [eax + 4]
push ecx
mov eax, dword [eax]
call eax
add esp, 0x40
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
cmovae edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x16
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xe8]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x46ce9a
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x46ce9a
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
push 0x6835d0
call fcn.005bcd3a
add esp, 8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x318]
call fcn.00416830
mov byte [ebp - 4], 0x1c
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x46cf05
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x46c7d9
add eax, eax
cmp eax, 0x1000
jb 0x46cefc
test cl, 0x1f
jne 0x46c7d9
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46c7d9
sub ecx, eax
cmp ecx, 4
jb 0x46c7d9
cmp ecx, 0x23
ja 0x46c7d9
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x44]
call fcn.004075ab
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x8c]
call fcn.004075ab
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xbc]
call fcn.004075ab
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
call fcn.004075ab
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa4]
call fcn.004075ab
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x330]
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov dword [ebp - 4], 0x1d
mov edx, 0x6835d4
cmp dword [0x6835e8], 8
cmovae edx, dword [0x6835d4]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, eax
call fcn.004137f0
mov edx, str.NULL_parameter.
mov ecx, eax
call fcn.00413320
push eax
call fcn.00414850
add esp, 8
mov al, byte [ebp - 0xd5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
ret 4