Function at 0x100594f0
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 [0x100a500c]
xor eax, ebp
mov dword [esp + 0x148], eax
mov dword [esp + 0x1c], edx
xor ebx, ebx
cmp byte [edi + 8], 0
jne 0x10059534
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.1004fb50
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
call fcn.10059850
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 [0x10093270]
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.1006bf10
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.10065200
mov dword [esp + 8], ebx
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
je 0x100597b4
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.1006c320
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 0x10059632
mov dword [eax + 0x30], 0
add eax, 0x18
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
cmp byte [esp + 7], 0
je 0x10059794
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.10065200
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 0x10059670
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 0x1005978a
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.100577c0
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.10065200
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x100597cb
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.100680b0
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 0x10059758
lea edi, [esp + 0xc8]
mov edx, dword [esi]
lea ecx, [esp + 0x30]
push ebx
call fcn.100577c0
add esp, 4
mov ecx, edi
call fcn.10068e90
mov ecx, ebx
call fcn.10068450
test al, al
je 0x10059726
mov eax, dword [esp + 0xdc]
xor eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
xor ecx, dword [esp + 0x118]
or ecx, eax
jne 0x10059717
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 0x10059796
lea eax, [esp + 0x50]
mov dword [eax + 0x18], 0
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
jmp 0x10059796
cmp byte [edi + 8], 0
je 0x10059794
mov byte [edi + 8], 0
xor ebx, ebx
cmp byte [esp + 0x18], 0
je 0x100597a6
lea ecx, [esp + 0x10]
call fcn.10075f40
lea ecx, [esp + 0x38]
call fcn.100598b0
jmp 0x1005951c
lea ecx, [esp + 0xb8]
xor edx, edx
call fcn.1006c320
mov byte [esp + 7], al
jmp 0x10059617
xor eax, eax
lea edi, [esp + 0xb8]
mov ecx, edi
xor edx, edx
push eax
push eax
call fcn.100680b0
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 0x1005976d
lea ebx, [esp + 0xc8]
lea esi, [esp + 0x20]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov ecx, esi
push edi
call fcn.100577c0
add esp, 4
mov ecx, ebx
call fcn.10068e90
mov ecx, edi
call fcn.10068450
test al, al
je 0x10059812
mov eax, dword [esp + 0xdc]
xor eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0xd8]
xor ecx, dword [esp + 0x118]
or ecx, eax
jne 0x10059801
jmp 0x1005976d