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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x7c], ecx
test esi, esi
je 0x1008983a
cmp byte [esi + 0x24], 0
je 0x10088653
mov edi, esp
mov edx, esi
mov ecx, edi
push dword [esp + 0x44]
call fcn.1009a700
add esp, 4
mov eax, dword [esp]
cmp eax, 2
je 0x10088f2e
cmp eax, 1
jne 0x10088c9e
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov dword [eax], 0
mov byte [eax + 8], 0xb
mov edi, eax
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 4]
mov dword [esp + 0x34], eax
movsd qword [esp + 0x2c], xmm0
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov ecx, dword [esp + 0x34]
mov esi, eax
mov dword [esi + 8], ecx
movsd xmm0, qword [esp + 0x2c]
movsd qword [esi], xmm0
jmp 0x10088e55
lea eax, [esi + 0x10]
mov dword [esp + 0x40], esi
mov dword [esp + 0x74], eax
mov ecx, esi
mov edx, 1
call fcn.1009a900
mov edi, dword [esi]
mov ecx, dword [edi + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10088c61
mov dword [esp + 0x1c], 0
mov cl, byte [edi + 0xc]
lea eax, [edi + 8]
test cl, cl
jne 0x1008981e
mov ebp, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], eax
mov dword [esp], ebp
mov dword [esp + 4], ecx
cmp dword [edi + 0x158], ebp
jbe 0x100897d1
mov edx, dword [edi + 0x150]
imul ebx, ebp, 0xf0
cmp dword [edx + ebx], 1
jne 0x100897d1
cmp dword [edx + ebx + 0x30], ecx
jne 0x100897d1
mov eax, edi
mov esi, dword [edx + ebx + 0x54]
mov dword [esp], ebp
lea edi, [edx + ebx]
mov dword [esp + 4], ecx
cmp dword [edi], 1
jne 0x100897d1
lea edi, [edx + ebx + 0x30]
cmp dword [edi], ecx
jne 0x100897d1
mov ebp, esi
test esi, esi
mov ecx, 0
mov ebx, dword [edx + ebx + 0x5c]
cmovs ebp, ecx
cmp byte [esp + 0x1c], 0
jne 0x10088720
mov ecx, dword [0x10551f14]
mov esi, eax
test ecx, ecx
jne 0x10088c71
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov edx, dword [0x10551f24]
test edx, edx
je 0x100889f0
cmp edx, 0x100f3390
jne 0x10088a1b
mov eax, dword [edi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
cmp ebp, ebx
ja 0x10088a4f
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
nop dword [eax]
mov ebx, dword [esi]
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x100889c2
xor eax, eax
movzx edx, byte [ebx + 0xc]
lea ecx, [ebx + 8]
test dl, dl
jne 0x100897da
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
cmp dword [ebx + 0x158], ecx
jbe 0x100897d1
mov edi, dword [ebx + 0x150]
imul esi, ecx, 0xf0
cmp dword [edi + esi], 1
jne 0x100897d1
cmp dword [edi + esi + 0x30], eax
jne 0x100897d1
mov dword [esp + 0x78], ebx
movzx ebx, byte [edi + esi + 0x34]
mov dl, 2
lea ebp, [edi + esi + 0x34]
mov dword [esp + 0x20], edx
cmp ebx, 5
je 0x100887ee
cmp ebx, 3
jne 0x100888f5
cmp byte [ebp + 1], 0
je 0x100888f5
mov dword [esp], ecx
lea ebp, [edi + esi]
mov dword [esp + 4], eax
cmp dword [ebp], 1
jne 0x100897d1
lea ebx, [edi + esi + 0x30]
cmp dword [ebx], eax
jne 0x100897d1
movzx edx, byte [edi + esi + 0xe7]
mov dword [esp], ecx
mov dword [esp + 4], eax
cmp dword [ebp], 1
mov byte [esp + 0x20], dl
jne 0x10089804
cmp dword [ebx], eax
jne 0x10089804
cmp byte [esp + 0x20], 0
je 0x100888c0
lea edx, [edi + esi + 8]
mov byte [edx + 0xdf], 0
mov edx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
cmp dword [edx + 0x158], ecx
jbe 0x100897d1
mov edx, dword [edx + 0x150]
cmp dword [edx + esi], 1
jne 0x100897d1
cmp dword [edx + esi + 0x30], eax
jne 0x100897d1
mov edi, dword [edx + esi + 0x54]
mov dword [esp], ecx
lea ebx, [edx + esi]
mov dword [esp + 4], eax
cmp dword [ebx], 1
jne 0x100897d1
lea ecx, [edx + esi + 0x30]
cmp dword [ecx], eax
jne 0x100897d1
test edi, edi
jns 0x100888a9
xor edi, edi
sub edi, dword [edx + esi + 0x5c]
mov ebx, 0
mov dword [esp + 0x20], 0
jb 0x100888f9
mov ebx, edi
jmp 0x100888f9
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push dword [eax]
call dword [ecx]
add esp, 4
mov ebp, eax
mov eax, dword [edi + esi + 0x64]
lea ebx, [edi + esi + 0x60]
test eax, eax
je 0x100888ea
push dword [ebx]
mov esi, edx
call dword [eax + 0xc]
mov edx, esi
add esp, 4
mov al, 3
mov dword [ebx], ebp
mov dword [ebx + 4], edx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
test al, al
jne 0x1008890e
mov eax, dword [0x10551f14]
test eax, eax
jne 0x100889ce
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov edx, dword [0x10551f24]
test edx, edx
je 0x10088940
cmp edx, 0x100f3390
jne 0x10088967
mov eax, dword [esi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x10088993
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov ecx, 0x100f3390
cmove edx, ecx
mov dword [0x10551f24], edx
cmp edx, 0x100f3390
je 0x10088926
mov edx, dword [0x10551f3c]
test edx, edx
jne 0x10088990
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov ecx, 0x100f51d0
cmove edx, ecx
mov dword [0x10551f3c], edx
push esi
call edx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x40]
cmp al, 1
je 0x10088e13
cmp al, 3
je 0x10088e0c
cmp al, 2
je 0x10088e97
xor eax, eax
test ebx, ebx
je 0x10088760
jmp 0x10088a73
call fcn.100faaa0
xor al, 1
jmp 0x1008877d
call fcn.100faaa0
test al, al
jne 0x1008890e
mov eax, dword [esp + 0x78]
mov byte [eax + 0xc], 1
jmp 0x1008890e
mov ecx, 0x103a03b9
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov ecx, 0x100f3390
cmove edx, ecx
mov dword [0x10551f24], edx
cmp edx, 0x100f3390
je 0x10088740
mov edx, dword [0x10551f3c]
test edx, edx
jne 0x10088a44
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov ecx, 0x100f51d0
cmove edx, ecx
mov dword [0x10551f3c], edx
push edi
call edx
cmp ebp, ebx
jbe 0x10088754
mov esi, dword [esp + 0x40]
mov ecx, esp
mov edx, esi
push dword [esp + 0x44]
call fcn.1009a700
add esp, 4
mov eax, dword [esp]
mov ebx, dword [esp + 0x28]
cmp eax, 2
jne 0x10089188
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x80]
push dword [esp + 0x44]
call fcn.1004ce70
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, 3
je 0x10088e0c
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x84]
test eax, eax
jne 0x10088efe
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
cmp dword [eax], 1
jne 0x10088ae0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x18]
push dword [ecx + 0x14]
call dword [eax + 0x14]
add esp, 4
jmp 0x10088aeb
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x18], 0
sete al
mov byte [esp + 0x1b], al
mov eax, dword [0x10551ebc]
cmp eax, 5
jb 0x10088afe
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
dec eax
cmp eax, 5
jb 0x10088c10
mov ecx, dword [0x10411728]
test ecx, ecx
je 0x10088c10
mov al, 1
cmp ecx, 1
je 0x10088b2d
cmp ecx, 2
jne 0x10088c87
mov al, 2
movzx edx, al
mov ecx, 0x10411728
call fcn.10109ff0
test al, al
je 0x10088c10
mov ecx, dword [0x1041172c]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1008986e
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp], 0x1039b3a0
mov dword [esp + 4], 2
mov dword [esp + 8], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 1
mov edx, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x1b]
mov dword [esp + 0x68], fcn.10008600
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x70], 0x1000b4e0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x54], 0x103986f0
call fcn.1010a850
nop dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov esi, dword [esp + 0x40]
movzx eax, byte [esp + 0x1b]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
lea ecx, [esp + 0x2c]
mov edx, esi
push eax
lea eax, [esp + 4]
push eax
call fcn.1009aa50
add esp, 8
cmp byte [esp + 0x2c], 3
jne 0x10088f39
cmp byte [esp + 0x1b], 0
jne 0x10088f99
cmp byte [esi + 0x24], 0
je 0x1008865e
jmp 0x100885c6
call fcn.100faaa0
xor al, 1
mov dword [esp + 0x1c], eax
jmp 0x10088689
call fcn.100faaa0
test al, al
jne 0x10088720
mov byte [esi + 0xc], 1
jmp 0x10088720
mov ecx, 0x10411728
call fcn.10109f40
test al, al
jne 0x10088b2d
jmp 0x10088c10
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [0x10551ebc]
cmp eax, 4
jb 0x10088cb5
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
add eax, 0xfffffffe
cmp eax, 4
jb 0x10088da4
mov ecx, dword [0x10411734]
test ecx, ecx
je 0x10088da4
mov al, 1
cmp ecx, 1
je 0x10088ce6
cmp ecx, 2
jne 0x100892f9
mov al, 2
movzx edx, al
mov ecx, 0x10411734
call fcn.10109ff0
test al, al
je 0x10088da4
mov ecx, dword [0x10411738]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10089898
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp], 0x1039b320
mov dword [esp + 4], 1
lea ebp, [ecx + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea esi, [esp + 0x58]
lea edx, [esp + 0x4c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x2c]
lea edx, [esp + 0x80]
mov dword [esp + 0x50], fcn.1001a8e0
mov dword [esp + 0x14], 1
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 1
mov dword [esp + 0x88], 0x103986f0
mov dword [esp + 0x6c], ebp
lea edx, [esp + 0x64]
call fcn.1010a850
mov ebx, dword [esp + 0x58]
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov dword [eax], 0
mov byte [eax + 8], 0xb
mov edi, eax
mov al, byte [esp + 0x2e]
mov byte [esp + 2], al
movzx eax, word [esp + 0x2c]
mov word [esp], ax
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov byte [eax], 0
mov esi, eax
movzx eax, word [esp]
mov word [esi + 1], ax
mov al, byte [esp + 2]
mov byte [esi + 3], al
mov dword [esi + 4], ebx
jmp 0x10088e55
mov al, 1
jmp 0x10089169
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov dword [eax], 0
mov edi, eax
mov byte [eax + 8], 0xb
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov esi, eax
mov dword [eax], 1
mov ebx, dword [edi]
test ebx, ebx
je 0x10088e89
mov ebp, dword [edi + 4]
push ebx
call dword [ebp]
add esp, 4
cmp dword [ebp + 4], 0
je 0x10088e89
cmp dword [ebp + 8], 9
jae 0x10088e79
call sub.KERNEL32.dll_GetProcessHeap
push ebx
jmp 0x10088e81
call sub.KERNEL32.dll_GetProcessHeap
push dword [ebx - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [edi], esi
mov dword [edi + 4], 0x1039b2e8
jmp 0x10088fb6
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov ecx, str.send_stream_capacity_unexpectedly_closed
mov edx, 0x28
mov dword [eax], 0
mov edi, eax
mov byte [eax + 8], 0xb
call fcn.1004c900
mov ebx, dword [edi]
mov esi, eax
test ebx, ebx
je 0x10088fad
mov ebp, dword [edi + 4]
push ebx
call dword [ebp]
add esp, 4
cmp dword [ebp + 4], 0
je 0x10088fad
cmp dword [ebp + 8], 9
jae 0x10088f9d
call sub.KERNEL32.dll_GetProcessHeap
push ebx
jmp 0x10088fa5
cmp eax, 2
jne 0x10089295
mov ecx, esi
xor edx, edx
call fcn.1009a900
cmp dword [esi + 0x10], 1
jne 0x10089310
mov eax, dword [esi + 0x18]
push dword [esi + 0x14]
call dword [eax + 0x14]
add esp, 4
test al, al
je 0x1008931a
mov ecx, esi
call fcn.1009c700
mov edi, eax
jmp 0x10088fb6
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov dword [eax], 0
mov byte [eax + 8], 0xb
mov edi, eax
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov ecx, dword [esp + 8]
mov esi, eax
mov dword [esi + 8], ecx
movsd xmm0, qword [esp]
jmp 0x1008864a
xor edi, edi
jmp 0x10088fb6
call sub.KERNEL32.dll_GetProcessHeap
push dword [ebx - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [edi], esi
mov dword [edi + 4], 0x10397e2c
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
test esi, esi
je 0x1008984b
mov ecx, esi
call fcn.10026a90
mov eax, dword [esi]
lock dec dword [eax]
jne 0x10088fd9
mov ecx, esi
call fcn.10064ec0
mov eax, dword [esi + 0xc]
lock dec dword [eax]
jne 0x10088fe9
lea ecx, [esi + 0xc]
call fcn.100814c0
add esi, 0x10
mov ecx, esi
call fcn.100547a0
mov ebx, dword [esp + 0x7c]
mov esi, dword [ebx]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
test edi, edi
mov dword [ebx], 0
je 0x10089167
mov dword [esp + 0x64], edi
mov eax, dword [0x10551ebc]
cmp eax, 4
jb 0x10089028
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
add eax, 0xfffffffe
cmp eax, 4
jb 0x10089119
mov ecx, dword [0x104116ec]
test ecx, ecx
je 0x10089119
mov al, 1
cmp ecx, 1
je 0x10089059
cmp ecx, 2
jne 0x10089174
mov al, 2
movzx edx, al
mov ecx, 0x104116ec
call fcn.10109ff0
test al, al
je 0x10089119
mov ecx, dword [0x104116f0]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10089887
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp], 0x1039b408
mov dword [esp + 4], 1
lea ebx, [ecx + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 0x30], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea esi, [esp + 0x58]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], esi
mov esi, esp
mov dword [esp + 0x5c], 0x1003f060
mov dword [esp + 0x14], 1
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0x103986f0
mov dword [esp + 0x80], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ebx
call fcn.1010a850
mov esi, dword [esp + 0x64]
mov eax, dword [esi]
test eax, eax
je 0x10089155
mov ecx, dword [esi + 4]
push eax
call dword [ecx]
add esp, 4
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x10089155
mov esi, dword [esi]
cmp dword [eax + 8], 9
jae 0x10089145
call sub.KERNEL32.dll_GetProcessHeap
push esi
jmp 0x1008914d
call sub.KERNEL32.dll_GetProcessHeap
push dword [esi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, dword [esp + 0x64]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x104116ec
call fcn.10109f40
test al, al
jne 0x10089059
jmp 0x10089119
cmp eax, 1
je 0x100885ed
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [0x10551ebc]
cmp eax, 4
jb 0x100891a8
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
add eax, 0xfffffffe
cmp eax, 4
jb 0x10088da4
mov ecx, dword [0x1041171c]
test ecx, ecx
je 0x10088da4
mov al, 1
cmp ecx, 1
je 0x100891d9
cmp ecx, 2
jne 0x100897ba
mov al, 2
movzx edx, al
mov ecx, 0x1041171c
call fcn.10109ff0
test al, al
je 0x10088da4
mov ecx, dword [0x10411720]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10089906
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp], 0x1039b320
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea esi, [esp + 0x58]
lea edx, [esp + 0x4c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x2c]
mov edx, esp
mov dword [esp + 0x50], fcn.1001a8e0
mov dword [esp + 0x14], 1
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edx
lea esi, [esp + 0x80]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x88], 0x103986f0
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], edx
jmp 0x10088d9b
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1008980d
mov dword [eax], 0
mov esi, eax
mov word [eax + 8], 1
call sub.KERNEL32.dll_GetProcessHeap
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100898a9
mov dword [eax], ebx
mov edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x10089333
mov ebp, dword [esi + 4]
push ebx
call dword [ebp]
add esp, 4
cmp dword [ebp + 4], 0
je 0x10089333
cmp dword [ebp + 8], 9
jae 0x10089323
call sub.KERNEL32.dll_GetProcessHeap
push ebx
jmp 0x1008932b
mov ecx, 0x10411734
call fcn.10109f40
test al, al
jne 0x10088ce6
jmp 0x10088da4
cmp dword [esi + 0x18], 0
je 0x10088f2e
mov byte [esi + 0x24], 1
jmp 0x100885c6
call sub.KERNEL32.dll_GetProcessHeap
push dword [ebx - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [esi], edi
mov dword [esi + 4], 0x1039a04c
mov dword [esp + 0x48], esi
mov eax, dword [0x10551ebc]
cmp eax, 4
jb 0x1008934f
mov eax, dword [0x10551ec0]
mov eax, dword [0x10411958]
add eax, 0xfffffffe
cmp eax, 4
jb 0x10089434
mov ecx, dword [0x10411740]
test ecx, ecx
je 0x10089434
mov al, 1
cmp ecx, 1
je 0x10089380
cmp ecx, 2
jne 0x1008976c
mov al, 2
movzx edx, al
mov ecx, 0x10411740
call fcn.10109ff0
test al, al
je 0x10089434
mov ecx, dword [0x10411744]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x100898f2
mov edx, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
mov dword [esp + 0x2c], 0
mov dword [esp], 0x1039b3c0
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea esi, [esp + 0x48]
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x5c], 0x1003f060
mov dword [esp + 0x14], 1
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], edx
lea esi, [esp + 0x2c]
mov edx, esp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x54], 0x103986f0
call fcn.1010a850
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
test ecx, ecx
cmove eax, ecx
je 0x10089476
mov esi, dword [eax]
mov edi, dword [eax + 4]
push esi
call dword [edi + 0x10]
add esp, 4
xor edx, 0xe1c6426b
xor eax, 0x2b132845
or eax, edx
je 0x1008946d
push esi
call dword [edi + 0xc]
add esp, 4
mov esi, eax
mov edi, edx
test eax, eax
jne 0x10089446
jmp 0x10089476
cmp byte [esi], 0
je 0x10089744
mov dword [esp + 0x1c], 2
mov esi, dword [esp + 0x40]
mov ebp, dword [esi]
mov ecx, dword [ebp + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10089750
mov dword [esp + 0x24], 0
mov al, byte [ebp + 0xc]
lea ebx, [ebp + 8]
test al, al
jne 0x100898b3
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 8]
call fcn.100f4af0
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10089760
xor eax, eax
mov dword [esp + 0x28], ebx
lea ecx, [esi + 8]
mov dl, byte [esi + 0xc]
test dl, dl
jne 0x100898d2
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
lea eax, [ebp + 0x120]
mov dword [esp + 0x2c], edi
mov dword [esp], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 4], ecx
cmp dword [ebp + 0x158], edi
jbe 0x100897d1
mov eax, dword [ebp + 0x150]
imul ebx, edi, 0xf0
cmp dword [eax + ebx], 1
jne 0x100897d1
cmp dword [eax + ebx + 0x30], ecx
jne 0x100897d1
lea ecx, [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x44], ecx
lea ecx, [esi + 0x10]
lea esi, [ebp + 0x168]
mov dword [esp + 0x98], ecx
mov ecx, dword [eax + ebx + 8]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x9c], eax
lea ecx, [ebp + 0xa0]
lea eax, [ebp + 0x108]
push eax
push esi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0xa4]
call fcn.1009be70
add esp, 0x10
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x2c]
mov dword [esp + 0x44], esi
push esi
call fcn.10022770
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], ebp
cmp dword [ebp + 0x158], edi
jbe 0x10089804
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x150]
cmp dword [eax + ebx], 1
jne 0x10089804
cmp dword [eax + ebx + 0x30], ecx
jne 0x10089804
mov ecx, dword [eax + ebx + 0xcc]
mov edx, dword [eax + ebx + 0xc8]
mov dword [eax + ebx + 0xcc], 0
test ecx, ecx
je 0x100895ff
push edx
call dword [ecx + 4]
add esp, 4
mov ecx, dword [esp + 0x74]
xor eax, eax
movsd xmm0, qword [esp + 0x2c]
mov edx, esp
xor ecx, 1
movsd qword [esp], xmm0
or ecx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x44]
sete al
push eax
call fcn.10019210
add esp, 4
cmp byte [esp + 0x78], 0
mov edi, dword [esp + 0x28]
jne 0x1008964c
mov eax, dword [0x10551f14]
test eax, eax
jne 0x10089783
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov eax, dword [0x10551f24]
test eax, eax
jne 0x10089679
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 0x1008968e
mov eax, dword [esi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
jmp 0x100896b8
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x100896b5
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push esi
call eax
cmp byte [esp + 0x24], 0
jne 0x100896cc
mov eax, dword [0x10551f14]
test eax, eax
jne 0x100897a0
mov esi, dword [edi]
mov eax, dword [0x10551f24]
test eax, eax
jne 0x100896f5
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 0x10089711
mov eax, dword [esi]
mov byte [eax + 0x18], 0
push eax
call sub.KERNEL32.dll_LeaveCriticalSection
mov edi, dword [esp + 0x48]
jmp 0x10088fb6
mov eax, dword [0x10551f3c]
test eax, eax
jne 0x10089738
mov ecx, str.ReleaseSRWLockExclusive
mov edx, 0x17
call fcn.100f2fc0
test eax, eax
mov eax, 0x100f51d0
cmovne eax, edx
mov dword [0x10551f3c], eax
push esi
call eax
mov edi, dword [esp + 0x48]
jmp 0x10088fb6
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
jmp 0x1008947e
call fcn.100faaa0
xor al, 1
mov dword [esp + 0x24], eax
jmp 0x100894a1
call fcn.100faaa0
xor al, 1
jmp 0x100894d3
mov ecx, 0x10411740
call fcn.10109f40
test al, al
jne 0x10089380
jmp 0x10089434
call fcn.100faaa0
test al, al
jne 0x1008964c
mov eax, dword [esp + 0x94]
mov byte [eax + 0xc], 1
jmp 0x1008964c
call fcn.100faaa0
test al, al
jne 0x100896cc
mov eax, dword [esp + 0x1c]
mov byte [eax + 0xc], 1
jmp 0x100896cc
mov ecx, 0x1041171c
call fcn.10109f40
test al, al
jne 0x100891d9
jmp 0x10088da4
mov ecx, esp
call fcn.10019170
ud2
mov dword [esp], ecx
mov ecx, 0x103c93eb
mov edx, 0x2b
mov byte [esp + 4], al
push 0x1039b2b0
push 0x1039992c
lea eax, [esp + 8]
push eax
call fcn.1000aa20
add esp, 0xc
ud2
mov ecx, esp
call fcn.100191c0
ud2
mov ecx, 0xc
mov edx, 4
call fcn.100067d0
ud2
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov ecx, 0x103c93eb
mov edx, 0x2b
mov byte [esp + 4], al
push 0x1039b2a0
jmp 0x100897f0
mov ecx, 0x10398dbc
mov edx, 0x36
push 0x10398df4
jmp 0x10089864
mov eax, dword [esp + 0x7c]
mov ecx, 0x103c9a4f
mov edx, 0x28
mov dword [eax], 0
push 0x10398e5c
call fcn.1004d820
add esp, 4
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b3b0
call fcn.1000a9c0
add esp, 4
ud2
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b410
jmp 0x1008987d
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b3f8
jmp 0x1008987d
mov ecx, 4
jmp 0x10089812
mov eax, dword [esp + 0x24]
mov ecx, 0x103c93eb
mov edx, 0x2b
mov dword [esp], ebx
mov byte [esp + 4], al
push 0x1039b3d8
jmp 0x100897f0
mov dword [esp], ecx
mov ecx, 0x103c93eb
mov edx, 0x2b
mov byte [esp + 4], al
push 0x1039b3e8
push 0x10399d24
jmp 0x100897f5
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b3c8
jmp 0x1008987d
mov ecx, 0x103986bd
mov edx, 0x22
push 0x1039b390
jmp 0x1008987d