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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
movsd xmm0, qword [ecx]
mov esi, ecx
movsd qword [esp + 0x7c], xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0xc], 2
mov ecx, dword [ecx + 0x18]
cmp eax, 2
mov dword [esp + 0x78], ecx
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x70], xmm0
je 0x1005ffb6
movsd xmm0, qword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
cmp eax, 1
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x70]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
jne 0x1005fc5a
cmp eax, 3
jne 0x1005fc63
jmp 0x1005ffad
cmp eax, 1
jne 0x1005ffad
mov ecx, dword [esi + 0x34]
lea eax, [ecx + 1]
cmp eax, 2
jae 0x1005fd82
cmp dword [esp + 0x24], 1
je 0x1005ffad
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x1005fc8c
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x1005ffad
mov ecx, dword [0x10411338]
test ecx, ecx
je 0x1005ffad
mov al, 1
cmp ecx, 1
je 0x1005fcbb
cmp ecx, 2
jne 0x10060031
mov al, 2
movzx edx, al
mov ecx, 0x10411338
call fcn.10109ff0
test al, al
je 0x1005ffad
mov ecx, dword [0x1041133c]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1006009d
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], 0x10398754
mov dword [esp + 0x50], 2
lea ebp, [ecx + 0x2c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], edx
lea edx, [esi + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
lea edi, [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x6c], 0x10061ca0
mov dword [esp + 0x60], 1
mov dword [esp + 0xc], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x103986f0
mov dword [esp + 0x88], edx
lea edx, [esp + 0x88]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], ebp
call fcn.1010a850
jmp 0x1005ffad
mov eax, dword [ecx]
nop word cs:[eax + eax]
nop
test eax, eax
je 0x1005fc72
js 0x10060099
lea edx, [eax + 1]
lock cmpxchg dword [ecx], edx
jne 0x1005fd90
mov ebp, dword [esi + 0x34]
mov dword [esp + 0xc], ebp
mov ecx, dword [ebp + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10060048
mov al, byte [ebp + 0xc]
lea ebx, [ebp + 0xc]
test al, al
je 0x1005fe1e
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10060064
mov edi, dword [ebp + 8]
mov eax, dword [0x10551f24]
test eax, eax
jne 0x1005fe04
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f3390
cmovne eax, edx
mov dword [0x10551f24], eax
cmp eax, 0x100f3390
jne 0x1005fe77
mov eax, dword [edi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
mov bl, 1
jmp 0x1005ff9a
xor eax, eax
movzx ecx, byte [esi + 0x1c]
xor edi, edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
test ecx, ecx
je 0x1005feb6
cmp ecx, 1
je 0x1005fea8
call sub.KERNEL32.dll_GetProcessHeap
push 0x10
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp], eax
je 0x100600b6
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
lea edx, [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
mov ebx, dword [esp + 0xc]
push ebx
call dword [ecx]
mov ecx, ebx
add esp, 0x10
mov eax, 2
jmp 0x1005feb8
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x1005fe9e
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push edi
call eax
mov bl, 1
jmp 0x1005ff9a
movzx edi, byte [esi + 0x1d]
mov eax, 1
shl edi, 8
jmp 0x1005feb8
xor eax, eax
or edi, eax
lea ebx, [ebp + 0x10]
lea eax, [esp + 0x3c]
lea edx, [esi + 0x2c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x30]
push dword [esi + 0x28]
push dword [esi + 0x24]
push edx
push eax
call dword [ecx]
add esp, 0x10
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
lea edx, [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x4c]
movsd qword [esp + 0x5c], xmm0
movsd qword [esp + 0x54], xmm1
movsd qword [esp + 0x4c], xmm2
push eax
call fcn.100601f0
add esp, 4
cmp byte [esp + 8], 0
jne 0x1005ff2f
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10060080
mov edi, dword [ebp + 8]
mov eax, dword [0x10551f24]
test eax, eax
jne 0x1005ff59
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f3390
cmovne eax, edx
mov dword [0x10551f24], eax
cmp eax, 0x100f3390
jne 0x1005ff6e
mov eax, dword [edi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x1005ff98
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x1005ff95
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push edi
call eax
xor ebx, ebx
lock dec dword [ebp]
jne 0x1005ffa9
lea ecx, [esp + 0xc]
call fcn.10061d70
test bl, bl
je 0x1005ffb6
lea ecx, [esp + 0x18]
call fcn.100600d0
cmp dword [esi + 0xc], 2
je 0x1005ffc3
mov ecx, esi
call fcn.100600d0
cmp byte [esi + 0x1c], 2
jb 0x1005ffef
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
lea edx, [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
call dword [ecx + 4]
add esp, 0xc
mov edi, dword [esi + 0x20]
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x2c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push ecx
call dword [eax + 4]
add esp, 0xc
mov eax, dword [esi + 0x34]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x10060018
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
lock dec dword [eax + 4]
jne 0x1006000d
mov esi, dword [esi + 0x34]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1006000d
mov ecx, 0x10411338
call fcn.10109f40
test al, al
jne 0x1005fcbb
jmp 0x1005ffad
call fcn.100faaa0
mov cl, byte [ebp + 0xc]
lea ebx, [ebp + 0xc]
test cl, cl
je 0x10060079
test al, al
jne 0x1005fdcd
jmp 0x1005fdda
call fcn.100faaa0
test al, al
jne 0x1005fdda
mov byte [ebx], 1
jmp 0x1005fdda
xor al, 1
jmp 0x1005fe20
call fcn.100faaa0
test al, al
jne 0x1005ff2f
mov eax, dword [esp + 4]
mov byte [eax], 1
jmp 0x1005ff2f
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x103987cc
call fcn.1000a9c0
add esp, 4
ud2
mov ecx, 0x10
mov edx, 4
call fcn.100067d0
ud2