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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10077064]
xor eax, esp
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x78]
lea ebx, [ecx + 0x7ac]
push edi
imul edi, dword [ecx + 0x8f8], 0x320
mov dword [esp + 0x1c], eax
push 0x300
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebx
add edi, dword [ecx + 0x900]
mov dword [esp + 0x4c], edi
mov esi, edi
movzx eax, byte [edi + 0x31e]
shl eax, 5
add eax, 0x308
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x8d0]
xor ecx, ecx
push ecx
sub eax, 2
mov dword [esp + 0x38], ecx
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
call fcn.10058090
add esp, 0xc
cmp byte [edi + 0x300], 0
jne 0x1000719b
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x5c], xmm0
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 1]
add ecx, eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x2c]
push 0
add eax, 8
push eax
push ecx
lea eax, [ebx + 0x44]
push eax
mov eax, dword [0x100778e0]
push ebp
call eax
mov edx, dword [esp + 0x38]
mov ecx, eax
add esp, 0x18
test ecx, ecx
setg al
mov byte [edx + 1], al
mov edx, dword [esp + 0x1c]
mov byte [edx + 1], al
cmp ecx, 1
jle 0x10007172
lea eax, [esp + 0x4c]
push edi
push eax
call dword [0x1007a4bc]
add esp, 8
mov dword [esp + 0x14], ebx
mov ebp, 1
mov edx, ebx
jmp 0x100071a7
movsx ecx, word [esp + 0x4c]
add ecx, 3
sar ecx, 3
xor eax, eax
nop
mov word [edi + eax*2], cx
add eax, 0x10
cmp eax, 0x100
jl 0x10007180
mov ebp, 1
mov dword [esp + 0x14], ebx
mov edx, ebx
jmp 0x100071a7
lea edx, [ebx + 0xcc]
xor ebp, ebp
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], 4
mov al, byte [eax]
mov cl, byte [ecx]
and al, 0xf
and cl, 0xf
mov byte [esp + 0x12], al
mov byte [esp + 0x13], cl
nop dword [eax]
movzx ecx, cl
and ecx, 1
xor ebx, ebx
lea edi, [ebx + 4]
nop dword [eax + eax]
push esi
movzx eax, al
push ebp
push dword [esp + 0x30]
and eax, 1
add eax, ecx
push eax
mov eax, dword [0x100778e0]
push edx
push dword [esp + 0x4c]
call eax
mov edx, eax
xor ecx, ecx
mov al, byte [esp + 0x2a]
add esp, 0x18
cmp edx, ebp
lea ebp, [ebx*4]
setg cl
shr al, 1
mov ah, cl
shl ah, 7
or al, ah
mov byte [esp + 0x12], al
cmp edx, 3
jle 0x1000722b
mov ebx, 3
jmp 0x1000723e
xor ebx, ebx
cmp word [esi], bx
setne bl
cmp edx, 1
mov edx, 2
cmovg ebx, edx
mov edx, dword [esp + 0x14]
or ebx, ebp
mov ebp, dword [esp + 0x18]
add esi, 0x20
sub edi, 1
jne 0x100071e0
mov edx, dword [esp + 0x30]
mov cl, byte [esp + 0x13]
shl edx, 8
shr cl, 1
or edx, ebx
shr al, 4
or cl, ah
sub dword [esp + 0x24], 1
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], cl
jne 0x100071d0
mov ebp, dword [esp + 0x28]
movzx eax, al
add ebp, 0x10
mov dword [esp + 0x18], eax
movzx eax, cl
xor ecx, ecx
shr eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add eax, 0x88
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x1c]
add cl, 4
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x24], 2
mov ah, byte [eax]
mov dl, byte [edx]
shr ah, cl
shr dl, cl
mov byte [esp + 0x12], ah
mov byte [esp + 0x13], dl
nop word [eax + eax]
movzx ecx, dl
mov edi, 2
and ecx, 1
nop dword [eax + eax]
push esi
movzx eax, ah
push 0
and eax, 1
add eax, ecx
push ebp
push eax
push dword [esp + 0x54]
mov eax, dword [0x100778e0]
push dword [esp + 0x4c]
call eax
mov edx, eax
lea ebp, [ebx*4]
mov ah, byte [esp + 0x2a]
xor ecx, ecx
add esp, 0x18
test edx, edx
setg cl
shr ah, 1
mov al, cl
shl al, 3
or ah, al
mov byte [esp + 0x12], ah
cmp edx, 3
jle 0x1000733c
mov ebx, 3
jmp 0x1000734f
xor ebx, ebx
cmp word [esi], bx
setne bl
cmp edx, 1
mov edx, 2
cmovg ebx, edx
or ebx, ebp
add esi, 0x20
mov ebp, dword [esp + 0x14]
sub edi, 1
jne 0x100072f0
mov dl, byte [esp + 0x13]
shl cl, 5
shr dl, 1
shr ah, 2
or dl, cl
sub dword [esp + 0x24], 1
mov byte [esp + 0x12], ah
mov byte [esp + 0x13], dl
jne 0x100072e0
mov edi, dword [esp + 0x2c]
mov ecx, edi
shl ebx, cl
add edi, 8
mov ecx, dword [esp + 0x40]
or dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
movzx eax, ah
shl eax, 4
shl eax, cl
or ebx, eax
mov dword [esp + 0x2c], edi
movzx eax, dl
mov edx, dword [esp + 0x3c]
and eax, 0xf0
shl eax, cl
add ecx, 2
or edx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
cmp edi, 0x10
jl 0x100072b2
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov byte [eax], bl
mov eax, dword [esp + 0x20]
mov byte [eax], dl
mov edx, dword [esp + 0x34]
mov dword [esi + 0x314], ecx
mov dword [esi + 0x318], edx
test edx, 0xaaaa
je 0x100073fb
xor eax, eax
jmp 0x10007402
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
or edx, ecx
mov byte [esi + 0x31c], al
mov ecx, dword [esp + 0x6c]
neg edx
pop edi
pop esi
sbb edx, edx
pop ebp
pop ebx
xor ecx, esp
lea eax, [edx + 1]
call fcn.10056b14
add esp, 0x60
ret