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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x41f930
mov edi, dword [ebp + 8]
mov eax, dword fs:[0]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x60], eax
call fcn.0041f520
xorps xmm0, xmm0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], eax
push edi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x6364b8]
mov eax, dword [eax]
test eax, 0x7fffffff
jne 0x41cd60
mov dword [esi + 0x18], 0
movzx eax, byte [edi + 4]
test al, al
jne 0x41cd76
mov eax, dword [edi + 0x28]
test eax, eax
je 0x41cb9e
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + 0x20]
lea eax, [edx + eax*4]
mov dword [esi + 0x30], eax
xor eax, eax
jmp 0x41ca70
mov eax, dword [esi + 8]
add edx, 0xc
inc eax
cmp edx, dword [esi + 0x30]
je 0x41cb9e
mov dword [esi + 8], eax
mov eax, dword [edx]
mov dword [esi + 0x10], edx
mov dword [esi + 0x38], eax
mov eax, dword [eax + 0x14]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 1
mov dword [esi + 0x34], eax
push 0
call fcn.00530a00
add esp, 4
test eax, eax
je 0x41cdf0
cmp dword [esi + 0x34], eax
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x38]
je 0x41ca60
mov ecx, dword [edx + 4]
xor eax, eax
lock cmpxchg dword [edi + 0xc], ecx
jne 0x41ca60
mov eax, dword [edx + 8]
test eax, eax
je 0x41cabf
mov dword [edi + 0x10], eax
mov eax, dword [edi + 8]
mov byte [esi + 7], 1
add eax, 8
push eax
call fcn.00515100
add esp, 4
mov byte [esi + 7], 1
push eax
call fcn.0052dfe0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edi, dword [ecx + 0x28]
cmp edi, eax
jbe 0x41ce13
mov ecx, dword [ecx + 0x20]
lea edx, [eax + eax*2]
not eax
add eax, edi
shl eax, 2
lea ebx, [ecx + edx*4]
mov dword [esi + 0x38], ebx
mov ebx, dword [ecx + edx*4]
mov dword [esi + 0x10], ebx
mov ebx, dword [ecx + edx*4 + 4]
mov dword [esi + 0x30], ebx
mov ebx, dword [ecx + edx*4 + 8]
lea ecx, [ecx + edx*4 + 0xc]
lea edx, [eax + eax*2]
mov dword [esi + 0x34], ebx
push edx
push ecx
push dword [esi + 0x38]
call fcn.005885b0
mov eax, dword [esi + 0x10]
add esp, 0xc
mov ecx, dword [ebp + 8]
dec edi
test eax, eax
mov dword [ecx + 0x28], edi
je 0x41cb9e
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x18], 0
mov edx, dword [esi + 0x30]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x50], ecx
je 0x41cda8
mov dword [esi + 0x78], 2
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41ce28
mov byte [eax + 2], 1
mov byte [eax + 1], 1
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x41cb97
lea eax, [esi + 0x1c]
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push eax
call fcn.00449d80
add esp, 4
mov al, 2
jmp 0x41cd20
mov edi, dword [ebp + 8]
cmp byte [edi + 0x38], 0
je 0x41cbdb
cmp byte [esi + 0x18], 0
jne 0x41cbc6
mov eax, dword [0x6364b8]
mov eax, dword [eax]
mov dword [esi + 0x78], 0xffffffff
test eax, 0x7fffffff
jne 0x41cdda
mov dword [esi + 0x78], 0xffffffff
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov al, 1
jmp 0x41cd20
lea eax, [esi + 0x40]
mov dword [esi + 0x78], 3
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x58]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [esi + 0x2c], al
push 0
call fcn.00530af0
add esp, 4
test eax, eax
je 0x41cc79
mov edx, dword [eax]
mov dword [eax], 0
test edx, edx
je 0x41ccb9
lea ecx, [esi + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 0x3c], edx
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0x78], 6
mov dword [esi + 0x10], edx
call fcn.0041d720
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x10]
mov ecx, dword [edx]
mov dword [edx], edi
test ecx, ecx
mov dword [esi + 0x14], ecx
je 0x41ccf7
lock dec dword [ecx]
jne 0x41ccf7
lea ecx, [esi + 0x14]
mov byte [esi + 0xf], 0
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
jmp 0x41ccf7
call fcn.005b0640
lea ecx, [esi + 0x1c]
mov edx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 4
mov dword [esi + 8], eax
call fcn.0041d720
mov ecx, dword [esi + 8]
lock dec dword [ecx]
jne 0x41ccf7
lea ecx, [esi + 0x14]
mov dword [esi + 0x78], 3
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
jmp 0x41ccf7
call fcn.005b0640
lea ecx, [esi + 0x1c]
mov edx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x78], 5
mov dword [esi + 8], eax
call fcn.0041d720
mov ecx, dword [esi + 8]
lock dec dword [ecx]
jne 0x41ccf7
lea ecx, [esi + 0x14]
mov dword [esi + 0x78], 3
push ecx
mov byte [esi + 8], al
call fcn.00449d80
movzx eax, byte [esi + 8]
add esp, 4
movzx ecx, byte [esi + 0x2c]
cmp cl, 2
je 0x41cd20
mov edx, dword [esi + 0x28]
test cl, cl
mov byte [esi + 8], al
je 0x41cd32
mov byte [esi + 7], 0
mov dword [esi + 0x78], 1
push edx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
movzx eax, byte [esi + 8]
mov ecx, dword [esi + 0x70]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x6364b8]
mov eax, dword [eax]
mov dword [esi + 0x78], 1
test eax, 0x7fffffff
je 0x41cd0a
mov dword [esi + 0x10], edx
mov byte [esi + 7], 0
call fcn.005b0970
mov edx, dword [esi + 0x10]
test al, al
jne 0x41cd0a
mov byte [edx + 4], 1
jmp 0x41cd0a
call fcn.005b0970
xor al, 1
mov dword [esi + 0x18], eax
movzx eax, byte [edi + 4]
test al, al
je 0x41ca37
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x78], 0
mov byte [esi + 0x20], al
lea eax, [esi + 0x1c]
push 0x5b3c24
push 0x5b3e70
push eax
push 0x2b
push 0x5b3e44
call fcn.005b1a30
add esp, 0x14
jmp 0x41ce3c
mov eax, dword [0x6364b8]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x41cb55
mov dword [esi + 0x78], 2
call fcn.005b0970
test al, al
jne 0x41cb55
mov eax, dword [ebp + 8]
mov byte [eax + 4], 1
jmp 0x41cb55
call fcn.005b0970
test al, al
jne 0x41cbc6
mov byte [edi + 4], 1
jmp 0x41cbc6
mov byte [esi + 7], 1
lea eax, [esi + 0x1c]
push 0x5b3db0
push 0x5b3e34
push eax
push 0x46
push 0x5b3d18
call fcn.005b1a30
add esp, 0x14
jmp 0x41ce3c
mov byte [esi + 7], 1
push 0x5b3d08
push edi
push eax
call fcn.005b15b0
add esp, 0xc
jmp 0x41ce3c
push 0x5b3c34
push 0x2b
push 0x5b3b40
call fcn.005b1730
add esp, 0xc
ud2