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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x100762f2
mov dword [ebx], edx
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x14], ecx
ja 0x10076661
jb 0x1007630c
cmp dword [edi + 0x10], eax
jae 0x10076661
sub eax, dword [edi + 0x10]
mov esi, dword [ebp + 0x10]
sbb ecx, dword [edi + 0x14]
cmp edx, ecx
jb 0x10076321
ja 0x1007631f
cmp esi, eax
jbe 0x10076321
mov esi, eax
test esi, esi
je 0x10076661
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x38]
call fcn.100e0030
mov ecx, dword [edi + 0x38]
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], edx
inc eax
mov dword [ebp - 0x24], ebx
shl eax, cl
mov ecx, eax
mov dword [ebp - 0x20], eax
lea edx, [eax - 1]
and edx, dword [edi + 0x10]
sub ecx, edx
mov dword [ebp - 0x1c], edx
cmp esi, ecx
cmova esi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], esi
cmp ebx, dword [edi + 0x58]
jne 0x10076370
cmp ecx, dword [edi + 0x5c]
je 0x100765ad
mov edx, ecx
mov eax, ebx
mov ecx, dword [edi + 0x3c]
call fcn.100e0030
mov ecx, eax
test edx, edx
ja 0x10076640
jb 0x10076391
cmp ecx, dword [edi + 0x4c]
jae 0x10076640
mov eax, dword [edi + 0x48]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0
je 0x10076640
mov ecx, dword [edi + 0x3c]
xor edx, edx
mov eax, dword [eax]
inc edx
shl edx, cl
dec edx
and edx, ebx
mov ebx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
bswap eax
bswap ebx
mov dword [ebp + 8], eax
or eax, ebx
je 0x10076640
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
and eax, ebx
and ecx, dword [ebp + 8]
or ecx, eax
je 0x100765d3
cmp dword [edi + 0xa4], 1
jbe 0x100765c9
mov eax, dword [ebp + 8]
and ebx, 0x3fffffff
push 0x46
pop esi
sub esi, dword [edi + 0x38]
mov edx, ebx
mov ecx, esi
call fcn.100e0030
inc eax
xor ecx, ecx
xor edx, edx
shl eax, 9
bts ecx, esi
mov dword [ebp - 0x18], eax
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
mov esi, dword [ebp + 8]
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
and ebx, edx
lea ecx, [edi + 0x78]
mov edx, esi
mov dword [ebp - 4], ecx
and edx, 0xfffffe00
mov eax, edx
mov dword [ebp - 0x1c], edx
sub eax, dword [edi + 0x70]
mov dword [ebp + 8], eax
mov eax, ebx
sbb eax, dword [edi + 0x74]
mov dword [ebp - 0xc], eax
cmp ebx, dword [edi + 0x74]
jb 0x1007649e
ja 0x10076454
cmp edx, dword [edi + 0x70]
jb 0x1007649e
cmp dword [ebp - 0xc], 0
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
ja 0x1007649e
jb 0x10076466
cmp dword [ebp + 8], eax
jae 0x1007649e
mov eax, dword [ebp + 8]
or eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
je 0x10076497
mov edx, dword [ebp + 8]
sub eax, edx
mov dword [ecx], eax
mov ecx, dword [edi + 0x68]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.100e3770
mov eax, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], ebx
mov eax, dword [eax]
add edx, eax
adc ebx, 0
jmp 0x100764aa
and dword [ecx], 0
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], ebx
mov dword [ebp - 4], ecx
cmp edx, dword [edi + 0x18]
jne 0x100764b4
cmp ebx, dword [edi + 0x1c]
je 0x100764c5
push ebx
push edx
mov ecx, edi
call fcn.1007680f
test eax, eax
jne 0x10076663
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x6c], eax
jb 0x100765c9
mov ebx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebx]
sub eax, ecx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x68]
lea edx, [ecx + eax]
mov ecx, dword [edi + 0x28]
call fcn.100b9e25
test eax, eax
jne 0x10076663
mov eax, dword [ebp - 0x14]
add dword [edi + 0x18], eax
adc dword [edi + 0x1c], 0
cmp eax, dword [ebp + 8]
jne 0x100765c9
add dword [ebx], eax
and esi, 0x1ff
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov ecx, dword [edi + 0x88]
sub eax, esi
push ebx
push eax
mov eax, dword [edi + 0x68]
add eax, esi
push eax
call fcn.10031952
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov esi, dword [ebp - 0x20]
cmp dword [edi + 0x64], esi
jb 0x100765c9
mov ecx, dword [edi + 0x90]
lea edx, [ebp - 0x2c]
mov eax, dword [edi + 0x60]
push ebx
push edx
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], esi
mov eax, dword [edi + 0x98]
push ebx
push dword [edi + 0x94]
mov dword [ebp - 0x2c], esi
push dword [edi + 0x8c]
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10076663
mov eax, dword [edi + 0x98]
cmp dword [eax + 0xca0], 0xffffffff
jne 0x100765c1
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x10], esi
jne 0x100765c1
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp + 0x10]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x5c], eax
jmp 0x10076329
mov eax, dword [edi + 0x60]
push esi
add eax, edx
push eax
push dword [ebp + 0xc]
call fcn.100e3090
jmp 0x1007664b
xor eax, eax
inc eax
jmp 0x10076663
mov eax, 0x80004005
jmp 0x10076663
mov ecx, dword [ebp + 8]
mov eax, ecx
and eax, 0x1ff
cmp eax, 1
je 0x10076640
mov eax, dword [edi + 0x40]
add eax, 0xffffffff
push 0
adc edx, 0xffffffff
and eax, ecx
and edx, ebx
add eax, dword [ebp - 0x1c]
pop ebx
adc edx, ebx
cmp eax, dword [edi + 0x18]
jne 0x10076601
cmp edx, dword [edi + 0x1c]
je 0x10076611
push edx
push eax
mov ecx, edi
call fcn.1007680f
test eax, eax
jne 0x10076663
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 0x28]
lea edx, [ebp + 0x10]
push edx
push esi
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, eax
add dword [edi + 0x18], ecx
mov eax, dword [ebp + 0x14]
adc dword [edi + 0x1c], ebx
add dword [edi + 0x10], ecx
adc dword [edi + 0x14], ebx
test eax, eax
je 0x1007663c
mov dword [eax], ecx
mov eax, edx
jmp 0x10076663
push esi
push 0
push dword [ebp + 0xc]
call fcn.100e3610
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [edi + 0x10], eax
mov ebx, dword [ebp + 0x14]
adc dword [edi + 0x14], 0
test ebx, ebx
je 0x10076661
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10