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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x150
mov edi, dword [ebp + 0xc]
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [esp + 0x148], eax
mov dword [esp + 0x1c], edx
xor ebx, ebx
cmp byte [edi + 8], 0
jne 0x10058a54
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.1004f020
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
call fcn.10058d70
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
lea esi, [esp + 0x38]
push esi
call dword [sym.imp.kernel32.dll_InitializeSRWLock]
mov byte [esi + 0x38], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x3c], xmm0
movaps xmm1, xmmword [0x10092270]
movups xmmword [esi + 0x4c], xmm1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], 1
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ecx, esi
push dword [esp + 8]
call fcn.1006b660
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 1
mov ebx, dword [eax]
mov dword [esp + 0xb8], edi
lea eax, [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], esi
mov eax, dword [ebp + 8]
mov dword [esp + 0xc4], eax
mov ecx, ebx
call fcn.10064950
mov dword [esp + 8], ebx
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
je 0x10058cd4
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x20]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esp + 0xb8]
call fcn.1006ba70
mov byte [esp + 7], al
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov eax, dword [esp + 8]
cmp byte [eax + 0x38], 0
je 0x10058b52
mov dword [eax + 0x30], 0
add eax, 0x18
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
cmp byte [esp + 7], 0
je 0x10058cb4
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.10064950
mov eax, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
cmp byte [esi + 0x38], 0
je 0x10058b90
mov esi, eax
lea eax, [esp + 0x50]
mov dword [eax + 0x18], 0
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, esi
or ebx, eax
mov ecx, dword [esp + 0xc]
jne 0x10058caa
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
lea ebx, [esp + 0xb8]
mov byte [ebx], 0x11
mov dword [ebx + 1], eax
lea esi, [esp + 0x20]
mov ecx, esi
push ebx
call fcn.10056ce0
add esp, 4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov dword [edi], eax
mov byte [edi + 8], 1
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.10064950
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x10058ceb
mov eax, dword [ebx]
mov edi, dword [eax + 0x2c]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp + 8], ebx
mov ecx, ebx
call edi
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x20]
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
xor eax, eax
lea ebx, [esp + 0xb8]
mov ecx, ebx
push eax
push eax
call fcn.10067800
add esp, 8
mov eax, dword [ebx + 0x24]
xor eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x20]
xor ecx, dword [ebx + 0x60]
or ecx, eax
mov esi, dword [esp + 0xc]
je 0x10058c78
lea edi, [esp + 0xc8]
mov edx, dword [esi]
lea ecx, [esp + 0x30]
push ebx
call fcn.10056ce0
add esp, 4
mov ecx, edi
call fcn.100685e0
mov ecx, ebx
call fcn.10067ba0
test al, al
je 0x10058c46
mov eax, dword [esp + 0xdc]
xor eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
xor ecx, dword [esp + 0x118]
or ecx, eax
jne 0x10058c37
mov edi, dword [esp + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov bl, 1
cmp byte [esp + 0x70], 0
je 0x10058cb6
lea eax, [esp + 0x50]
mov dword [eax + 0x18], 0
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
jmp 0x10058cb6
cmp byte [edi + 8], 0
je 0x10058cb4
mov byte [edi + 8], 0
xor ebx, ebx
cmp byte [esp + 0x18], 0
je 0x10058cc6
lea ecx, [esp + 0x10]
call fcn.10075730
lea ecx, [esp + 0x38]
call fcn.10058dd0
jmp 0x10058a3c
lea ecx, [esp + 0xb8]
xor edx, edx
call fcn.1006ba70
mov byte [esp + 7], al
jmp 0x10058b37
xor eax, eax
lea edi, [esp + 0xb8]
mov ecx, edi
xor edx, edx
push eax
push eax
call fcn.10067800
add esp, 8
mov eax, dword [edi + 0x24]
xor eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x20]
xor ecx, dword [edi + 0x60]
or ecx, eax
je 0x10058c8d
lea ebx, [esp + 0xc8]
lea esi, [esp + 0x20]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov ecx, esi
push edi
call fcn.10056ce0
add esp, 4
mov ecx, ebx
call fcn.100685e0
mov ecx, edi
call fcn.10067ba0
test al, al
je 0x10058d32
mov eax, dword [esp + 0xdc]
xor eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
xor ecx, dword [esp + 0x118]
or ecx, eax
jne 0x10058d21
jmp 0x10058c8d