Function at 0x4aee20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513bd4
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x54f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
or esi, 0xffffffff
cmp dword [ebp + 0x10], ecx
jne 0x4aee74
mov byte [ebp - 0x25], 1
jmp 0x4af33d
xor edx, edx
xor esi, esi
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edx
xor eax, eax
mov dword [ebp - 0x48], esi
xor edi, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
sub ecx, dword [ebp + 0x10]
sar ecx, 2
mov dword [ebp - 0x54], edx
test ecx, ecx
je 0x4af292
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x20], 0x707
mov dword [ebp - 0x1c], 0x1f000c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x10]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x70]
push dword [ecx]
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x68]
push eax
call fcn.00495690
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x4af16d
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov edx, dword [ebp + 0x1c]
cmovne edi, eax
mov dword [ebp - 0x40], edi
test edx, edx
jne 0x4aefc1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edx
push 0x1c
lea esi, [ecx + 0x340]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
call fcn.00443e65
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x50], eax
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040a5c0
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x4aef9a
add eax, 0x10
cmp edi, dword [ebp - 0x3c]
je 0x4aef75
mov eax, dword [eax]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x40], edi
jmp 0x4aef82
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.00403f00
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
call fcn.00401c60
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
cmp eax, ecx
jne 0x4aef61
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x50]
push dword [ecx + 4]
mov ecx, eax
push eax
call fcn.00406cf0
push 0x1c
push dword [ebp - 0x50]
call fcn.00443e34
mov esi, dword [ebp - 0x34]
add esp, 8
mov eax, dword [ebp - 0x2c]
jmp 0x4aefe6
cmp edi, dword [ebp - 0x3c]
je 0x4aefd0
mov dword [edi], edx
add edi, 4
mov dword [ebp - 0x40], edi
jmp 0x4aefe6
lea eax, [ebp + 0x1c]
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.00403f00
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
cmp eax, edi
je 0x4af16d
cmp dword [ebp + 0x20], 4
jne 0x4af035
mov eax, dword [ebp + 0x24]
cmp eax, 1
jne 0x4af017
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x20]
imul eax, dword [ebp - 0x54]
movups xmm0, xmmword [ebp + 0x2c]
movups xmmword [ebp - 0x20], xmm0
push eax
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::AddDays_int_]
jmp 0x4af035
cmp eax, 2
jne 0x4af035
mov eax, dword [ebp + 0x28]
lea ecx, [ebp - 0x20]
imul eax, dword [ebp - 0x54]
movups xmm0, xmmword [ebp + 0x2c]
movups xmmword [ebp - 0x20], xmm0
push eax
call dword [sym.imp.PHDPFuncs.dll_public:_void___thiscall_Date::AddMonths_int_]
cmp esi, dword [ebp - 0x5c]
je 0x4af04f
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [esi], xmm0
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
add esi, 0x14
mov dword [ebp - 0x60], esi
jmp 0x4af05f
lea eax, [ebp - 0x24]
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00411770
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x14]
mov eax, 0xcccccccd
sub ecx, dword [ebp + 0x10]
inc dword [ebp - 0x48]
sar ecx, 2
mul ecx
mov dword [ebp - 0x34], esi
shr edx, 5
cmp dword [ebp - 0x48], edx
jbe 0x4af16d
push 0x5c
call fcn.00443e65
mov edi, eax
xor edx, edx
mov dword [ebp - 0x38], edi
lea ecx, [edi + 8]
mov dword [ecx], 0
lea eax, [edi + 0x14]
mov dword [ecx + 4], 0
add esp, 4
mov dword [ecx + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], edx
lea edx, [ebp - 0x64]
mov dword [edi + 0x38], 0x707
mov dword [edi + 0x3c], 0x1f000c
cmp ecx, edx
je 0x4af103
mov edx, dword [ebp - 0x64]
mov eax, esi
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
push eax
push edx
call fcn.00411280
lea eax, [edi + 0x14]
mov ecx, dword [ebp - 0x58]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edi], ecx
lea ecx, [ebp - 0x44]
movups xmm0, xmmword [ebp + 0x20]
push ecx
mov ecx, eax
movups xmmword [edi + 0x2c], xmm0
movups xmm0, xmmword [ebp + 0x30]
movups xmmword [edi + 0x3c], xmm0
movups xmm0, xmmword [ebp + 0x40]
movups xmmword [edi + 0x4c], xmm0
call fcn.004031e0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xc]
lock inc dword [eax]
push edi
push 0
push 0x4ae680
call fcn.0044d973
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x64], esi
mov edi, dword [ebp - 0x40]
cmovne esi, dword [ebp - 0x64]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x4af195
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4af195
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4af195
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov byte [ebp - 4], 4
inc edx
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x34]
sar eax, 2
mov dword [ebp - 0x54], edx
cmp edx, eax
jb 0x4aeeb0
cmp dword [ebp - 0x48], 0
jle 0x4af296
push 0x5c
call fcn.00443e65
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
lea ecx, [esi + 8]
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x64]
mov dword [esi + 0x38], 0x707
mov dword [esi + 0x3c], 0x1f000c
cmp ecx, eax
je 0x4af23c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
push eax
push edx
call fcn.00411280
mov eax, dword [ebp - 0x58]
lea ecx, [esi + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
lea eax, [ebp - 0x44]
movups xmm0, xmmword [ebp + 0x20]
push eax
movups xmmword [esi + 0x2c], xmm0
movups xmm0, xmmword [ebp + 0x30]
movups xmmword [esi + 0x3c], xmm0
movups xmm0, xmmword [ebp + 0x40]
movups xmmword [esi + 0x4c], xmm0
call fcn.004031e0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xc]
lock inc dword [eax]
push esi
push 0
push 0x4ae680
call fcn.0044d973
mov edi, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x2c], edi
jmp 0x4af299
xor edi, edi
jmp 0x4af299
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jle 0x4af2bf
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x30]
nop dword [eax]
push 0
call esi
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
jg 0x4af2b0
mov edi, dword [ebp - 0x2c]
movups xmm0, xmmword [ebp + 0x54]
sub esp, 0x10
mov eax, esp
push ecx
mov esi, esp
movups xmmword [eax], xmm0
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
push eax
call fcn.00403870
mov ecx, dword [ebp - 0x30]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push dword [ebp - 0x58]
call fcn.004a8450
mov byte [ebp - 0x25], al
mov byte [ebp - 4], 3
test edi, edi
je 0x4af332
mov eax, dword [ebp - 0x3c]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x4af328
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4af3cf
push ecx
push edi
call fcn.00443e34
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00410e60
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4af390
mov eax, dword [ebp + 0x18]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x4af371
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4af3cf
push edx
push ecx
call fcn.00443e34
add esp, 8
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4af3af
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443e26
mov esp, ebp
pop ebp
ret 0x5c
call fcn.0044d695
int3