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

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x68
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x10077049
mov ebp, dword [esp + 0x80]
mov ecx, dword [ebp + 0x3c]
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
test esi, esi
mov dword [esp + 0x10], esi
jle 0x10077158
jmp 0x10076f68
mov esi, dword [esp + 0x10]
mov eax, esi
cmp esi, ecx
mov dword [esp + 0x14], eax
jge 0x1007702c
sub eax, esi
mov dword [esp + 0x18], eax
js 0x10077011
lea ecx, [esi + esi*4]
lea edx, [eax + eax*4]
lea ecx, [esi + ecx*2]
shl ecx, 3
mov dword [esp + 0x1c], ecx
lea ecx, [eax + edx*2]
add eax, esi
lea ebx, [ebp + ecx*8 + 0x78]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea ebp, [ebp + eax*8 + 0x78]
mov eax, dword [ebp + 0x50]
lea ecx, [ebp + 0x28]
lea edx, [ebx + 0x28]
push ecx
mov ecx, dword [ebx + 0x50]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
call dword [esp + 0x9c]
test eax, eax
jle 0x10077011
mov ecx, 0x16
mov esi, ebx
lea edi, [esp + 0x20]
mov eax, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x16
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x16
lea esi, [esp + 0x20]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
sub eax, edi
sub ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], eax
test eax, eax
mov esi, edi
jge 0x10076fa5
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [ebp + 0x3c]
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x10076f76
mov eax, esi
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [esp + 0x10], eax
jg 0x10076f64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10
mov esi, dword [esp + 0x80]
mov edi, dword [esi + 0x3c]
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
test ecx, ecx
mov dword [esp + 0x10], ecx
jle 0x10077158
mov ebp, ecx
cmp ecx, edi
mov dword [esp + 0x14], ebp
jge 0x10077143
sub ebp, ecx
js 0x1007712f
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
shl eax, 3
mov dword [esp + 0x7c], eax
lea eax, [ebp + ebp*4]
add ecx, ebp
lea edx, [ebp + eax*2]
lea eax, [esi + edx*8 + 0x78]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
lea edx, [esi + ecx*8 + 0x78]
mov dword [esp + 0x84], edx
mov esi, dword [edx + 0x50]
mov ecx, dword [eax + 0x50]
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x100770d4
test dl, dl
je 0x100770d0
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x100770d4
add ecx, 2
add esi, 2
test dl, dl
jne 0x100770b0
xor ecx, ecx
jmp 0x100770d9
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jle 0x10077124
mov edx, dword [esp + 0x84]
mov ecx, 0x16
mov esi, eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x16
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x16
lea esi, [esp + 0x20]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x7c]
sub ebp, ecx
sub eax, esi
sub edx, esi
test ebp, ebp
mov dword [esp + 0x84], edx
jge 0x100770aa
jmp 0x10077128
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x14]
mov edi, dword [esi + 0x3c]
inc ebp
cmp ebp, edi
mov dword [esp + 0x14], ebp
jl 0x10077076
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
jg 0x10077068
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10