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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov esi, esp
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [esi + 0x138], eax
lea ebx, [ebp + 0xc]
mov eax, dword [ebx - 4]
mov dword [esi + 0x14], eax
mov eax, dword [ebx]
mov al, byte [eax + 0x12]
and al, 0x7f
mov dl, 1
mov dword [esi + 0x10], edx
cmp al, 1
mov dword [esi + 0xc], ecx
jne 0x46a5d4
mov eax, dword [ecx + 0x18]
mov ecx, 2
lock xadd dword [eax], ecx
test cl, 1
jne 0x46a6c3
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xe0], xmm0
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x120], xmm0
xor ecx, ecx
dec ecx
mov dword [esi + 0x134], ecx
mov dword [esi + 0x130], ecx
xor eax, eax
mov byte [esi + 0xe0], al
pxor xmm0, xmm0
movdqu xmmword [esi + 0xe8], xmm0
movdqu xmmword [esi + 0xf8], xmm0
movdqu xmmword [esi + 0x108], xmm0
movdqu xmmword [esi + 0x118], xmm0
mov dword [esi + 0x12c], eax
mov dword [esi + 0x128], eax
mov byte [esi + 0xd0], al
mov dword [esi + 0xd5], eax
mov dword [esi + 0xd1], eax
mov word [esi + 0xd9], 0x102
mov dword [esi + 0xdb], eax
lea edi, [esi + 0x40]
mov dword [edi], ecx
mov ecx, dword [ebx]
push edi
call fcn.0046b3f0
cmp byte [esi + 0x10], 0
je 0x46a6aa
lea eax, [esi + 0x80]
mov ecx, ebx
push edi
push eax
call fcn.0046b610
lea ecx, [esi + 0xe8]
cmp byte [ecx - 8], 0
jne 0x46a699
lea eax, [esi + 0x80]
push eax
call fcn.0046a040
mov byte [esi + 0xe0], 1
lea edi, [esi + 0x80]
mov ecx, edi
call fcn.0046b7d0
lea ecx, [esi + 0x40]
mov eax, dword [ecx]
mov dl, byte [eax + 0x10]
mov byte [edi + 8], dl
movsd xmm0, qword [eax + 8]
movsd qword [edi], xmm0
mov edx, dword [eax + 0x11]
mov dword [edi + 9], edx
movzx eax, word [eax + 0x15]
mov word [edi + 0xd], ax
movsd qword [esi + 0xd0], xmm0
movq xmm0, qword [edi + 7]
movq qword [esi + 0xd7], xmm0
call fcn.0046b360
cmp byte [esi + 0xe0], 0
je 0x46a4f8
mov dword [esi + 0x20], esp
sub esp, 0x50
mov edi, esp
cmp byte [esi + 0xe0], 0
je 0x46a6be
mov ebx, dword [ebx]
mov ecx, edi
lea eax, [esi + 0xe8]
push eax
call fcn.0046a040
mov dword [edi + 0x48], ebx
lea eax, [esi + 0xd0]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax + 4]
cmp edi, 0x46a6f0
jne 0x46a57c
lea edx, [esi + 0x38]
xor eax, eax
dec eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, dword [ebx]
mov edi, dword [eax]
mov dword [esi + 0x18], ecx
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
lea ebx, [esi + 0x38]
push ebx
call edi
lea ecx, [esi + 0x30]
xor edi, edi
dec edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
push ebx
call fcn.0046e3b0
lea ecx, [esi + 0x2c]
mov byte [ecx], 0xff
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x4c]
movzx eax, byte [eax + 9]
push eax
call fcn.00466bd0
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
mov byte [esi + 0x80], 0
lea eax, [esi + 0x38]
mov eax, dword [eax + 4]
test eax, eax
mov edi, ebx
je 0x46a602
mov byte [esi + 0x28], 0xff
lea ecx, [esi + 0x28]
push eax
call fcn.0046e610
xor ecx, ecx
dec ecx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], ecx
xor eax, eax
mov byte [esi + 0x74], al
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
mov byte [esi + 0x60], al
movdqa xmmword [esi + 0x40], xmm0
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ecx
mov byte [esi + 0x40], al
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + 0x24]
cmp ecx, 1
jne 0x46a591
mov eax, dword [eax + 0x20]
test eax, eax
je 0x46a417
lock inc dword [eax + 4]
lea ebx, [esi + 0x78]
mov ecx, ebx
push eax
call fcn.004645e0
mov al, 1
mov byte [ebx - 4], al
mov ebx, edi
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x20]
lea edi, [esi + 0x44]
mov dword [edi], 0x4d6360
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
push edi
call fcn.0046e700
add esp, 4
mov al, 1
mov byte [edi - 4], al
mov edi, ebx
mov ebx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
mov cl, byte [eax + 0xa]
and cl, 0x7f
cmp cl, 1
jne 0x46a5ea
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x38]
push edx
push ebx
push eax
push edi
call fcn.0046ac50
mov ecx, edi
lea edi, [esi + 0x24]
mov dword [edi], 0
push edi
call fcn.0045aaa0
mov ecx, edi
call fcn.0045ab10
cmp byte [esi + 0x40], 0
je 0x46a4ab
mov dword [esi + 0x44], 0x4d6360
push 0
call fcn.0046e700
add esp, 4
cmp byte [esi + 0x60], 0
lea ebx, [ebp + 0xc]
jne 0x46a667
cmp byte [esi + 0x74], 0
mov edi, dword [esi + 0x18]
je 0x46a4c9
lea ecx, [esi + 0x78]
call fcn.00464660
lea ecx, [esi + 0x28]
call fcn.0046e690
cmp byte [esi + 0x80], 0
jne 0x46a628
lea ecx, [esi + 0x2c]
call fcn.00466c50
lea ecx, [esi + 0x30]
call fcn.0046e4b0
mov ecx, edi
call fcn.0046b7d0
mov esp, dword [esi + 0x20]
cmp byte [esi + 0x10], 0
mov edx, dword [esi + 0xc]
je 0x46a521
mov eax, dword [ebx]
mov al, byte [eax + 0x12]
and al, 0x7f
cmp al, 1
jne 0x46a521
mov eax, dword [edx + 0x18]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x46a674
mov ecx, ebx
push 0
call fcn.0046b640
test al, al
jne 0x46a571
mov ecx, dword [esi + 0x14]
push 0
call fcn.0046b440
lea edi, [ebp + 8]
cmp byte [esi + 0xe0], 0
je 0x46a54f
lea ecx, [esi + 0xe8]
call fcn.0046b7d0
mov ecx, ebx
call fcn.0046b490
mov edi, dword [edi]
mov ecx, dword [esi + 0x138]
xor ecx, ebp
call fcn.0046f8c3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [esi + 0x14]
push ebx
call fcn.0046b460
jmp 0x46a538
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0xc]
call edi
lea ebx, [ebp + 0xc]
jmp 0x46a4f5
cmp ecx, 2
jne 0x46a458
mov eax, dword [eax + 0x20]
test eax, eax
je 0x46a5a5
lock inc dword [eax + 4]
lea ebx, [esi + 0x64]
mov ecx, ebx
push eax
call fcn.00443310
mov al, 1
mov byte [ebx - 4], al
mov ebx, edi
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x20]
lea edi, [esi + 0x44]
mov dword [edi], 0x4d6360
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x4c]
jmp 0x46a445
test al, al
jne 0x46a638
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 0x10], eax
jmp 0x46a1d3
test cl, cl
jne 0x46a645
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x38]
push edx
push ebx
push eax
push edi
call fcn.0046aba0
jmp 0x46a47c
mov ebx, edi
lea edi, [esi + 0x84]
mov ecx, edi
call fcn.0046e590
mov byte [edi - 4], 1
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x28], 0xff
test eax, eax
cmove eax, edi
mov edi, ebx
jmp 0x46a3c9
lea ecx, [esi + 0x84]
call fcn.0046e5b0
jmp 0x46a4de
cmp al, 2
je 0x46a1d3
jmp 0x46a6cb
mov dword [esi + 0x1c], ebx
cmp cl, 2
jne 0x46a47c
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x38]
push edx
push dword [esi + 0x1c]
push eax
push edi
call fcn.00448170
jmp 0x46a47c
lea ecx, [esi + 0x64]
call fcn.004433a0
jmp 0x46a4b8
lea edi, [edx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x46a6d7
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x40]
call fcn.00457e90
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x46a521
lea eax, [esi + 0x80]
push eax
call fcn.0046a050
jmp 0x46a2b0
lea eax, [esi + 0x80]
mov ecx, ebx
push edi
push eax
call fcn.004c9680
jmp 0x46a28d
call fcn.0049aed0
mov ecx, dword [esi + 0xc]
call fcn.00448120
mov dword [esi + 0x10], 0
jmp 0x46a1d3
mov ecx, edi
call fcn.0045aba0
jmp 0x46a682