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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
lea edx, [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esi + 0x38], eax
mov dword [esi + 8], ecx
mov eax, dword [ecx + 8]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 8]
cmp edi, 0x563fd0
jne 0x4054e1
mov dword [esi + 0x2c], 0x92
mov al, byte [0x6494ce]
test al, al
jne 0x40556a
cmp dword [edx + 0x2c], 0
mov ebx, dword [esi + 8]
jne 0x40532a
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x160]
test eax, eax
je 0x4052e7
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x40], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x15c]
test eax, eax
je 0x40532a
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x2c], ecx
movsd xmm0, qword [eax + 0x2c]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x38], ecx
movsd qword [edx + 0x30], xmm0
cmp byte [eax + 0x48], 0
jne 0x4054da
cmp dword [eax + 0x38], 0
setne al
mov byte [edx + 0x48], al
cmp dword [edx + 0x3c], 0
jne 0x40550d
mov ecx, dword [edx + 0x5c]
test ecx, ecx
je 0x40534e
xor eax, eax
inc eax
lock xadd dword [ecx + 4], eax
cmp eax, 0x7fffffff
je 0x40550a
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], esp
mov al, byte [edx + 0x5a]
mov byte [esi + 7], al
push eax
sub esp, 0x38
mov dword [esi + 0x14], esp
mov dword [esi + 0x10], esp
sub esp, 0x30
mov edi, esp
xor eax, eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov eax, edi
add eax, 8
push 0x22b
push 0x636b18
push str.PushOntoDelayedIncomingQueue
mov dword [esi + 0xc], eax
push eax
call fcn.005068d0
add esp, 0x10
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jb 0x4054fc
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x654804], 1
push 0x90
call fcn.00564ea5
add esp, 4
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], 0x437930
mov dword [eax + 8], 0x4584f0
mov dword [eax + 0xc], 0x5630a0
mov dword [eax + 0x10], 0x437a20
mov dword [eax + 0x18], ebx
lea ebx, [ebp + 8]
movups xmm0, xmmword [ebx]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebx + 0x39]
movups xmmword [eax + 0x59], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [eax + 0x50], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmm1, xmmword [ebx + 0x20]
movups xmmword [eax + 0x40], xmm1
movups xmmword [eax + 0x30], xmm0
mov edx, dword [ebx + 0x50]
mov dword [eax + 0x70], edx
xor edx, edx
mov dword [ebx + 0x50], edx
movzx ecx, word [ebx + 0x58]
mov word [eax + 0x78], cx
mov cl, byte [ebx + 0x5a]
mov byte [eax + 0x7a], cl
mov ecx, dword [ebx + 0x5c]
mov dword [eax + 0x7c], ecx
mov dword [ebx + 0x5c], edx
movsd xmm0, qword [ebx + 0x60]
movsd qword [eax + 0x80], xmm0
mov ecx, dword [ebx + 0x68]
mov dword [eax + 0x88], ecx
mov dword [ebx + 0x68], edx
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
mov byte [edi + 0x20], dl
mov al, byte [esi + 7]
mov byte [edi + 0x24], al
mov dword [edi + 4], edx
mov edx, dword [esi + 0xc]
movups xmm0, xmmword [edx]
movups xmmword [ecx + 4], xmm0
mov edx, 0
mov byte [ecx + 0x14], dl
mov byte [ecx + 0x15], al
movsd xmm0, qword [edi + 0x18]
movsd qword [ecx + 0x18], xmm0
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x28], edx
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x2c], eax
mov dword [edi], edx
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x30], eax
mov dword [edi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x34], eax
mov esp, dword [esi + 0x10]
xor eax, eax
inc eax
mov dword [ecx + 0x38], eax
mov ecx, dword [esi + 8]
call fcn.0050cd10
mov esp, dword [esi + 0x18]
mov ecx, ebx
call fcn.0051fa50
mov ecx, dword [esi + 0x38]
xor ecx, ebp
call fcn.00568175
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x70
mov al, 1
jmp 0x405327
mov ecx, edi
call dword [0x63e63c]
mov ecx, ebx
lea eax, [ebp + 8]
push eax
call edi
lea edx, [ebp + 8]
mov ebx, dword [esi + 8]
jmp 0x40532a
push ebx
call fcn.004f0de0
add esp, 4
jmp 0x4053bd
int3
mov al, byte [0x649552]
test al, al
je 0x405334
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x405537
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea edx, [esi + 0x20]
mov ecx, dword [esi + 8]
call fcn.005cff30
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x40555f
mov dword [esi + 0x28], 0x116
mov al, byte [0x649552]
test al, al
jne 0x4055ac
lea edx, [ebp + 8]
mov ebx, dword [esi + 8]
jmp 0x405334
mov ecx, dword [edx + 0x44]
xor ecx, dword [0x648784]
lea edx, [esi + 0x30]
mov dword [edx + 4], ecx
add ebx, 0x14c
xor ebx, dword [0x648780]
movzx eax, al
mov dword [edx], ebx
lea ecx, [esi + 0x20]
mov dword [ecx], str.SequenceManager_PostTask
lea edi, [esi + 0x2c]
push edx
push 3
push ecx
push edi
push eax
call fcn.005c0c80
lea edx, [ebp + 8]
add esp, 0x14
jmp 0x4052b9
movzx ecx, al
lea eax, [esi + 0x30]
lea edx, [esi + 0x20]
mov dword [eax], edx
lea edx, [ebp + 8]
mov dword [eax + 4], edx
lea edi, [esi + 0x2c]
mov dword [edi], str.task_posted_to_disabled_queue
lea edx, [esi + 0x28]
push eax
push edi
call fcn.005d07b0
add esp, 8
jmp 0x40555f