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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.100746c0
cmp dword [ebx + 0x100c], 0
mov esi, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
jne 0x10076876
cmp dword [ebp + 0x100c], 0
jne 0x10076861
push esi
push 0
push dword [esp + 0xa8]
mov ecx, ebp
call fcn.10074890
test byte [esi], 8
jne 0x1007686e
mov eax, dword [ebp + 0x1010]
jmp 0x10076870
xor eax, eax
mov dword [ebx + 0x1010], eax
test byte [esi], 8
jne 0x100775a2
cmp dword [ebx + 0x1030], 0
push edi
mov edi, dword [esp + 0xa8]
je 0x100768c7
cmp edi, dword [ebx + 0x1010]
ja 0x100768c7
cmp dword [ebx + 0x1008], 0
jne 0x100775a1
mov ecx, dword [ebx + 0x1018]
test ecx, ecx
je 0x100768c7
mov eax, 0x80c121b3
mul edi
shr edx, 0xb
push edx
call fcn.100747e0
test eax, eax
jne 0x100775a1
cmp dword [ebp + 0x100c], 0
jne 0x100768e1
push esi
push 0
push dword [esp + 0xac]
mov ecx, ebp
call fcn.10074890
test byte [esi], 8
jne 0x100775a1
push esi
push dword [esp + 0xa8]
mov ecx, ebp
call fcn.10074f70
test byte [esi], 8
jne 0x100775a1
cmp edi, 0xee8
ja 0x100769a2
cmp dword [ebx + 0x1008], 0
je 0x100769a2
mov eax, dword [ebx + 0x1010]
cmp eax, 0xee8
ja 0x100769a2
cmp dword [ebx + 0x1030], 0
je 0x10076968
cmp edi, eax
jb 0x1007694d
sub edi, eax
add eax, 4
push edi
add eax, ebx
push 0
push eax
call fcn.10117f50
add esp, 0xc
jmp 0x10077588
push 1
push 0xfffffc15
mov ecx, esi
call fcn.10063120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
push esi
push eax
lea eax, [ebx + 4]
mov ecx, ebp
push eax
push dword [esp + 0xb0]
call fcn.10074800
cmp edi, eax
jbe 0x10076993
sub edi, eax
add eax, 4
push edi
add eax, ebx
push 0
push eax
call fcn.10117f50
add esp, 0xc
mov dword [ebx + 0x1008], 1
jmp 0x10077588
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0xff
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], 0xff
mov dword [esp + 0x54], 0
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0x1030], ecx
je 0x10076a81
cmp dword [ebx + 0x1008], ecx
je 0x10076a19
push esi
push dword [ebx + 0x1010]
lea eax, [ebx + 4]
mov ecx, ebx
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xb4]
call fcn.100741c0
mov edi, dword [ebx + 0x1010]
mov dword [esp + 0x18], edi
jmp 0x10076d7f
mov ecx, dword [ebx + 0x1018]
mov eax, 0x80c121b3
mul edi
mov edi, edx
shr edi, 0xb
test ecx, ecx
je 0x10076a76
push 0
call fcn.100747e0
test eax, eax
je 0x10076a76
test edi, edi
je 0x10076a59
mov edi, edi
mov ecx, dword [ebx + 0x1018]
cmp edi, dword [ecx + 4]
jge 0x10076a56
push edi
call fcn.1004de50
cmp dword [eax], 0
jne 0x10076a59
dec edi
jne 0x10076a40
lea eax, [edi + 1]
imul edi, eax, 0xfe8
mov eax, dword [ebx + 0x1010]
cmp eax, edi
cmovb edi, eax
mov dword [esp + 0x18], edi
jmp 0x10076d7f
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x10076d7f
cmp dword [ebp + 0x1008], ecx
je 0x10076abf
push esi
push dword [ebp + 0x1010]
lea eax, [ebp + 4]
mov ecx, ebx
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xb4]
call fcn.100741c0
test byte [esi], 8
jne 0x10076d7b
mov ecx, dword [ebp + 0x1010]
mov dword [esp + 0x18], ecx
jmp 0x10076d6c
lea ecx, [esp + 0x7c]
xor edi, edi
call fcn.100573f0
test byte [esi], 8
jne 0x10076d5a
jmp 0x10076ae0
mov ecx, dword [ebx + 0x1018]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x10076b3f
cmp edi, dword [ecx + 4]
jge 0x10076b3f
push edi
call fcn.1004de50
cmp dword [eax], 0
je 0x10076b3f
mov ecx, dword [ebx + 0x1018]
mov dword [esp + 0x14], 0
cmp edi, dword [ecx + 4]
jl 0x10076b27
push esi
xor ebp, ebp
lea eax, [esp + 0x40]
push ebp
push eax
mov ecx, ebx
call fcn.10075cf0
jmp 0x10076b6e
push edi
call fcn.1004de50
push esi
mov ecx, ebx
mov ebp, dword [eax]
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.10075cf0
jmp 0x10076b6e
push esi
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 1
push eax
push dword [esp + 0xac]
mov ecx, ebx
xor ebp, ebp
call fcn.10073f70
test byte [esi], 8
mov eax, ebp
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x20], eax
test byte [esi], 8
jne 0x10076c0c
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1018]
cmp edi, dword [ecx + 4]
jl 0x10076b8d
xor ecx, ecx
jmp 0x10076b9c
push edi
call fcn.1004de50
mov ecx, dword [eax]
mov eax, dword [esp + 0xac]
push esi
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.10075d80
test byte [esi], 8
jne 0x10076c0c
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1018]
cmp edi, dword [ecx + 4]
jl 0x10076bc8
xor eax, eax
jmp 0x10076bd0
push edi
call fcn.1004de50
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x84]
call fcn.10061a50
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x10076c10
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
push eax
lea eax, [edi + 1]
push eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x1018]
call fcn.1004def0
mov eax, dword [esp + 0x2c]
test byte [esi], 8
jne 0x10076c5a
cmp dword [esp + 0x14], 0
lea ecx, [esp + 0x3c]
push dword [esp + 0x30]
push eax
je 0x10076c40
call fcn.100615f0
mov ebp, eax
test ebp, ebp
jne 0x10076c46
push 1
push 0xfffffc0c
mov ecx, esi
call fcn.10063120
jmp 0x10076c46
push ebp
call fcn.10061bc0
test byte [esi], 8
jne 0x10076c5a
push dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
call fcn.100794a0
jmp 0x10076c9e
cmp dword [esp + 0x20], 0
je 0x10076c9e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], 1
test eax, eax
je 0x10076c76
mov eax, dword [eax + 0xc]
jmp 0x10076c78
xor eax, eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebx + 0x1038]
push 1
push eax
call fcn.1008ed20
test dword [esp + 0x58], 0xfffffffe
je 0x10076c9e
lea ecx, [esp + 0x58]
call fcn.10062fa0
test byte [esi], 8
jne 0x10076d2e
test edi, edi
je 0x10076d01
mov ecx, dword [ebx + 0x1018]
lea eax, [edi - 1]
cmp eax, dword [ecx + 4]
jl 0x10076cbd
xor eax, eax
jmp 0x10076cc5
push eax
call fcn.1004de50
mov eax, dword [eax]
push esi
push eax
mov dword [esp + 0x1c], eax
mov ecx, ebx
lea eax, [esp + 0x44]
push eax
call fcn.10075cf0
test byte [esi], 8
jne 0x10076d2e
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
call fcn.10061a50
mov eax, dword [esp + 0x34]
mov dword [eax], ebp
push dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
call fcn.100794a0
test byte [esi], 8
jne 0x10076d2e
mov ecx, dword [ebx + 0x1018]
lea eax, [esp + 0x14]
push esi
push eax
push edi
mov dword [esp + 0x20], ebp
call fcn.1004def0
mov ebp, dword [esp + 0x18]
inc edi
add ebp, 0xfffffffc
add ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
jmp 0x10076d32
mov ebp, dword [esp + 0x18]
test byte [esi], 8
jne 0x10076d53
cmp ebp, dword [esp + 0xa8]
jae 0x10076d53
mov eax, dword [esp + 0xac]
cmp ebp, dword [eax + 0x1010]
jb 0x10076ae0
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x10076d6c
add eax, 0x4c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
test byte [esi], 8
jne 0x10076d7b
mov dword [ebx + 0x1008], 0
mov edi, dword [esp + 0x18]
test byte [esi], 8
mov eax, dword [esp + 0xa8]
jne 0x10077576
cmp edi, eax
jae 0x100771c4
cmp edi, dword [ebp + 0x1010]
jae 0x100771c4
cmp edi, dword [ebx + 0x1010]
jae 0x100771c4
mov ecx, dword [ebx + 0x1018]
mov eax, 0x80c121b3
mul edi
mov dword [esp + 0x20], 1
mov ebp, edx
shr ebp, 0xb
push ebp
call fcn.100747e0
test eax, eax
jne 0x10076de8
mov ecx, dword [esp + 0xac]
push esi
push ebp
push dword [esp + 0xac]
call fcn.10075110
test byte [esi], 8
jne 0x100771bd
mov eax, dword [esp + 0xa8]
cmp edi, eax
jae 0x100771c4
mov eax, dword [esp + 0xac]
cmp edi, dword [eax + 0x1010]
jae 0x100771bd
mov ecx, dword [ebx + 0x1018]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0xff
mov dword [esp + 0x8c], 8
mov dword [esp + 0x90], 0xff
mov dword [esp + 0x94], 0
test ecx, ecx
je 0x10076ea4
cmp ebp, dword [ecx + 4]
jge 0x10076ea4
push ebp
call fcn.1004de50
cmp dword [eax], 0
je 0x10076ea4
mov ecx, dword [ebx + 0x1018]
push ebp
mov dword [esp + 0x18], 0
call fcn.100747e0
push esi
push eax
mov dword [esp + 0x18], eax
mov ecx, ebx
lea eax, [esp + 0x44]
push eax
call fcn.10075cf0
jmp 0x10076ee3
push esi
lea eax, [esp + 0x40]
mov dword [esp + 0x18], 1
push eax
push dword [esp + 0xac]
mov ecx, ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
call fcn.10073f70
test byte [esi], 8
mov ecx, 1
mov eax, dword [esp + 0x24]
cmove eax, ecx
mov dword [esp + 0x24], eax
test byte [esi], 8
jne 0x10076f81
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1018]
cmp ebp, dword [ecx + 4]
jl 0x10076f02
xor ecx, ecx
jmp 0x10076f11
push ebp
call fcn.1004de50
mov ecx, dword [eax]
mov eax, dword [esp + 0xac]
push esi
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.10075d80
test byte [esi], 8
jne 0x10076f81
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1018]
cmp ebp, dword [ecx + 4]
jl 0x10076f3d
xor eax, eax
jmp 0x10076f45
push ebp
call fcn.1004de50
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x84]
call fcn.10061a50
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test eax, eax
je 0x10076f85
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push esi
push eax
lea eax, [ebp + 1]
push eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x1018]
call fcn.1004def0
mov ecx, dword [esp + 0x34]
test byte [esi], 8
jne 0x100770bc
mov eax, dword [ebx + 0x1010]
mov edx, 0xfe8
sub eax, edi
cmp eax, edx
cmovb edx, eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], edx
je 0x10077032
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.10061a50
mov edi, dword [esp + 0x30]
mov eax, 0xfe8
mov ecx, dword [esp + 0x28]
add edi, 0xfffffffc
sub eax, edi
cmp ecx, eax
cmovae ecx, eax
lea eax, [edi + 4]
add eax, ecx
mov dword [esp + 0x28], ecx
push eax
push 1
push dword [esp + 0x18]
lea ecx, [esp + 0x48]
call fcn.10061d60
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.10061a50
mov eax, dword [esp + 0x34]
push dword [esp + 0x28]
add eax, 4
add eax, edi
push eax
mov eax, dword [esp + 0x34]
add eax, 4
add eax, edi
push eax
call fcn.101180b0
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x20], 0
jmp 0x100770a8
cmp dword [esp + 0x14], 0
lea eax, [edx + 4]
push eax
push ecx
lea ecx, [esp + 0x44]
je 0x10077061
call fcn.100615f0
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1007706e
push 1
push 0xfffffc0c
mov ecx, esi
call fcn.10063120
jmp 0x1007706a
push dword [esp + 0x18]
call fcn.10061bc0
mov ecx, dword [esp + 0x10]
test byte [esi], 8
jne 0x100770bc
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
cmp edx, dword [eax + 0x1010]
jb 0x100770a8
lea eax, [esp + 0x98]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.10061a50
mov eax, dword [esp + 0x98]
mov dword [eax], 0
test byte [esi], 8
jne 0x100770bc
push dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
call fcn.100794a0
jmp 0x10077100
cmp dword [esp + 0x24], 0
je 0x10077100
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], 1
test eax, eax
je 0x100770d8
mov eax, dword [eax + 0xc]
jmp 0x100770da
xor eax, eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebx + 0x1038]
push 1
push eax
call fcn.1008ed20
test dword [esp + 0x58], 0xfffffffe
je 0x10077100
lea ecx, [esp + 0x58]
call fcn.10062fa0
test byte [esi], 8
jne 0x100771a2
test ebp, ebp
je 0x1007717a
mov ecx, dword [ebx + 0x1018]
lea eax, [ebp - 1]
push eax
call fcn.100747e0
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.100573f0
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.10075cf0
test byte [esi], 8
jne 0x10077168
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.10061a50
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
call fcn.100794a0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1007717a
add eax, 0x4c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
test byte [esi], 8
jne 0x100771a2
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1018]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push esi
push eax
push ebp
call fcn.1004def0
inc ebp
add edi, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x100771b4
add eax, 0x4c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
test byte [esi], 8
je 0x10076df1
mov eax, dword [esp + 0xa8]
test byte [esi], 8
jne 0x10077576
cmp edi, eax
jae 0x10077576
mov eax, 0x80c121b3
mov dword [esp + 0x2c], 1
mul edi
push 0xfec
mov ebp, edx
lea eax, [ebx + 4]
push 0
shr ebp, 0xb
push eax
mov dword [esp + 0x2c], ebp
call fcn.10117f50
add esp, 0xc
test byte [esi], 8
jne 0x10077576
lea eax, [ebp - 1]
mov dword [esp + 0x14], eax
imul eax, ebp, 0xfe8
mov dword [esp + 0x28], eax
lea ebx, [ebx]
cmp edi, dword [esp + 0xa8]
jae 0x10077576
mov ecx, dword [ebx + 0x1018]
xor edi, edi
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x1007727b
cmp ebp, dword [ecx + 4]
jge 0x1007727b
push ebp
call fcn.1004de50
cmp dword [eax], edi
je 0x1007727b
mov ecx, dword [ebx + 0x1018]
mov dword [esp + 0x24], edi
cmp ebp, dword [ecx + 4]
jl 0x1007725f
xor ebp, ebp
jmp 0x10077267
push ebp
call fcn.1004de50
mov ebp, dword [eax]
push esi
push ebp
lea eax, [esp + 0x44]
mov dword [esp + 0x18], ebp
push eax
mov ecx, ebx
call fcn.10075cf0
jmp 0x100772b2
push esi
lea eax, [esp + 0x40]
mov dword [esp + 0x28], 1
push eax
push dword [esp + 0xac]
xor ebp, ebp
mov dword [esp + 0x38], edi
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.10073f70
test byte [esi], 8
mov eax, edi
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x1c], eax
test byte [esi], 8
jne 0x10077426
mov eax, dword [esp + 0xa8]
mov edi, 0xfe8
mov ecx, dword [esp + 0x18]
sub eax, ecx
cmp eax, edi
cmovb edi, eax
cmp dword [esp + 0x2c], 0
je 0x100773f2
sub ecx, dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ebp
call fcn.10061a50
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
lea ebp, [ecx - 4]
cmp ebp, eax
jbe 0x1007736b
test eax, eax
je 0x1007736b
sub ebp, eax
lea eax, [ebx + 4]
push ecx
push dword [esp + 0x38]
cmp edi, ebp
push eax
cmovae edi, ebp
call fcn.101180b0
mov ebp, dword [esp + 0x30]
push edi
push 0
lea eax, [ebp + 8]
add eax, ebx
push eax
call fcn.10117f50
add esp, 0x18
mov dword [ebx + 4], 0
lea eax, [ebp + 4]
mov ebp, dword [esp + 0x10]
add eax, edi
lea ecx, [ebx + 4]
push eax
push ecx
push ebp
lea ecx, [esp + 0x48]
call fcn.10061bc0
test eax, eax
jne 0x1007742a
push 1
push 0xfffffc0c
mov ecx, esi
call fcn.10063120
jmp 0x1007742a
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 0x1010]
jb 0x10077384
mov eax, dword [esp + 0x28]
xor edx, edx
add eax, ebp
cmp eax, ecx
cmovne ebp, edx
mov eax, 0xfe8
lea ecx, [esp + 0x3c]
sub eax, ebp
cmp edi, eax
cmovae edi, eax
lea eax, [edi + ebp]
mov dword [esp + 0x2c], eax
add eax, 4
push eax
push 1
push dword [esp + 0x18]
call fcn.10061d60
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.10061a50
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x34]
mov dword [eax], 0
jne 0x100773d3
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov eax, dword [esp + 0x34]
push edi
add eax, 4
add eax, ebp
push 0
push eax
call fcn.10117f50
add esp, 0xc
mov dword [esp + 0x2c], 0
jmp 0x10077426
cmp dword [esp + 0x24], 0
lea eax, [edi + 4]
push eax
lea eax, [ebx + 4]
lea ecx, [esp + 0x40]
push eax
je 0x10077420
call fcn.100615f0
mov ebp, eax
test ebp, ebp
jne 0x1007742a
push 1
push 0xfffffc0c
mov ecx, esi
call fcn.10063120
jmp 0x1007742a
push ebp
call fcn.10061bc0
mov ebp, dword [esp + 0x10]
test byte [esi], 8
jne 0x1007743e
push dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
call fcn.100794a0
jmp 0x10077482
cmp dword [esp + 0x1c], 0
je 0x10077482
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], 1
test eax, eax
je 0x1007745a
mov eax, dword [eax + 0xc]
jmp 0x1007745c
xor eax, eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [ebx + 0x1038]
push 1
push eax
call fcn.1008ed20
test dword [esp + 0x58], 0xfffffffe
je 0x10077482
lea ecx, [esp + 0x58]
call fcn.10062fa0
test byte [esi], 8
jne 0x10077565
cmp dword [esp + 0x20], 0
je 0x1007752f
mov ecx, dword [ebx + 0x1018]
mov eax, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jl 0x100774a9
xor eax, eax
jmp 0x100774b1
push eax
call fcn.1004de50
mov eax, dword [eax]
push esi
push eax
mov dword [esp + 0x24], eax
mov ecx, ebx
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
push eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0xff
mov dword [esp + 0x74], 8
mov dword [esp + 0x78], 0xff
mov dword [esp + 0x7c], 0
call fcn.10075cf0
test byte [esi], 8
jne 0x1007751d
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x60]
call fcn.10061a50
mov eax, dword [esp + 0x74]
mov dword [eax], ebp
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
call fcn.100794a0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1007752f
add eax, 0x4c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
test byte [esi], 8
jne 0x10077565
mov ecx, dword [ebx + 0x1018]
lea eax, [esp + 0x1c]
push esi
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
push eax
push ebp
call fcn.1004def0
add dword [esp + 0x28], 0xfe8
inc ebp
inc dword [esp + 0x14]
add dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
jmp 0x10077569
mov ebp, dword [esp + 0x20]
test byte [esi], 8
mov edi, dword [esp + 0x18]
je 0x10077220
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10077588
add eax, 0x4c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
test byte [esi], 8
jne 0x100775a1
mov dword [ebx + 0x100c], 1
mov dword [ebx + 0x1030], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10