Function at 0x4a2007
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
and dword [esp + 0x40], 0
and dword [esp + 0x48], 0
and dword [esp + 0x50], 0
and dword [esp + 0x58], 0
and dword [esp + 0x60], 0
and dword [esp + 0x68], 0
and dword [esp + 0x70], 0
and dword [esp + 0x78], 0
and dword [esp + 0x80], 0
and dword [esp + 0x88], 0
and dword [esp + 0x90], 0
and dword [esp + 0x98], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa8], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xc0], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xd0], 0
and dword [esp + 0xd8], 0
and dword [esp + 0xe0], 0
and dword [esp + 0xe8], 0
and dword [esp + 0xf0], 0
and dword [esp + 0xf8], 0
and dword [esp + 0x100], 0
and dword [esp + 0x108], 0
and dword [esp + 0x110], 0
and dword [esp + 0x118], 0
and dword [esp + 0x120], 0
and dword [esp + 0x128], 0
and dword [esp + 0x130], 0
mov ebx, dword [ebp + 8]
and dword [esp + 0x138], 0
mov edi, edx
mov esi, ecx
call fcn.0040a4ae
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, edi
mov dword [esp], esi
cmp eax, edi
cmova edx, eax
cmp ecx, ebx
cmova edi, eax
lea eax, [esi + 0x18]
cmova ebx, ecx
cmove edi, edx
mov dword [esp + 8], eax
lea eax, [esi + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
push 0xfffffffffffffffe
pop ebx
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x10]
call fcn.004a24ba
test eax, eax
jne 0x4a230d
mov edx, dword [esp + 8]
lea ecx, [esp + 0x20]
call fcn.004a1d06
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
je 0x4a22ea
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
sbb edx, ecx
jb 0x4a22ea
mov eax, dword [esp]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x30]
push 0x4eed28
push dword [esp + 0x34]
call fcn.004a24db
pop ecx
pop edx
mov ecx, dword [esp + 0x34]
mov edi, eax
xor eax, eax
xor esi, esi
mov edx, 0
inc esi
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edx
not esi
not eax
and dword [edi + 0x200], esi
and dword [edi + 0x204], eax
cmp ecx, 0x40
jae 0x4a245e
mov edx, dword [edi + ecx*8]
mov esi, dword [edi + ecx*8 + 4]
and dword [edi + ecx*8], 0
and dword [edi + ecx*8 + 4], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x38]
call fcn.004a24ba
test eax, eax
je 0x4a22d3
movq xmm0, qword [eax + 0x18]
xor ecx, ecx
mov esi, eax
dec ecx
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
push 0xfffffffffffffffd
pop edi
cmp edi, eax
sbb ecx, edx
jb 0x4a246e
cmp dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
sbb ecx, edx
jb 0x4a225b
xor ecx, ecx
dec ecx
lock cmpxchg8b qword [esi + 0x18]
jne 0x4a2222
pcmpeqd xmm0, xmm0
mov edx, esi
movq qword [esi + 8], xmm0
mov ecx, dword [esp + 0x10]
call fcn.004a24fc
jmp 0x4a21fa
movd xmm0, eax
movd xmm1, edx
mov ecx, ebx
punpckldq xmm0, xmm1
movq qword [esi + 8], xmm0
xor eax, dword [esp + 0xc]
xor edx, dword [esp + 0x1c]
or eax, 0x3f
cmp eax, ebx
cmovb ecx, eax
cmp edx, 0xf
cmovae eax, ebx
cmove eax, ecx
push 0xf
pop ecx
cmovae edx, ecx
bsr eax, eax
xor eax, 0x1f
bsr ecx, edx
or al, 0x20
xor ecx, 0x1f
test edx, edx
movzx eax, al
cmovne eax, ecx
mov cl, 6
xor al, 0x3e
movzx eax, al
div cl
mov edx, dword [esp]
movzx eax, al
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x30]
push 0x4eece8
push eax
call fcn.004a24db
pop ecx
pop edx
mov ecx, eax
mov edx, esi
call fcn.004a2535
jmp 0x4a21fa
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 8]
push dword [esp + 0x2c]
call fcn.004a2592
pop eax
jmp 0x4a2146
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.004a2592
pop eax
mov ecx, dword [esp + 0x10]
call fcn.004a24ba
test eax, eax
je 0x4a23a4
mov ecx, eax
xor edx, edx
call fcn.004a2604
test eax, eax
je 0x4a2146
mov edi, dword [esp + 4]
cmp edi, 0x1f
ja 0x4a249d
mov esi, eax
mov eax, dword [esp + edi*8 + 0x40]
test eax, eax
je 0x4a2347
push dword [esp + edi*8 + 0x44]
mov dword [esp + 0x10], edx
call dword [eax + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + edi*8 + 0x40], esi
mov dword [esp + edi*8 + 0x44], edx
inc edi
cmp edi, 0x20
mov dword [esp + 4], edi
jne 0x4a2146
mov ecx, dword [esp]
call fcn.0040a4bd
push 0xffffffffffffffe0
pop esi
test esi, esi
je 0x4a2397
mov ecx, dword [esp + esi*8 + 0x140]
mov edx, dword [esp + esi*8 + 0x144]
and dword [esp + esi*8 + 0x140], 0
push 0x4eee24
call fcn.004a2656
pop ecx
push edx
call dword [eax + 4]
add esp, 4
inc esi
jmp 0x4a2368
mov ecx, dword [esp]
call fcn.0040a4ae
jmp 0x4a213e
mov ebx, dword [esp]
mov edx, dword [esp + 8]
lea esi, [esp + 0x140]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0xc], ecx
mov ecx, esi
mov dword [ebx + 8], eax
call fcn.004a1d06
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
xor edx, edx
mov edi, ecx
or edi, eax
mov edi, 1
cmovne edi, ecx
mov ecx, dword [esi]
cmove eax, edx
or ecx, dword [esi + 4]
mov ecx, ebx
cmove edi, edx
cmove eax, edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], edi
call fcn.0040a4bd
mov edi, dword [esp + 4]
cmp edi, 0x21
jae 0x4a24a9
shl edi, 3
lea eax, [esp + 0x40]
test edi, edi
je 0x4a2430
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and dword [eax], 0
lea esi, [eax + 8]
push 0x4eee44
call fcn.004a2656
pop ecx
push edx
call dword [eax + 4]
add esp, 4
add edi, 0xfffffff8
mov eax, esi
jmp 0x4a2408
mov esi, 0xffffff00
test esi, esi
je 0x4a2456
mov eax, dword [esp + esi + 0x140]
test eax, eax
je 0x4a2451
push dword [esp + esi + 0x144]
call dword [eax + 0xc]
add esp, 4
add esi, 8
jmp 0x4a2435
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x40
pop edx
push 0x4eec1c
call fcn.004c8770
pop eax
ud2
lea ecx, [esp + 0x140]
mov edx, 0x4eeb24
mov dword [ecx], str.mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x500c58
and dword [ecx + 0xc], 0
call fcn.004c8740
ud2
push 0x20
pop edx
mov ecx, edi
push 0x4eee14
jmp 0x4a2466
push 0x20
pop edx
mov ecx, edi
push 0x4eee34
call fcn.004c8850
jmp 0x4a246b