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

Disassembly:
push 0xffffffffffffffff
push 0xb0d274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x10], 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x2c]
xor ebp, ebp
sar eax, 2
mov dword [esp + 0x88], 1
test eax, eax
je 0x9da17f
mov bl, 2
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x14]
push eax
call edx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], bl
call fcn.009e6980
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 1
cmp eax, edi
je 0x9da155
mov ecx, eax
or edx, 0xffffffff
add eax, 4
lock xadd dword [eax], edx
cmp edx, 1
jne 0x9da155
cmp ecx, edi
je 0x9da155
mov eax, dword [ecx]
push edx
mov edx, dword [eax]
call edx
mov eax, dword [esp + 0x24]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
add eax, 3
and eax, 0xfffffffc
add dword [esp + 0x10], eax
inc ebp
sar ecx, 2
mov dword [esp + 0x14], edi
cmp ebp, ecx
jb 0x9da106
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
mov edx, dword [esi + 0x30]
sub edx, dword [esi + 0x2c]
xor ebp, ebp
sar edx, 2
mov byte [esp + 0x88], 3
test edx, edx
je 0x9da25c
jmp 0x9da1b0
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x64]
push eax
call edx
mov eax, dword [ebx + ebp*4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x74]
push 0x18
lea edx, [esp + 0x34]
mov dword [esp + 0x48], ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x90], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.009be740
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x9da20b
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.009be740
mov edx, dword [esp + 0x44]
neg edx
push edi
and edx, 3
push edx
lea ecx, [esp + 0x50]
call fcn.009c6b00
cmp dword [esp + 0x78], 0x10
mov byte [esp + 0x88], 3
jb 0x9da24a
mov eax, dword [esp + 0x64]
push eax
call fcn.009ee38e
add esp, 4
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x9da1b0
mov edx, dword [esp + 0x58]
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], edx
call fcn.009be740
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x58]
push 0x14
call fcn.009ee354
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x88], 5
cmp eax, edi
je 0x9da2b0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ebx
mov dword [ecx], edi
push edi
mov ecx, eax
call fcn.009da860
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x9da2b6
mov dword [esp + 0x10], edi
mov ebx, edi
mov byte [esp + 0x88], 3
cmp ebx, edi
je 0x9da2ce
lea ecx, [ebx + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov ebp, dword [ebx + 8]
mov dword [ebp], 0x42a14e65
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x2c]
add ebp, 4
sar eax, 2
test eax, eax
je 0x9da324
jmp 0x9da2f0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + edi*4]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push ebx
push eax
push ebp
call fcn.00aedf50
mov edx, dword [esi + 0x30]
sub edx, dword [esi + 0x2c]
add ebx, 3
and ebx, 0xfffffffc
inc edi
sar edx, 2
add esp, 0xc
add ebp, ebx
cmp edi, edx
jb 0x9da2f0
mov ebx, dword [esp + 0x10]
xor edi, edi
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x9da333
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x58]
push ecx
push eax
push ebp
call fcn.00aedf50
mov esi, dword [esp + 0x9c]
lea eax, [ebx + 4]
add esp, 0xc
mov dword [esi], ebx
mov edx, eax
mov ecx, 1
lock xadd dword [edx], ecx
mov dword [esp + 0x1c], 1
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x9da376
mov eax, dword [ebx]
push edx
mov edx, dword [eax]
mov ecx, ebx
call edx
cmp dword [esp + 0x5c], 0x10
jb 0x9da38a
mov eax, dword [esp + 0x48]
push eax
call fcn.009ee38e
add esp, 4
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
mov byte [esp + 0x88], 0
cmp ebp, edi
je 0x9da407
mov ebx, dword [esp + 0x24]
mov esi, ebp
cmp ebp, ebx
je 0x9da3df
mov ecx, dword [esi]
cmp ecx, edi
je 0x9da3d6
or edx, 0xffffffff
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x9da3d6
cmp ecx, edi
je 0x9da3d6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
add esi, 4
cmp esi, ebx
jne 0x9da3b5
push ebp
call fcn.009ee38e
mov eax, dword [esp + 0x94]
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4
mov ecx, dword [esp + 0x80]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret 4